diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-08-30 14:22:26 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-08-30 14:22:26 +0000 |
commit | 8e94bb29ae5c33d988cba29f130ba0d0a7276b00 (patch) | |
tree | 17f3eb310a24fabe871f4f407bd2b98f6ccb270c /lib/rdoc/markup | |
parent | e80e14c7882d3955eb88d078f43822af030a1bf4 (diff) | |
download | ruby-8e94bb29ae5c33d988cba29f130ba0d0a7276b00.tar.gz |
ri now merges the documentation if it finds the same class in multiple places
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/markup')
-rw-r--r-- | lib/rdoc/markup/simple_markup/fragments.rb | 2 | ||||
-rw-r--r-- | lib/rdoc/markup/simple_markup/to_flow.rb | 13 |
2 files changed, 7 insertions, 8 deletions
diff --git a/lib/rdoc/markup/simple_markup/fragments.rb b/lib/rdoc/markup/simple_markup/fragments.rb index 83388fcc0b..6ca06382ab 100644 --- a/lib/rdoc/markup/simple_markup/fragments.rb +++ b/lib/rdoc/markup/simple_markup/fragments.rb @@ -1,5 +1,5 @@ require 'rdoc/markup/simple_markup/lines.rb' -require 'rdoc/markup/simple_markup/inline.rb' +#require 'rdoc/markup/simple_markup/to_flow.rb' module SM diff --git a/lib/rdoc/markup/simple_markup/to_flow.rb b/lib/rdoc/markup/simple_markup/to_flow.rb index 4718cfaaf6..401703a72a 100644 --- a/lib/rdoc/markup/simple_markup/to_flow.rb +++ b/lib/rdoc/markup/simple_markup/to_flow.rb @@ -23,14 +23,13 @@ module SM end class ToFlow - LIST_TYPE_TO_HTML = { - ListBase::BULLET => [ "<ul>", "</ul>" ], - ListBase::NUMBER => [ "<ol>", "</ol>" ], - ListBase::UPPERALPHA => [ "<ol>", "</ol>" ], - ListBase::LOWERALPHA => [ "<ol>", "</ol>" ], - ListBase::LABELED => [ "<dl>", "</dl>" ], - ListBase::NOTE => [ "<table>", "</table>" ], + SM::ListBase::BULLET => [ "<ul>", "</ul>" ], + SM::ListBase::NUMBER => [ "<ol>", "</ol>" ], + SM::ListBase::UPPERALPHA => [ "<ol>", "</ol>" ], + SM::ListBase::LOWERALPHA => [ "<ol>", "</ol>" ], + SM::ListBase::LABELED => [ "<dl>", "</dl>" ], + SM::ListBase::NOTE => [ "<table>", "</table>" ], } InlineTag = Struct.new(:bit, :on, :off) |