Docs/frontmatter: init automatic reference for frontmatter

This commit is contained in:
Johannes Kirschbauer
2024-11-19 10:35:13 +01:00
parent 2ac2cc2aff
commit cfe9dbf117
8 changed files with 123 additions and 77 deletions

View File

@@ -22,6 +22,8 @@ let
header = { };
};
frontMatterSchema = jsonLib.parseOptions self.lib.modules.frontmatterOptions { };
inventorySchema = jsonLib.parseModule (import ../build-inventory/interface.nix);
renderSchema = pkgs.writers.writePython3Bin "render-schema" {
@@ -48,6 +50,7 @@ let
in
{
inherit
frontMatterSchema
inventorySchema
modulesSchema
renderSchema