forked from DGNum/liminix
include generated module options
This commit is contained in:
parent
71b583a756
commit
0a2588013a
3 changed files with 6 additions and 1 deletions
2
ci.nix
2
ci.nix
|
@ -35,7 +35,7 @@ let
|
||||||
src = ./doc;
|
src = ./doc;
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cat ${(import ./doc/extract-options.nix).doc} > options.json
|
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
|
make html
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -10,6 +10,7 @@ Liminix
|
||||||
configuration
|
configuration
|
||||||
admin
|
admin
|
||||||
development
|
development
|
||||||
|
modules
|
||||||
|
|
||||||
|
|
||||||
Indices and tables
|
Indices and tables
|
||||||
|
|
4
doc/modules.rst
Normal file
4
doc/modules.rst
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
Module options
|
||||||
|
##############
|
||||||
|
|
||||||
|
.. include:: modules-generated.rst
|
Loading…
Reference in a new issue