bundle.website.sites.thebundle.pages

Page registry for the TheBundle site.

Submodules

Functions

initialize_site_pages(app, pages) → tuple[Page, ...]

Attach all pages and expose registry/navigation metadata on app state.

initialize_pages(app) → None

Attach all TheBundle pages and publish navigation metadata on app state.

Package Contents

bundle.website.sites.thebundle.pages.initialize_site_pages(app: fastapi.FastAPI, pages: collections.abc.Iterable[Page]) → tuple[Page, ...]

Attach all pages and expose registry/navigation metadata on app state.

bundle.website.sites.thebundle.pages.initialize_pages(app: fastapi.FastAPI) → None

Attach all TheBundle pages and publish navigation metadata on app state.