oct
Loading...
Searching...
No Matches
front_page.py File Reference

Go to the source code of this file.

Classes

class  oct.docs.front_page.FrontPageError

Namespaces

namespace  oct
namespace  oct.docs
namespace  oct.docs.front_page

Functions

Path oct.docs.front_page.resolve_template_path (Path ws_root)
dict[str, Any] oct.docs.front_page.build_render_context (Workspace workspace)
Path|None oct.docs.front_page.copy_assets (Path ws_root, Path site_root)
Path oct.docs.front_page.render_front_page (Path ws_root, Path site_root, Workspace workspace)

Variables

Path oct.docs.front_page._BUNDLED_TEMPLATE_DIR = Path(__file__).resolve().parents[1] / "templates" / "docs_hub"
Path oct.docs.front_page._WORKSPACE_TEMPLATE_REL = Path("docs") / "_hub" / "index.html.j2"
Path oct.docs.front_page._WORKSPACE_ASSETS_REL = Path("assets")
Path oct.docs.front_page._BUNDLED_ASSETS_DIR = _BUNDLED_TEMPLATE_DIR / "_assets"