Metadata-driven ingestion of loose Markdown files into a website content tree.
Source: target-root/usr/local/lib/solidgroundux/py/webcontent/ingestion.py
Metadata-driven ingestion of loose Markdown files into a website content tree.
Public functions
Public classes
Internal functions
| Function | Purpose | Arguments | Output |
|---|---|---|---|
_normalize_route | Normalize route to a canonical representation. | — | — |
_base_route | Convert a language-specific content route to its default-language base route. | — | — |
_route_parent_and_slug | Separate a normalized route into its parent route and final slug. | — | — |
_infer_language | Infer language from source metadata or path. | — | — |
_infer_kind | Infer kind from source metadata or path. | — | — |
_index_options | Discover canonical section indexes available as ingest destinations. | — | — |
_route_to_content_dir | Resolve the directory corresponding to a parent content route. | — | — |
_archive_destination | Return a collision-safe canonical archive path for an ingested source file. | — | — |
_plain_scalar | Serialize a scalar to the supported front-matter syntax. | — | — |
_serialize_mapping | Serialize nested front-matter mappings and lists with indentation. | — | — |
_canonical_metadata | Return front matter for the canonical repository copy. | — | — |
