From 0a2588013aecae1f494b4b6729aaf28412a7c04b Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 17 Sep 2023 17:46:06 +0100 Subject: [PATCH] include generated module options --- ci.nix | 2 +- doc/index.rst | 1 + doc/modules.rst | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 doc/modules.rst diff --git a/ci.nix b/ci.nix index fdfffd7..ce2557f 100644 --- a/ci.nix +++ b/ci.nix @@ -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 = '' diff --git a/doc/index.rst b/doc/index.rst index d3c8c6b..f308df2 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -10,6 +10,7 @@ Liminix configuration admin development + modules Indices and tables diff --git a/doc/modules.rst b/doc/modules.rst new file mode 100644 index 0000000..8d29bba --- /dev/null +++ b/doc/modules.rst @@ -0,0 +1,4 @@ +Module options +############## + +.. include:: modules-generated.rst