betty.extension.nginx package¶
Submodules¶
Module contents¶
Integrate Betty with nginx.
- final class betty.extension.nginx.Nginx[source]¶
Bases:
ConfigurableExtension[NginxConfiguration],GeneratorIntegrate 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:
- async generate(job_context: betty.generate.GenerationContext) None[source]¶
Generate (part of) a project’s site.
- Parameters:
job_context (
betty.generate.GenerationContext)- Return type:
- classmethod plugin_description() betty.locale.localizable.Localizable[source]¶
Get the human-readable long plugin description.
- Return type:
- classmethod plugin_id() str[source]¶
Get the plugin ID.
IDs are unique per plugin type: - A plugin repository MUST at most have a single plugin for any ID. - Different plugin repositories MAY each have a plugin with the same ID.
- Return type:
- classmethod plugin_label() betty.locale.localizable.Localizable[source]¶
Get the human-readable short plugin label.
- Return type: