geometor.kepler.sphinx_ext

Runtime Sphinx & photon-platform/publish integration for GEOMETOR Kepler.

Ensures synchronized 4-track :layout: book companion navigation (en, la, summary, notes) and configures offline-safe local intersphinx inventories across sister GEOMETOR repositories.

Attributes

SISTER_REPOS

Functions

register_latin_book_track() → None

Ensure <stem>-la Latin primary-source tracks are registered in book.

configure_local_intersphinx(intersphinx_mapping, ...) → None

Bind local objects.inv files for sister GEOMETOR repositories offline.

setup(app) → dict[str, Any]

Sphinx extension entry point.

Module Contents

geometor.kepler.sphinx_ext.SISTER_REPOS: tuple[str, ...] = ('model', 'euclid', 'elements', 'divine', 'pacioli', 'pappus', 'proclus', 'aristotle',...
geometor.kepler.sphinx_ext.register_latin_book_track() → None

Ensure <stem>-la Latin primary-source tracks are registered in book.

geometor.kepler.sphinx_ext.configure_local_intersphinx(intersphinx_mapping: dict[str, Any], project_root: pathlib.Path) → None

Bind local objects.inv files for sister GEOMETOR repositories offline.

geometor.kepler.sphinx_ext.setup(app: sphinx.application.Sphinx) → dict[str, Any]

Sphinx extension entry point.