httk.web.api

Functions

create_asgi_app(→ starlette.applications.Starlette)

serve(→ None)

publish(→ httk.web.model.page.PublishReport)

Module Contents

httk.web.api.create_asgi_app(srcdir: str | pathlib.Path, *, baseurl: str | None = None, compatibility_mode: bool = False, config_name: str = 'config', debug: bool = False) starlette.applications.Starlette[source]
httk.web.api.serve(srcdir: str | pathlib.Path, *, host: str = '127.0.0.1', port: int = 8080, baseurl: str | None = None, compatibility_mode: bool = False, config_name: str = 'config', debug: bool = False) None[source]
httk.web.api.publish(srcdir: str | pathlib.Path, outdir: str | pathlib.Path, baseurl: str, *, host_static: str | None = None, compatibility_mode: bool = False, config_name: str = 'config', use_urls_without_ext: bool | None = None) httk.web.model.page.PublishReport[source]