whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] 02/02: publish rdoc information
Date Sat, 17 Jun 2017 13:48:50 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit d97795b6937d3de07b20f704ba0ec349d86bfab1
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sat Jun 17 09:48:18 2017 -0400

    publish rdoc information
---
 .gitignore |  1 +
 Rakefile   | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/.gitignore b/.gitignore
index 5bd2103..443c93b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ Gemfile.lock
 work
 .idea/
 .subversion
+www/docs/api
diff --git a/Rakefile b/Rakefile
index 55a8e86..b1b8d86 100644
--- a/Rakefile
+++ b/Rakefile
@@ -54,6 +54,9 @@ task :update do
     end
   end
 
+  # rebuild API documentation
+  Rake::Task['rdoc'].invoke
+
   # update baseline time
   FileUtils.touch update_file
   File.utime new_baseline, new_baseline, update_file
@@ -148,3 +151,11 @@ namespace :git do
     end
   end
 end
+
+# update documentation
+task :rdoc do
+  Dir.chdir File.dirname(__FILE__) do
+    system 'rdoc', 'lib', '--output', 'www/docs/api', 
+      '--title', 'whimsy/asf lib'
+  end
+end

-- 
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <commits@whimsical.apache.org>.

Mime
View raw message