betty.extension.nginx package

Submodules

Module contents

Integrate Betty with nginx.

class betty.extension.nginx.Nginx(*args, configuration=None, **kwargs)[source]

Bases: ConfigurableExtension[NginxConfiguration], UserFacingExtension, Generator, ServerProvider, GuiBuilder, CommandProvider

Parameters:
*args

configuration=None

**kwargs

classmethod assets_directory_path()[source]

Return the path on disk where the extension’s assets are located.

This may be anywhere in your Python package.

Return type:

pathlib.Path | None

property commands : dict[str, Command]
classmethod default_configuration()[source]
Return type:

betty.extension.nginx.config.NginxConfiguration

classmethod description()[source]
Return type:

betty.locale.Str

async generate(job_context)[source]
Parameters:
job_context

Return type:

None

gui_build()[source]
Return type:

betty.extension.nginx.gui._NginxGuiWidget

property https : bool
classmethod label()[source]
Return type:

betty.locale.Str

property servers : Sequence[Server]
property www_directory_path : str