Permalink
Browse files

doc publisher now includes the homepage

git-svn-id: http://atomicobjectrb.rubyforge.org/svn/trunk/publisher@22 7bd720c3-caf9-44c9-a48d-612f81e63739
  • Loading branch information...
1 parent 9f1e29a commit fe8d2e8bd4e27756a52588a53b1d383c66aca94e dcrosby42 committed Nov 22, 2007
Showing with 21 additions and 15 deletions.
  1. +1 −1 README.txt
  2. +16 −10 Rakefile
  3. +1 −1 homepage/index.erb
  4. +2 −2 homepage/index.html
  5. BIN homepage/publisher_homepage.graffle
  6. +1 −1 homepage/publisher_homepage.html
View
2 README.txt
@@ -1,6 +1,6 @@
publisher
* http://rubyforge.org/projects/atomicobjectrb/
-* http://atomicobjectrb.rubyforge.org/constructor
+* http://atomicobjectrb.rubyforge.org/publisher
== DESCRIPTION:
View
26 Rakefile
@@ -23,18 +23,24 @@ Hoe.new('publisher', Publisher::VERSION) do |p|
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
end
-Rake::Task['publish_docs'].instance_variable_get("@actions").clear
-task :publish_docs => :setup_homepage do
- puts "THIS TASK IS UNDER CONSTRUCTION"
+task :setup_homepage => [ :clean, :redocs ] do
+ mv "doc", "rdoc"
+ cp_r "homepage", "doc"
+ mv "rdoc", "doc"
end
-#Rake::Task['test'].instance_variable_get("@actions").clear
-#task :test do
-# Rake::Task["test:units"].invoke rescue got_error = true
-# Rake::Task["test:functionals"].invoke rescue got_error = true
-# Rake::Task["test:integration"].invoke rescue got_error = true
-# Rake::Task["test:migration"].invoke rescue got_error = true
-# raise "Test failures" if got_error
+task :publish_docs => :setup_homepage
+
+
+#Rake::Task['publish_docs'].instance_variable_get("@actions").clear
+#task :publish_docs => :setup_homepage do
+# config = YAML.load(File.read(File.expand_path("~/.rubyforge/user-config.yml")))
+# host = "#{config["username"]}@rubyforge.org"
+#
+# remote_dir = "/var/www/gforge-projects/#{rubyforge_name}/#{remote_rdoc_dir}"
+# local_dir = 'doc'
+#
+# sh %{rsync #{rsync_args} #{local_dir}/ #{host}:#{remote_dir}}
#end
# desc "Publish RDoc to RubyForge"
View
2 homepage/index.erb
@@ -18,7 +18,7 @@
<div id="rails_plugin_installation">$ script/plugin install svn://rubyforge.org/var/svn/atomicobjectrb/tags/publisher</div>
- <a href="doc/index.html"><img border=0 src="sample_code.png"></a>
+ <a href="rdoc/index.html"><img border=0 src="sample_code.png"></a>
</div>
View
4 homepage/index.html
@@ -16,7 +16,7 @@
<map name="GraffleExport">
<area shape=rect coords="14,91,163,108" href="http://atomicobjectrb.rubyforge.org/">
- <area shape=rect coords="485,120,635,187" href="doc/index.html">
+ <area shape=rect coords="485,120,635,187" href="rdoc/index.html">
<area shape=rect coords="310,120,463,187" href="http://rubyforge.org/frs/?group_id=4897&release_id=16546">
<area shape=rect coords="481,91,635,108" href="http://atomicobject.com">
<area shape=rect coords="21,13,83,75" href="http://atomicobject.com">
@@ -26,7 +26,7 @@
<div id="rails_plugin_installation">$ script/plugin install svn://rubyforge.org/var/svn/atomicobjectrb/tags/publisher</div>
- <a href="doc/index.html"><img border=0 src="sample_code.png"></a>
+ <a href="rdoc/index.html"><img border=0 src="sample_code.png"></a>
</div>
View
BIN homepage/publisher_homepage.graffle
Binary file not shown.
View
2 homepage/publisher_homepage.html
@@ -1,6 +1,6 @@
<map name="GraffleExport">
<area shape=rect coords="14,91,163,108" href="http://atomicobjectrb.rubyforge.org/">
- <area shape=rect coords="485,120,635,187" href="doc/index.html">
+ <area shape=rect coords="485,120,635,187" href="rdoc/index.html">
<area shape=rect coords="310,120,463,187" href="http://rubyforge.org/frs/?group_id=4897&release_id=16546">
<area shape=rect coords="481,91,635,108" href="http://atomicobject.com">
<area shape=rect coords="21,13,83,75" href="http://atomicobject.com">

0 comments on commit fe8d2e8

Please sign in to comment.