httk.core.docs.ecosystem¶
Discover and validate the module pins used by the aggregate documentation site.
Exceptions¶
Raised when an ecosystem checkout cannot produce a valid manifest. |
Functions¶
|
Build the sorted manifest for direct Git checkouts under submodules_dir. |
|
Read a JSON manifest and report malformed files as typed errors. |
|
Write manifest as sorted, newline-terminated JSON using an atomic replace. |
|
Verify a committed manifest against the current checkout state. |
Module Contents¶
- exception httk.core.docs.ecosystem.EcosystemManifestError[source]¶
Bases:
RuntimeErrorRaised when an ecosystem checkout cannot produce a valid manifest.
- httk.core.docs.ecosystem.build_ecosystem_manifest(submodules_dir: str | pathlib.Path, *, require_release_tags: bool = False) dict[str, object][source]¶
Build the sorted manifest for direct Git checkouts under submodules_dir.
- httk.core.docs.ecosystem.read_ecosystem_manifest(path: str | pathlib.Path) dict[str, object][source]¶
Read a JSON manifest and report malformed files as typed errors.
- httk.core.docs.ecosystem.write_ecosystem_manifest(manifest: collections.abc.Mapping[str, object], output: str | pathlib.Path) None[source]¶
Write manifest as sorted, newline-terminated JSON using an atomic replace.
- httk.core.docs.ecosystem.verify_ecosystem_manifest(submodules_dir: str | pathlib.Path, manifest_path: str | pathlib.Path, *, require_release_tags: bool = False) None[source]¶
Verify a committed manifest against the current checkout state.