-
Notifications
You must be signed in to change notification settings - Fork 445
[DOC] Re-format section Directives #1418
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
[DOC] Re-format section Directives #1418
Conversation
doc/rdoc/markup_reference.rb
Outdated
# With argument +all+: | ||
# specifies that the class or module should not be documented. | ||
# By default, however, a nested class or module _will_ be documented. |
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.
Can you provide an example of how to use this? In the new documentation, it's not clear to me how this should be used.
doc/rdoc/markup_reference.rb
Outdated
# parameter +type+ is one of: +rdoc+ (the default), +markdown+, +rd+, +tomdoc+. | ||
# See {Markup Formats}[rdoc-ref:RDoc::Markup@Markup+Formats]. | ||
# - Appears on a line by itself. | ||
# - Takes argument +format+. |
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.
IMO we should show where the argument goes. It's not immediate clear to me how to pass arguments to RDoc directives.
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
🚀 Preview deployment available at: https://74fc9862.rdoc-6cd.pages.dev (commit: db78913) |
The goal here is to force the directive names into the left-frame TOC. I've tried to limit other changes to those needed for consistency.
This largish section needs other work, and will get it, but not in this PR.