Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
cms-schema-validate
command
Command cms-schema-validate checks a site checkout's `.norcube/cms/` configuration and content.
|
Command cms-schema-validate checks a site checkout's `.norcube/cms/` configuration and content. |
|
Package content reads content files the way the CMS does: Markdown with a YAML frontmatter fence, or a whole-file YAML data document, into plain Go values (maps, slices, strings, numbers, booleans) that match what the editor sees after its YAML to JSON round trip.
|
Package content reads content files the way the CMS does: Markdown with a YAML frontmatter fence, or a whole-file YAML data document, into plain Go values (maps, slices, strings, numbers, booleans) that match what the editor sees after its YAML to JSON round trip. |
|
Package load assembles a site's `.norcube/cms/` directory (or the legacy single `norcube-cms.config.yml`) into one merged document, the same way the CMS service does: `config.yml` supplies the root keys, each file under `collections/`, `blocks/` and `inputs/` becomes one entry keyed by its basename, `inputsFromGlob` adds more inputs, every `$ref` is replaced by the block or input it names, and the schema version is checked.
|
Package load assembles a site's `.norcube/cms/` directory (or the legacy single `norcube-cms.config.yml`) into one merged document, the same way the CMS service does: `config.yml` supplies the root keys, each file under `collections/`, `blocks/` and `inputs/` becomes one entry keyed by its basename, `inputsFromGlob` adds more inputs, every `$ref` is replaced by the block or input it names, and the schema version is checked. |
|
Package report holds the finding type every check in this module produces and the frozen list of rule identifiers.
|
Package report holds the finding type every check in this module produces and the frozen list of rule identifiers. |
|
Package resolve answers the questions a site's layout decides: which collection a file belongs to, what URL it renders at, what repository path an image value points to, and which values in a text are links into the site.
|
Package resolve answers the questions a site's layout decides: which collection a file belongs to, what URL it renders at, what repository path an image value points to, and which values in a text are links into the site. |
|
Package schema is the typed model of a Norcube CMS site configuration: the root config, its collections, blocks, inputs and storages, and the field definitions they are made of.
|
Package schema is the typed model of a Norcube CMS site configuration: the root config, its collections, blocks, inputs and storages, and the field definitions they are made of. |
|
Package validate runs the checks: the schema on its own, every content file against its collection, and the links between files.
|
Package validate runs the checks: the schema on its own, every content file against its collection, and the links between files. |
Click to show internal directories.
Click to hide internal directories.