-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: Edit 'file-system' module #1510
Conversation
- Add graphviz extension to create a class hierarchy to file system, posix and microsoft locators. - Remove reference to 'file-stream' module. This paragraph was moved from module 'locators' and contained a reference to the module 'file-system', not needed now. - Rename key parameter 'filename'. The key parameter appears as 'filename' and in the documentation of the method as 'locator'. - To eliminate document duplication, I decided to address the issue in the paragraph discussing the 'make' method. Since it bears close resemblance to the method reference, I opted to remove the initial paragraph and provide a link to the reference instead. Additionally, I consolidated the documentation for the key parameters 'direction' and 'buffer-size' with a more comprehensive explanation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Don't let me forget to install the graphviz extension on opendylan.org!
@@ -885,19 +952,22 @@ File-System module. | |||
instantiated, this method calls the generic function | |||
:gf:`type-for-file-stream`. | |||
|
|||
The *filename* init-keyword should be a string naming a file. If | |||
The *locator* init-keyword should be a string naming a file. If | |||
the :doc:`Locators <../system/locators>` library is in use, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pre-existing: "library" here should be "module"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I don't think we need to conditionalize this at all. Why not just say "The locator argument should be a :class:`<file-locator>`
or a :drm:`<string>`
that can be coerced to one.
- Add graphviz extension to create a class hierarchy to file system, posix and microsoft locators. - Remove reference to 'file-stream' module. This paragraph was moved from module 'locators' and contained a reference to the module 'file-system', not needed now. - Rename key parameter 'filename'. The key parameter appears as 'filename' and in the documentation of the method as 'locator'. - To eliminate document duplication, I decided to address the issue in the paragraph discussing the 'make' method. Since it bears close resemblance to the method reference, I opted to remove the initial paragraph and provide a link to the reference instead. Additionally, I consolidated the documentation for the key parameters 'direction' and 'buffer-size' with a more comprehensive explanation.
Add graphviz extension to create a class hierarchy to file system, posix and microsoft locators.
Remove reference to 'file-stream' module. This paragraph was moved from module 'locators' and contained a reference to the module 'file-system', not needed now.
Rename key parameter 'filename'. The key parameter appears as 'filename' and in the documentation of the method as 'locator'.
To eliminate document duplication, I decided to address the issue in the paragraph discussing the 'make' method. Since it bears close resemblance to the method reference, I opted to remove the initial paragraph and provide a link to the reference instead. Additionally, I consolidated the documentation for the key parameters 'direction' and 'buffer-size' with a more comprehensive explanation.