Ingestion

SolidGroundUX DocumentationSolidGroundUX
NL

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
FunctionPurposeArgumentsOutput
_normalize_routeNormalize route to a canonical representation.——
_base_routeConvert a language-specific content route to its default-language base route.——
_route_parent_and_slugSeparate a normalized route into its parent route and final slug.——
_infer_languageInfer language from source metadata or path.——
_infer_kindInfer kind from source metadata or path.——
_index_optionsDiscover canonical section indexes available as ingest destinations.——
_route_to_content_dirResolve the directory corresponding to a parent content route.——
_archive_destinationReturn a collision-safe canonical archive path for an ingested source file.——
_plain_scalarSerialize a scalar to the supported front-matter syntax.——
_serialize_mappingSerialize nested front-matter mappings and lists with indentation.——
_canonical_metadataReturn front matter for the canonical repository copy.——