diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rdoc/markup.rb | 31 | ||||
-rw-r--r-- | lib/rdoc/options.rb | 6 | ||||
-rw-r--r-- | lib/rdoc/task.rb | 5 | ||||
-rw-r--r-- | lib/rdoc/tom_doc.rb | 8 |
4 files changed, 24 insertions, 26 deletions
diff --git a/lib/rdoc/markup.rb b/lib/rdoc/markup.rb index 6e93030965..3c29870d8a 100644 --- a/lib/rdoc/markup.rb +++ b/lib/rdoc/markup.rb @@ -10,19 +10,24 @@ # RDoc::Markup and other markup formats do no output formatting, this is # handled by the RDoc::Markup::Formatter subclasses. # -# = Supported Formats -# -# Besides the RDoc::Markup format, the following formats are built in to RDoc: -# -# markdown:: -# The markdown format as described by -# http://daringfireball.net/projects/markdown/. See RDoc::Markdown for -# details on the parser and supported extensions. -# rd:: -# The rdtool format. See RDoc::RD for details on the parser and format. -# tomdoc:: -# The TomDoc format as described by http://tomdoc.org/. See RDoc::TomDoc -# for details on the parser and supported extensions. +# = Markup Formats +# +# +RDoc+ supports these markup formats: +# +# - +rdoc+: +# the +RDoc+ markup format; +# see RDoc::MarkupReference. +# - +markdown+: +# The +markdown+ markup format as described in +# the {Markdown Guide}[https://www.markdownguide.org]; +# see RDoc::Markdown. +# - +rd+: +# the +rd+ markup format format; +# see RDoc::RD. +# - +tomdoc+: +# the TomDoc format as described in +# {TomDoc for Ruby}[http://tomdoc.org]; +# see RDoc::TomDoc. # # You can choose a markup format using the following methods: # diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb index c8fca4a262..2631d57364 100644 --- a/lib/rdoc/options.rb +++ b/lib/rdoc/options.rb @@ -233,9 +233,9 @@ class RDoc::Options attr_accessor :main_page ## - # The default markup format. The default is 'rdoc'. 'markdown', 'tomdoc' - # and 'rd' are also built-in. - + # The markup format. + # One of: +rdoc+ (the default), +markdown+, +rd+, +tomdoc+. + # See {Markup Formats}[rdoc-ref:RDoc::Markup@Markup+Formats]. attr_accessor :markup ## diff --git a/lib/rdoc/task.rb b/lib/rdoc/task.rb index eb584c9d2a..ba697d0a93 100644 --- a/lib/rdoc/task.rb +++ b/lib/rdoc/task.rb @@ -104,9 +104,8 @@ class RDoc::Task < Rake::TaskLib attr_accessor :name ## - # Comment markup format. rdoc, rd and tomdoc are supported. (default is - # 'rdoc') - + # The markup format; one of: +rdoc+ (the default), +markdown+, +rd+, +tomdoc+. + # See {Markup Formats}[rdoc-ref:RDoc::Markup@Markup+Formats]. attr_accessor :markup ## diff --git a/lib/rdoc/tom_doc.rb b/lib/rdoc/tom_doc.rb index e161fcf42f..d10f024f70 100644 --- a/lib/rdoc/tom_doc.rb +++ b/lib/rdoc/tom_doc.rb @@ -3,13 +3,7 @@ # A parser for TomDoc based on TomDoc 1.0.0-rc1 (02adef9b5a) # -# The TomDoc specification can be found at: -# -# http://tomdoc.org -# -# The latest version of the TomDoc specification can be found at: -# -# https://github.com/mojombo/tomdoc/blob/master/tomdoc.md +# The TomDoc specification can be found at http://tomdoc.org. # # To choose TomDoc as your only default format see RDoc::Options@Saved+Options # for instructions on setting up a <code>.rdoc_options</code> file to store |