From 9f501018bfeb7948483c0d6aa81d95e157044417 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 6 Apr 2025 21:38:17 +0100 Subject: [PATCH] include all the doc sections in index --- doc/Makefile | 17 ++++++----------- doc/index.adoc | 23 ++++++++++++++++------- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 22651ab..f8bc954 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -7,20 +7,15 @@ DOCS=\ intro \ modules \ outputs \ - reference \ + hardware \ tutorial +hardware.adoc: hardware.nix + pandoc -f rst -t asciidoc -o $@ hardware.rst -hardware.rst: hardware.nix - @rm -f hardware.rst || true - @cp $$(nix-build hardware.nix) hardware.rst - -%.html : %.adoc - asciidoctor -a stylesheet=asciidoc.css $< - -html: Makefile $(patsubst %,%.html,$(DOCS)) +html: Makefile $(patsubst %,%.adoc,$(DOCS)) + asciidoctor -D _build -d book index.adoc install: mkdir -p $(prefix)/doc - cp -a posts/* news.html index.html liminix.css $(prefix) - cp $(patsubst %,%.html,$(DOCS)) $(prefix)/doc + cp -a _build/* $(prefix)/doc diff --git a/doc/index.adoc b/doc/index.adoc index 202323f..126e15b 100644 --- a/doc/index.adoc +++ b/doc/index.adoc @@ -1,10 +1,19 @@ -== Liminix += Liminix +Daniel Barlow +:toc: left -intro tutorial installation configuration admin development modules -hardware outputs +include::intro.adoc[] -=== Indices and tables +include::tutorial.adoc[] -* `+genindex+` -* `+modindex+` -* `+search+` +include::installation.adoc[] + +include::configuration.adoc[] + +include::admin.adoc[] + +include::development.adoc[] + +include::modules.adoc[] + +include::hardware.adoc[]