epythet.sphinx_conf¶
The star-import target for a project’s docsrc/conf.py.
A generated conf.py is two lines:
from epythet.sphinx_conf import * # noqa: F401,F403
# optional overrides below, e.g. html_theme = "alabaster"
Importing this module locates the project (the EPYTHET_PROJECT_DIR
environment variable, else the nearest ancestor of the current directory with a
pyproject.toml or setup.cfg; Sphinx runs conf.py from the source
directory), loads its DocsConfig, applies any overrides
passed in the EPYTHET_OVERRIDES environment variable (JSON, set by
epythet.build for command-line flags such as --ignore), and exports
the settings from epythet.confgen.sphinx_settings() as module globals.
Module Attributes
Environment variable naming the project root (set by |
|
Environment variable carrying JSON config overrides (set by |
|
The |
- epythet.sphinx_conf.OVERRIDES_ENV = 'EPYTHET_OVERRIDES'¶
Environment variable carrying JSON config overrides (set by
epythet make).
- epythet.sphinx_conf.PROJECT_DIR_ENV = 'EPYTHET_PROJECT_DIR'¶
Environment variable naming the project root (set by
epythet make).
- epythet.sphinx_conf.epythet_config = DocsConfig(project_dir=PosixPath('/home/runner/work/epythet/epythet'), name='epythet', version='0.2.12', author='', description='Beautiful, correct documentation from a Python package, with no boilerplate: Sphinx, README landing page, nested API tree, themes, docstring normalizer, agent-facing outputs, GitHub Pages', display_name='epythet', copyright='', repo_url='https://github.com/i2mint/epythet', theme='auto', accent='', mode='auto', theme_options={}, readme={'humor': True, 'agentic_first': True}, ignore=('tests/', 'scrap/', 'examples/', 'ledger/'), api_generator='autosummary', agent_outputs=True, aggregates=('md',), ai_artifacts=True, ai_artifacts_template='', provenance=True, provenance_template='', package_dir=PosixPath('/home/runner/work/epythet/epythet/epythet'), docs_dir='docsrc')¶
The
DocsConfigthis configuration was generated from.