bundle.website.sites.thebundle.pages

Page registry for the TheBundle site.

Submodules

Functions

initialize_site_pages(→ tuple[Page, Ellipsis])

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

initialize_pages(→ 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, Ellipsis]

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.