From d726535c98d3e115455c586780a3528b9032a080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Th=C3=83=C2=A4ter?= Date: Thu, 1 Nov 2018 04:32:12 +0100 Subject: [PATCH] infrastructure to test the documentation standalone The goal is to run the build_website.sh script in the doc/ dir (for local testing purposes only, not on the server) added to doc/.gitignore because: /broken_links the linkchecker generates it /documentation symlink to ./ to fix links /css /js /page.conf /images symlink to some local copy of the lumiera-website checked out /menu.html fill with (to create a fake empty page): no menu .* *~ ignore hidden and backup files Then from the 'doc' dir: python -m SimpleHTTPServer 8010 & echo http://localhost:8010 >.baseurl /path/to/build_website.sh to generate the documentation. Other build_website.sh options work as well. --- doc/.gitignore | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/.gitignore b/doc/.gitignore index cc4408107..77a87c895 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -3,4 +3,13 @@ user/**/*.html devel/rfc*/**/*.html devel/draw/**/*.png user/**/*.html +/broken_links +/documentation +/css +/js +/page.conf +/images +/menu.html +.* +*~