Skip to content
Browse files

rdoc

  • Loading branch information...
1 parent 7dd4a1c commit f2458f13545015e863da0357c8040121d81c2395 @fizx fizx committed Aug 24, 2009
Showing with 17 additions and 10 deletions.
  1. +4 −1 README.rdoc
  2. +0 −9 Rakefile
  3. +13 −0 generate_rdoc.sh
View
5 README.rdoc
@@ -4,6 +4,10 @@
This gem provides Rails support for websolr.com, and a command-line tool to interact with
the indexes hosted there. The Rails support is reverse-compatible with acts_as_solr.
+== RDoc
+
+Ruby documentation is at http://onemorecloud.github.com/websolr-rails
+
== Current Release
There is no numbered release yet, but the master branch is always considered stable.
@@ -21,7 +25,6 @@ Please refer to the CHANGELOG[http://github.com/mattmatt/acts_as_solr/blob/maste
$: gem sources -a http://gems.github.com
$: sudo gem install onemorecloud-websolr-rails
-
== Configuration
$: export WEBSOLR_USER=my_username
View
9 Rakefile
@@ -93,15 +93,6 @@ rescue LoadError
end
end
-task :doc do
- require "fileutils"
- include FileUtils::Verbose
- rm_rf "doc"
- mkdir "doc"
- system "cd doc && git clone git@github.com:onemorecloud/websolr-rails.git && git checkout gh-pages"
-
-end
-
task :test => :check_dependencies
task :default => :test
View
13 generate_rdoc.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+git clone git@github.com:onemorecloud/websolr-rails.git /tmp/websolr-rails
+rm -rf /tmp/websolr-rails-rdoc
+rdoc --op /tmp/websolr-rails-rdoc --main README.rdoc README.rdoc lib
+cd /tmp/websolr-rails
+git checkout origin/gh-pages
+git checkout -b gh-pages
+git checkout gh-pages
+mv /tmp/websolr-rails-rdoc/* .
+git add .
+git add -u
+git commit -m "updating rdoc"
+git push origin gh-pages

0 comments on commit f2458f1

Please sign in to comment.
Something went wrong with that request. Please try again.