betty.extension.nginx package¶
Submodules¶
Module contents¶
Integrate Betty with nginx.
- class betty.extension.nginx.Nginx[source]¶
Bases:
ConfigurableExtension[NginxConfiguration],UserFacingExtension,Generator,GuiBuilder,CommandProviderIntegrate Betty with nginx (and Docker).
- Parameters:
args (
typing.Any)configuration (
typing.Optional[typing.TypeVar(_ConfigurationT, bound=betty.config.Configuration)])kwargs (
typing.Any)
- classmethod assets_directory_path() pathlib.Path | None[source]¶
Return the path on disk where the extension’s assets are located.
This may be anywhere in your Python package.
- Return type:
- classmethod default_configuration() betty.extension.nginx.config.NginxConfiguration[source]¶
Get this extension’s default configuration.
- Return type:
- classmethod description() betty.locale.Localizable[source]¶
Get the human-readable extension description.
- Return type:
- async generate(job_context: betty.generate.GenerationContext) None[source]¶
Generate (part of) a project’s site.
- Parameters:
job_context (
betty.generate.GenerationContext)- Return type:
- gui_build() betty.extension.nginx.gui._NginxGuiWidget[source]¶
Build this extension’s Graphical User Interface component.
- Return type:
betty.extension.nginx.gui._NginxGuiWidget
- classmethod label() betty.locale.Localizable[source]¶
Get the human-readable extension label.
- Return type: