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):
		<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
		<TITLE>no menu</TITLE>

	.*
	*~
		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.
This commit is contained in:
Christian Thäter 2018-11-01 04:32:12 +01:00 committed by Christian Thäter
parent 6ce66fc354
commit d726535c98

9
doc/.gitignore vendored
View file

@ -3,4 +3,13 @@ user/**/*.html
devel/rfc*/**/*.html devel/rfc*/**/*.html
devel/draw/**/*.png devel/draw/**/*.png
user/**/*.html user/**/*.html
/broken_links
/documentation
/css
/js
/page.conf
/images
/menu.html
.*
*~