Add compact style to the Documentation

The Makefile changes were authored by Dirk, the CSS is based on a public
domain CSS file and authored by Willem

Signed-off-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Willem Ferguson 2013-12-08 07:14:16 +01:00 committed by Dirk Hohndel
parent 4beb53f27e
commit d84f397790
2 changed files with 196 additions and 1 deletions

View file

@ -4,6 +4,8 @@ HTMLDOC = $(DOCNAME).html
ASCIIDOC = asciidoc
A2X = a2x
BROWSER = firefox
THEME = compact_wf
PWD = $(realpath .)
all: doc $(addprefix $(DOCNAME).,pdf text)
@ -17,7 +19,7 @@ $(OUT)$(DOCNAME).pdf: $(DOCSOURCE)
$(OUT)$(HTMLDOC): $(DOCSOURCE)
@echo "if asciidoc isn't found no HTML documentation is produced but Subsurface is still functional"
$(ASCIIDOC) $< || true
$(ASCIIDOC) -a themedir=$(PWD) --theme $(THEME) $< || true
# Alternatively::
$(OUT)$(DOCNAME).xhtml: $(DOCSOURCE)