File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ task :benchmark => [ :benchmark_parser, :benchmark_generator ]
151151
152152desc "Create RDOC documentation"
153153task :doc => [ :version , EXT_PARSER_SRC ] do
154- system "rdoc -S - o doc -m main.txt doc-templates/ main.txt lib/json.rb #{ FileList [ 'lib/json/**/*.rb' ] } #{ EXT_PARSER_SRC } #{ EXT_GENERATOR_SRC } "
154+ system "rdoc -o doc -m doc- main.txt doc-main.txt lib/json.rb #{ FileList [ 'lib/json/**/*.rb' ] } #{ EXT_PARSER_SRC } #{ EXT_GENERATOR_SRC } "
155155end
156156
157157if defined? ( Gem ) and defined? ( Rake ::GemPackageTask ) and defined? ( Rake ::ExtensionTask )
@@ -171,8 +171,7 @@ if defined?(Gem) and defined?(Rake::GemPackageTask) and defined?(Rake::Extension
171171
172172 s . has_rdoc = true
173173 s . rdoc_options <<
174- '--title' << 'JSON -- A JSON implemention' <<
175- '--main' << 'JSON' << '--line-numbers'
174+ '--title' << 'JSON -- A JSON implemention' << '--main' << 'doc-main.txt'
176175 s . test_files . concat Dir [ 'tests/*.rb' ]
177176
178177 s . author = "Florian Frank"
@@ -206,8 +205,7 @@ if defined?(Gem) and defined?(Rake::GemPackageTask) and defined?(Rake::Extension
206205
207206 s . has_rdoc = true
208207 s . rdoc_options <<
209- '--title' << 'JSON -- A JSON implemention' <<
210- '--main' << 'JSON' << '--line-numbers'
208+ '--title' << 'JSON -- A JSON implemention' << '--main' << 'doc-main.txt'
211209 s . test_files . concat Dir [ 'tests/*.rb' ]
212210
213211 s . author = "Florian Frank"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments