keep index file in auto-generated modules directory

This commit is contained in:
Bryton Hall 2022-08-29 02:12:38 -04:00
parent a76ddefe1c
commit 33d32f7407
3 changed files with 1 additions and 4 deletions

View file

@ -1,3 +0,0 @@
---
weight: 20
---

View file

View file

@ -109,7 +109,7 @@
nix build '.#docs' -o ./docs/data/options.json
# remove all old module pages
rm ./docs/content/modules/*.md || true
rm ./docs/content/modules/[!_]?*.md || true
# create a page for each module in hugo
for mod in ${builtins.toString (builtins.attrNames self.nixosModules.kubenix)}; do