Permalink
Browse files

turn broken publish_web and publish_docs into working publish task

  • Loading branch information...
1 parent 7b9dc24 commit 9703b40b0cc5f5a51d6d17a25c33c77e8d0ca546 @alexch alexch committed Jul 23, 2011
Showing with 501 additions and 315 deletions.
  1. +4 −5 Rakefile
  2. +1 −1 web/developers.html
  3. +1 −1 web/faq.html
  4. +49 −37 web/index.html
  5. +445 −270 web/release_notes.html
  6. +1 −1 web/userguide.html
View
@@ -79,11 +79,8 @@ task :clean_rdoc do
FileUtils.rm_rf("rdoc")
end
-# push the docs to Rubyforge
-task :publish_docs => :"rubyforge:release:docs"
-
-desc "Publish web site to RubyForge"
-task :publish_web do
+desc "Publish web site and docs to RubyForge"
+task :publish => [:web, :docs] do
config = YAML.load(File.read(File.expand_path("~/.rubyforge/user-config.yml")))
host = "#{config["username"]}@rubyforge.org"
rubyforge_name = "erector"
@@ -93,6 +90,8 @@ task :publish_web do
rsync_args = '--archive --verbose --delete'
sh %{rsync #{rsync_args} --exclude=#{rdoc_dir} #{local_dir}/ #{host}:#{remote_dir}}
+
+ sh %{rsync #{rsync_args} #{rdoc_dir}/ #{host}:#{remote_dir}/rdoc}
end
require 'rdoc/task'
View
@@ -17,7 +17,7 @@ <h3>Documentation:</h3>
<h3>External Links:</h3>
<ul class="clickable">
<li class="clickable" onclick="document.location='http://rubyforge.org/frs/?group_id=4797'"><a href="http://rubyforge.org/frs/?group_id=4797">Download</a><br />
- <span> (current version: 0.8.1)</span></li>
+ <span> (current version: 0.8.3)</span></li>
<li class="clickable" onclick="document.location='http://googlegroups.com/group/erector'"><a href="http://googlegroups.com/group/erector">Erector Mailing List</a></li>
<li class="clickable" onclick="document.location='http://rubyforge.org/projects/erector/'"><a href="http://rubyforge.org/projects/erector/">RubyForge Project</a></li>
<li class="clickable" onclick="document.location='http://github.com/pivotal/erector'"><a href="http://github.com/pivotal/erector">Github Repository</a></li>
View
@@ -17,7 +17,7 @@ <h3>Documentation:</h3>
<h3>External Links:</h3>
<ul class="clickable">
<li class="clickable" onclick="document.location='http://rubyforge.org/frs/?group_id=4797'"><a href="http://rubyforge.org/frs/?group_id=4797">Download</a><br />
- <span> (current version: 0.8.1)</span></li>
+ <span> (current version: 0.8.3)</span></li>
<li class="clickable" onclick="document.location='http://googlegroups.com/group/erector'"><a href="http://googlegroups.com/group/erector">Erector Mailing List</a></li>
<li class="clickable" onclick="document.location='http://rubyforge.org/projects/erector/'"><a href="http://rubyforge.org/projects/erector/">RubyForge Project</a></li>
<li class="clickable" onclick="document.location='http://github.com/pivotal/erector'"><a href="http://github.com/pivotal/erector">Github Repository</a></li>
View
@@ -17,7 +17,7 @@ <h3>Documentation:</h3>
<h3>External Links:</h3>
<ul class="clickable">
<li class="clickable" onclick="document.location='http://rubyforge.org/frs/?group_id=4797'"><a href="http://rubyforge.org/frs/?group_id=4797">Download</a><br />
- <span> (current version: 0.8.1)</span></li>
+ <span> (current version: 0.8.3)</span></li>
<li class="clickable" onclick="document.location='http://googlegroups.com/group/erector'"><a href="http://googlegroups.com/group/erector">Erector Mailing List</a></li>
<li class="clickable" onclick="document.location='http://rubyforge.org/projects/erector/'"><a href="http://rubyforge.org/projects/erector/">RubyForge Project</a></li>
<li class="clickable" onclick="document.location='http://github.com/pivotal/erector'"><a href="http://github.com/pivotal/erector">Github Repository</a></li>
@@ -28,15 +28,18 @@ <h3>External Links:</h3>
<div class="main">
<h1 class="title">Erector - Home</h1>
<div class="body"><ul>
-<li><a href="http://erector.rubyforge.org">erector.rubyforge.org</a>
-
+<li><p>
+<a href="http://erector.rubyforge.org">erector.rubyforge.org</a>
+</p>
</li>
-<li><a href="mailto:erector@googlegroups.com">erector@googlegroups.com</a>
-
+<li><p>
+<a href="mailto:erector@googlegroups.com">erector@googlegroups.com</a>
+</p>
</li>
-<li><a
+<li><p>
+<a
href="http://www.pivotaltracker.com/projects/482">www.pivotaltracker.com/projects/482</a>
-
+</p>
</li>
</ul>
<h2>DESCRIPTION</h2>
@@ -84,17 +87,18 @@ <h2>SYNOPSIS</h2>
<h2>REQUIREMENTS</h2>
<p>
The gem depends on rake and treetop, although this is just for using the
-command-line tool, so deployed applications won&#8217;t need these. The
-Rails-dependent code is now separated so you can use Erector cleanly in a
+command-line tool, so deployed applications won&#8217;t need these. The
+Rails-dependent code is now separated so you can use Erector cleanly in a
non-Rails app.
</p>
<h2>INSTALL</h2>
<p>
To install as a gem:
</p>
<ul>
-<li>sudo gem install erector
-
+<li><p>
+sudo gem install erector
+</p>
</li>
</ul>
<p>
@@ -105,8 +109,9 @@ <h2>INSTALL</h2>
To install as a Rails plugin:
</p>
<ul>
-<li>Copy the erector source to vendor/plugins/erector in your Rails directory.
-
+<li><p>
+Copy the erector source to vendor/plugins/erector in your Rails directory.
+</p>
</li>
</ul>
<p>
@@ -117,10 +122,7 @@ <h2>TESTS</h2>
<p>
Three spec rake tasks are provided: spec:core (core functionality),
spec:erect (the erector command line tool), and spec:rails (rails
-integration). You do not need to have Rails installed to run the latter
-two; they will clone the rails git repository and set it up for testing
-automatically. You can test against a different version of Rails by
-changing the constants in lib/erector/rails/rails_version.rb
+integration).
</p>
<p>
&#8216;rake spec&#8217; will run the complete set of specs.
@@ -130,40 +132,50 @@ <h2>CREDITS:</h2>
Core Team:
</p>
<ul>
-<li>Alex Chaffee
-
+<li><p>
+Alex Chaffee
+</p>
</li>
-<li>Brian Takita
-
+<li><p>
+Brian Takita
+</p>
</li>
</ul>
<p>
Special Thanks To:
</p>
<ul>
-<li>Abby (Chaffee&#8217;s muse &amp; Best friend)
-
+<li><p>
+Abby (Chaffee&#8217;s muse &amp; Best friend)
+</p>
</li>
-<li>Jim Kingdon
-
+<li><p>
+Jim Kingdon
+</p>
</li>
-<li>Jeff Dean
-
+<li><p>
+Jeff Dean
+</p>
</li>
-<li>John Firebaugh
-
+<li><p>
+John Firebaugh
+</p>
</li>
-<li>Nathan Sobo
-
+<li><p>
+Nathan Sobo
+</p>
</li>
-<li>Nick Kallen
-
+<li><p>
+Nick Kallen
+</p>
</li>
-<li>Alon Salant
-
+<li><p>
+Alon Salant
+</p>
</li>
-<li>Andy Peterson
-
+<li><p>
+Andy Peterson
+</p>
</li>
</ul>
<h2>LICENSE:</h2>
Oops, something went wrong.

0 comments on commit 9703b40

Please sign in to comment.