summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2009-08-24 18:05:06 +0200
committerFlorian Frank <flori@ping.de>2009-08-24 18:05:06 +0200
commit2a42796947a34fc3738acc2c3daa2122a184d7ce (patch)
tree9ab6f782d4affc480effd2b9fe2b636dabb3dd9d
parent10f03df1f6a54edaae86e87e1fd7d9a6a6a319f1 (diff)
downloadjson-2a42796947a34fc3738acc2c3daa2122a184d7ce.tar.gz
renamed main doc file
-rw-r--r--Rakefile8
-rw-r--r--doc-main.txt (renamed from doc-templates/main.txt)0
2 files changed, 3 insertions, 5 deletions
diff --git a/Rakefile b/Rakefile
index b3ed3fa..0ac184b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -151,7 +151,7 @@ task :benchmark => [ :benchmark_parser, :benchmark_generator ]
desc "Create RDOC documentation"
task :doc => [ :version, EXT_PARSER_SRC ] do
- 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}"
+ system "rdoc -o doc -m doc-main.txt doc-main.txt lib/json.rb #{FileList['lib/json/**/*.rb']} #{EXT_PARSER_SRC} #{EXT_GENERATOR_SRC}"
end
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
s.has_rdoc = true
s.rdoc_options <<
- '--title' << 'JSON -- A JSON implemention' <<
- '--main' << 'JSON' << '--line-numbers'
+ '--title' << 'JSON -- A JSON implemention' << '--main' << 'doc-main.txt'
s.test_files.concat Dir['tests/*.rb']
s.author = "Florian Frank"
@@ -206,8 +205,7 @@ if defined?(Gem) and defined?(Rake::GemPackageTask) and defined?(Rake::Extension
s.has_rdoc = true
s.rdoc_options <<
- '--title' << 'JSON -- A JSON implemention' <<
- '--main' << 'JSON' << '--line-numbers'
+ '--title' << 'JSON -- A JSON implemention' << '--main' << 'doc-main.txt'
s.test_files.concat Dir['tests/*.rb']
s.author = "Florian Frank"
diff --git a/doc-templates/main.txt b/doc-main.txt
index debe535..debe535 100644
--- a/doc-templates/main.txt
+++ b/doc-main.txt