Permalink
Browse files

rdoc publishing task

  • Loading branch information...
jkraemer committed Mar 25, 2006
1 parent 46cc4eb commit d07c4b45590cd9e6900d7957246220a9af411566
Showing with 7 additions and 1 deletion.
  1. +1 −0 .svnignore
  2. +6 −1 rakefile
View
@@ -1,2 +1,3 @@
tmp
pkg
+html
View
@@ -94,7 +94,7 @@ Rake::TestTask.new("test_functional") { |t|
# Generate the RDoc documentation ----------------------------------------
rd = Rake::RDocTask.new { |rdoc|
- rdoc.rdoc_dir = 'doc/html'
+ rdoc.rdoc_dir = 'html'
rdoc.title = "RDig - Ferret based full text search for web sites"
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.options << '--main' << 'README'
@@ -323,3 +323,8 @@ task :tag => [:prerelease] do
end
end
+# Publish RDocs ------------------------------------------------------
+desc "Publish the API documentation"
+task :pdoc => [:rdoc] do
+ Rake::RubyForgePublisher.new(RUBY_FORGE_PROJECT, RUBY_FORGE_USER).upload
+end

0 comments on commit d07c4b4

Please sign in to comment.