|
| 1 | +"""Standard Sphinx configuration module.""" |
| 2 | + |
| 3 | +# Configuration file for the Sphinx documentation builder. |
| 4 | +# |
| 5 | +# For the full list of built-in configuration values, see the documentation: |
| 6 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html |
| 7 | +from pathlib import Path |
| 8 | + |
| 9 | +# -- Project information ----------------------------------------------------- |
| 10 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information |
| 11 | + |
| 12 | +project = "structured-tutorials" |
| 13 | +copyright = "2025, Mathias Ertl" |
| 14 | +author = "Mathias Ertl" |
| 15 | +release = "0.1.0" |
| 16 | + |
| 17 | +# -- General configuration --------------------------------------------------- |
| 18 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration |
| 19 | + |
| 20 | +extensions = [ |
| 21 | + "sphinx_rtd_theme", |
| 22 | + "sphinxcontrib.spelling", |
| 23 | + "structured_tutorials.sphinx", |
| 24 | +] |
| 25 | +html_theme = "sphinx_rtd_theme" |
| 26 | + |
| 27 | +DOC_ROOT = Path(__file__).parent |
| 28 | +tutorial_root = DOC_ROOT / "tutorials" |
| 29 | + |
| 30 | +templates_path = ["_templates"] |
| 31 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
| 32 | + |
| 33 | +# Nitpicky mode warns about references wher the target cannot be found. |
| 34 | +nitpicky = True |
| 35 | + |
| 36 | +# -- Options for HTML output ------------------------------------------------- |
| 37 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output |
| 38 | + |
| 39 | +# html_theme = "alabaster" |
| 40 | +# html_static_path = ["_static"] |
0 commit comments