httk.core.docs.manifests¶
JSON manifests used by the documentation site’s root and selector.
Functions¶
|
Build a root manifest with releases newest-first and optional dev last. |
|
Write one JSON version manifest using stable, human-readable formatting. |
|
Read a JSON version manifest from path. |
|
List every HTML page below html_dir as sorted POSIX paths. |
|
Write one per-version page manifest. |
Module Contents¶
- httk.core.docs.manifests.build_version_manifest(slug: str, url: str, source_commit: str | None, release_versions: list[httk.core.docs.semver.Version] | tuple[httk.core.docs.semver.Version, Ellipsis], has_dev: bool) dict[str, Any][source]¶
Build a root manifest with releases newest-first and optional dev last.
- httk.core.docs.manifests.write_version_manifest(path: str | pathlib.Path, manifest: dict[str, Any]) None[source]¶
Write one JSON version manifest using stable, human-readable formatting.
- httk.core.docs.manifests.read_version_manifest(path: str | pathlib.Path) dict[str, Any][source]¶
Read a JSON version manifest from path.