mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
4beb53f27e
commit
d84f397790
2 changed files with 196 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue