Skip to content

Commit 2a42796

Browse files
committed
renamed main doc file
1 parent 10f03df commit 2a42796

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

Rakefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ task :benchmark => [ :benchmark_parser, :benchmark_generator ]
151151

152152
desc "Create RDOC documentation"
153153
task :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}"
155155
end
156156

157157
if 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.

0 commit comments

Comments
 (0)