about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-05-10 02:54:10 +0000
committerEric Wong <e@80x24.org>2019-05-10 02:54:10 +0000
commit2e8780c306078e47f24ae01bd2514198274830eb (patch)
tree81c85afff13f4d2a5111898de3724ddcbe5127d9
parent995eefdf9f09f1a4621e3aab0184c5ae2787ca0c (diff)
downloadyahns-2e8780c306078e47f24ae01bd2514198274830eb.tar.gz
Otherwise, https://yhbt.net/yahns/Yahns/ProxyPass.html won't
be accessible
-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