Note
Added by v2025.1.11
This is configuration loader from pyproject.toml
.
/ProjectRoot
- pyproject.toml
- docs/
- conf.py
Write your coufiguration into pyproject.toml
from conf.py
.
# Root section is "tool.sphinx-build.YOUR_DOCUMENT_DIR"
[tool.sphinx-build.docs]
copyright = "2024, Kazuya Takei"
# -- General configuration
extensions = [
# Set extensions...
]
Write your coufiguration into pyproject.toml
from conf.py
.
from atsphinx.toybox.pyproject import load
load()
Build like always.
make html