about summary refs log tree commit
diff options
context:
space:
mode:
-rw-r--r--Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 65862f2..769356e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -59,6 +59,11 @@ task rsync_docs: gendocs do
   examples.concat(gzex)
 
   sh("rsync --chmod=Fugo=r -av #{examples.join(' ')} #{dest}/examples/")
+
+  rdoc = apidoc.keys.grep(%r{\Adoc/Yahns/})
+  gzex = rdoc.map { |txt| do_gzip.call(txt) }
+  examples.concat(gzex)
+  sh("rsync --chmod=Fugo=r -av #{rdoc.join(' ')} #{dest}/Yahns/")
 end
 
 def tags