include generated module options

This commit is contained in:
Daniel Barlow 2023-09-17 17:46:06 +01:00
parent 71b583a756
commit 0a2588013a
3 changed files with 6 additions and 1 deletions

2
ci.nix
View file

@ -35,7 +35,7 @@ let
src = ./doc;
buildPhase = ''
cat ${(import ./doc/extract-options.nix).doc} > options.json
cat options.json | fennel --correlate parse-options.fnl > modules.rst
cat options.json | fennel --correlate parse-options.fnl > modules-generated.rst
make html
'';
installPhase = ''

View file

@ -10,6 +10,7 @@ Liminix
configuration
admin
development
modules
Indices and tables

4
doc/modules.rst Normal file
View file

@ -0,0 +1,4 @@
Module options
##############
.. include:: modules-generated.rst