From: Timo Heister Date: Wed, 10 Apr 2013 04:20:39 +0000 (+0000) Subject: added first test for a script to generate an offline documentation X-Git-Tag: v8.0.0~744 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cfb2fd07eb4fa4422810ec273583b47770e3784;p=dealii.git added first test for a script to generate an offline documentation git-svn-id: https://svn.dealii.org/trunk@29234 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/contrib/utilities/makeofflinedoc.sh b/deal.II/contrib/utilities/makeofflinedoc.sh new file mode 100755 index 0000000000..26a35931b8 --- /dev/null +++ b/deal.II/contrib/utilities/makeofflinedoc.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +if [ ! -f index.html ] +then + echo "Please run this script in the doc output directory (install/doc)" + exit 1 +fi + +mkdir images >/dev/null + +echo "Downloading images (press ctrl-c to cancel) ..." +cd images +{ +trap "echo \"(skipping)\"" SIGINT +wget -q -nd -A png,gif -m -l 1 -np http://www.dealii.org/images/steps/developer/ +} +cd .. + +echo "Patching html files ..." +sed -i 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' step_*.html + +echo "all done!" \ No newline at end of file