parent
2598505dfd
commit
fdbd5cb2df
4 changed files with 53 additions and 21 deletions
apps/gen-docs
|
@ -20,7 +20,6 @@ substituteAttrs() {
|
|||
) -t markdown --template "$FLAKE/apps/gen-docs/templates/$1.md" -o "$FLAKE/$1/README.md"
|
||||
}
|
||||
|
||||
# TODO: add overlays, scopedPackages
|
||||
substitute "appsPackages" "apps" "getPackageMeta"
|
||||
substitute "nixosConfigurations" "configurations" "getConfigMeta"
|
||||
substitute "devShells" "devShells" "getPackageMeta"
|
||||
|
@ -28,3 +27,6 @@ substitute "packages" "packages" "getPackageMeta"
|
|||
substituteAttrs "modules"
|
||||
substituteAttrs "homeManagerModules"
|
||||
substituteAttrs "overlays"
|
||||
|
||||
# TODO: add metadata of all packages
|
||||
substituteAttrs "scopedPackages"
|
||||
|
|
11
apps/gen-docs/templates/scopedPackages.md
Normal file
11
apps/gen-docs/templates/scopedPackages.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# ScopedPackages
|
||||
|
||||
This directory contains every package scopes exposed by this flake.
|
||||
|
||||
## List of my package scopes found in `self.scopedPackages`
|
||||
|
||||
| Name | Description |
|
||||
| ---- | ----------- |
|
||||
$for(attrs/pairs)$
|
||||
| `$it.key$` | $it.value.desc/nowrap$ |
|
||||
$endfor$
|
Loading…
Add table
Add a link
Reference in a new issue