mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
keep index file in auto-generated modules directory
This commit is contained in:
parent
a76ddefe1c
commit
33d32f7407
3 changed files with 1 additions and 4 deletions
|
|
@ -1,3 +0,0 @@
|
||||||
---
|
|
||||||
weight: 20
|
|
||||||
---
|
|
||||||
0
docs/content/modules/_index.md
Normal file
0
docs/content/modules/_index.md
Normal file
|
|
@ -109,7 +109,7 @@
|
||||||
nix build '.#docs' -o ./docs/data/options.json
|
nix build '.#docs' -o ./docs/data/options.json
|
||||||
|
|
||||||
# remove all old module pages
|
# 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
|
# create a page for each module in hugo
|
||||||
for mod in ${builtins.toString (builtins.attrNames self.nixosModules.kubenix)}; do
|
for mod in ${builtins.toString (builtins.attrNames self.nixosModules.kubenix)}; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue