You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by as...@apache.org on 2008/02/08 05:08:51 UTC

svn commit: r619759 - in /incubator/buildr/trunk: Rakefile doc/web.toc.yaml

Author: assaf
Date: Thu Feb  7 20:08:51 2008
New Revision: 619759

URL: http://svn.apache.org/viewvc?rev=619759&view=rev
Log:
Switched to Allison

Modified:
    incubator/buildr/trunk/Rakefile
    incubator/buildr/trunk/doc/web.toc.yaml

Modified: incubator/buildr/trunk/Rakefile
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/Rakefile?rev=619759&r1=619758&r2=619759&view=diff
==============================================================================
--- incubator/buildr/trunk/Rakefile (original)
+++ incubator/buildr/trunk/Rakefile Thu Feb  7 20:08:51 2008
@@ -118,20 +118,21 @@
   require 'docter'
   require 'docter/server'
   require 'docter/ultraviolet'
+  require 'allison'
 
   desc 'Generate RDoc documentation'
   rdoc = Rake::RDocTask.new(:rdoc) do |rdoc|
     rdoc.rdoc_dir = 'html/rdoc'
     rdoc.title    = ruby_spec.name
-    rdoc.options  = ruby_spec.rdoc_options
+    rdoc.options  = ruby_spec.rdoc_options + ['--promiscuous']
     rdoc.rdoc_files.include('lib/**/*.rb')
     rdoc.rdoc_files.include ruby_spec.extra_rdoc_files
-    rdoc.template = File.join(Gem.default_path, 'gems/allison-2.0.3/lib/allison.rb')
+    rdoc.template = File.expand_path('lib/allison.rb', Gem.loaded_specs['allison'].full_gem_path)
   end
 
   web_docs = {
     :collection => Docter.collection('Buildr').using('doc/web.toc.yaml').include('doc/pages', 'LICENSE', 'CHANGELOG'),
-    :template   => Docter.template('doc/web.haml').include('doc/css', 'doc/images', 'html/report.html', 'html/coverage')
+    :template   => Docter.template('doc/web.haml').include('doc/css', 'doc/images', 'html/report.html', 'html/coverage', 'html/rdoc')
   }
   print_docs = {
     :collection => Docter.collection('Buildr — The build system that doesn\'t suck').using('doc/print.toc.yaml').include('doc/pages', 'LICENSE'),
@@ -164,8 +165,7 @@
 rescue LoadError=>error
   puts error
   puts 'To create the Buildr documentation you need to:'
-  puts '  gem install docter'
-  puts '  gem install ultraviolet'
+  puts '  gem install docter ultraviolet allison'
 end
 
 

Modified: incubator/buildr/trunk/doc/web.toc.yaml
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/doc/web.toc.yaml?rev=619759&r1=619758&r2=619759&view=diff
==============================================================================
--- incubator/buildr/trunk/doc/web.toc.yaml (original)
+++ incubator/buildr/trunk/doc/web.toc.yaml Thu Feb  7 20:08:51 2008
@@ -1,5 +1,5 @@
 - Main:  
-  - Welcome: index.html
+  - Welcome: /
   - Download and Installation: download.html
   - Printable PDF: buildr.pdf
   - New: whats_new.html
@@ -15,7 +15,7 @@
   - Extending: extending.html
   - Recipes: recipes.html
 - Reference:
-  - API: rdoc/index.html
+  - API: rdoc
   - Rake: http://docs.rubyrake.org
   - Antwrap: http://antwrap.rubyforge.org
   - Troubleshooting: troubleshooting.html
@@ -27,4 +27,4 @@
   - License: license.html
   - Change Log: changelog.html
   - Test Report: report.html
-  - Test Coverage: coverage/index.html
+  - Test Coverage: coverage