include all the doc sections in index
This commit is contained in:
parent
de2757b798
commit
9f501018bf
17
doc/Makefile
17
doc/Makefile
@ -7,20 +7,15 @@ DOCS=\
|
|||||||
intro \
|
intro \
|
||||||
modules \
|
modules \
|
||||||
outputs \
|
outputs \
|
||||||
reference \
|
hardware \
|
||||||
tutorial
|
tutorial
|
||||||
|
|
||||||
|
hardware.adoc: hardware.nix
|
||||||
|
pandoc -f rst -t asciidoc -o $@ hardware.rst
|
||||||
|
|
||||||
hardware.rst: hardware.nix
|
html: Makefile $(patsubst %,%.adoc,$(DOCS))
|
||||||
@rm -f hardware.rst || true
|
asciidoctor -D _build -d book index.adoc
|
||||||
@cp $$(nix-build hardware.nix) hardware.rst
|
|
||||||
|
|
||||||
%.html : %.adoc
|
|
||||||
asciidoctor -a stylesheet=asciidoc.css $<
|
|
||||||
|
|
||||||
html: Makefile $(patsubst %,%.html,$(DOCS))
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -p $(prefix)/doc
|
mkdir -p $(prefix)/doc
|
||||||
cp -a posts/* news.html index.html liminix.css $(prefix)
|
cp -a _build/* $(prefix)/doc
|
||||||
cp $(patsubst %,%.html,$(DOCS)) $(prefix)/doc
|
|
||||||
|
@ -1,10 +1,19 @@
|
|||||||
== Liminix
|
= Liminix
|
||||||
|
Daniel Barlow
|
||||||
|
:toc: left
|
||||||
|
|
||||||
intro tutorial installation configuration admin development modules
|
include::intro.adoc[]
|
||||||
hardware outputs
|
|
||||||
|
|
||||||
=== Indices and tables
|
include::tutorial.adoc[]
|
||||||
|
|
||||||
* `+genindex+`
|
include::installation.adoc[]
|
||||||
* `+modindex+`
|
|
||||||
* `+search+`
|
include::configuration.adoc[]
|
||||||
|
|
||||||
|
include::admin.adoc[]
|
||||||
|
|
||||||
|
include::development.adoc[]
|
||||||
|
|
||||||
|
include::modules.adoc[]
|
||||||
|
|
||||||
|
include::hardware.adoc[]
|
||||||
|
Loading…
Reference in New Issue
Block a user