site_config
module src.site_config
Section titled “module src.site_config”Shared website configuration and asset helpers.
function canonical_url
Section titled “function canonical_url”canonical_url(path: 'str' = '') → strBuild a canonical absolute URL within the published site.
function copy_deployable_assets
Section titled “function copy_deployable_assets”copy_deployable_assets(target_dir: 'Path') → NoneCopy the website assets into a published directory root.
function asset_paths
Section titled “function asset_paths”asset_paths() → dict[str, str]Return relative asset paths for a page living at a site-area root.
function minify_html_document
Section titled “function minify_html_document”minify_html_document(html: 'str') → strMinify HTML while preserving inline CSS and JS semantics.
class SiteConfig
Section titled “class SiteConfig”Typed access to shared site configuration.
method __init__
Section titled “method __init__”__init__( site_name: 'str', site_description: 'str', site_origin: 'str', base_path: 'str', custom_domain: 'str', repository_url: 'str', report_subpath: 'str', docs_subpath: 'str', brand: 'dict[str, str]') → Noneproperty canonical_base_url
Section titled “property canonical_base_url”Return the public site URL including the repository subpath.