epythet.build

epythet.build(config, target='html', *, overrides=None)[source]

Run one build target for a loaded configuration; returns the output directory.

Parameters:
  • config (DocsConfig) – the project’s configuration

  • target (str) – a Sphinx builder name or one of github, gitlab, clean

  • overrides (dict | None) – configuration overrides forwarded to the generated conf.py

Return type:

Path | None