httk.web.model¶
Submodules¶
Exceptions¶
Common base class for all non-exit exceptions. |
|
Common base class for all non-exit exceptions. |
|
Common base class for all non-exit exceptions. |
Classes¶
Package Contents¶
- class httk.web.model.SiteConfig[source]¶
- srcdir: pathlib.Path¶
- classmethod from_srcdir(srcdir: str | pathlib.Path, *, baseurl: str | None = None, host_static: str | None = None, compatibility_mode: bool = False, config_name: str = 'config', publish_use_urls_without_ext: bool = True) Self[source]¶
- property content_dir: pathlib.Path¶
- property static_dir: pathlib.Path¶
- property template_dir: pathlib.Path¶
- property functions_dir: pathlib.Path¶
- exception httk.web.model.FunctionInjectionError(message: str)[source]¶
Bases:
WebErrorCommon base class for all non-exit exceptions.
- exception httk.web.model.NotFoundError(message: str = 'Not Found')[source]¶
Bases:
WebErrorCommon base class for all non-exit exceptions.
- exception httk.web.model.WebError(message: str, *, status_code: int = 500)[source]¶
Bases:
ExceptionCommon base class for all non-exit exceptions.
- status_code = 500¶
- class httk.web.model.PublishReport[source]¶
- written_files: list[pathlib.Path] = []¶