docs: Add an option search to our documentation

This commit is contained in:
traxys 2024-07-19 20:14:20 +02:00 committed by GaetanLepage
parent 30ab203d56
commit 42a7676d5a
6 changed files with 81 additions and 19 deletions

View file

@ -21,3 +21,4 @@
---
[Contributing](./CONTRIBUTING.md)
[NixVim Options Search](./search/index.html)

View file

@ -6,6 +6,7 @@
nixosOptionsDoc,
transformOptions,
hmOptions,
search,
}:
with lib;
let
@ -268,5 +269,7 @@ pkgs.stdenv.mkDerivation {
${prepareMD}
mdbook build
cp -r ./book/* $dest
mkdir -p $dest/search
cp -r ${search}/* $dest/search
'';
}