|
| 1 | +# Configuration file for the Sphinx documentation builder. |
| 2 | +# |
| 3 | +# For the full list of built-in configuration values, see the documentation: |
| 4 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html |
| 5 | + |
| 6 | +# -- Project information ----------------------------------------------------- |
| 7 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information |
| 8 | +import os |
| 9 | +import sys |
| 10 | + |
| 11 | +sys.path.insert(0, os.path.abspath(os.path.join("..", "..", "src"))) |
| 12 | + |
| 13 | +project = "fred-py-api" |
| 14 | +copyright = "2024, Zachary Spar" |
| 15 | +author = "Zachary Spar" |
| 16 | +release = "1.1.3" |
| 17 | + |
| 18 | +# -- General configuration --------------------------------------------------- |
| 19 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration |
| 20 | + |
| 21 | +extensions = [ |
| 22 | + "sphinx.ext.duration", |
| 23 | + "sphinx.ext.doctest", |
| 24 | + "sphinx.ext.autodoc", |
| 25 | + "sphinx.ext.napoleon", |
| 26 | + "sphinx.ext.autosummary", |
| 27 | + "sphinx.ext.intersphinx", |
| 28 | +] |
| 29 | + |
| 30 | +intersphinx_mapping = { |
| 31 | + "python": ("https://docs.python.org/3/", None), |
| 32 | + "sphinx": ("https://www.sphinx-doc.org/en/master/", None), |
| 33 | +} |
| 34 | + |
| 35 | +intersphinx_disabled_domains = ["std"] |
| 36 | + |
| 37 | +templates_path = ["_templates"] |
| 38 | + |
| 39 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
| 40 | + |
| 41 | +# -- Options for HTML output ------------------------------------------------- |
| 42 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output |
| 43 | + |
| 44 | +html_theme = "alabaster" |
| 45 | +html_static_path = ["_static"] |
0 commit comments