mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
1. Force --inline-source if --one-file given
2. Add new :section: directive which starts a new section in the output. The title following :section: is used as the section heading, and the remainder of the comment containing the section is used as introductory text. Subsequent methods, aliases, attributes, and classes will be documented in this section. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
228b72b7a0
commit
3635edac9d
7 changed files with 481 additions and 322 deletions
|
|
@ -422,6 +422,13 @@ this margin are formatted verbatim.
|
|||
|
||||
12. Comment blocks can contain other directives:
|
||||
|
||||
[<tt>:section: title</tt>]
|
||||
Starts a new section in the output. The title following
|
||||
<tt>:section:</tt> is used as the section heading, and the
|
||||
remainder of the comment containing the section is used as
|
||||
introductory text. Subsequent methods, aliases, attributes,
|
||||
and classes will be documented in this section.
|
||||
|
||||
[<tt>call-seq:</tt>]
|
||||
lines up to the next blank line in the comment are treated as
|
||||
the method's calling sequence, overriding the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue