| 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 |
|
| 7 |
# -- Project information ----------------------------------------------------- |
| 8 |
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information |
| 9 |
|
| 10 |
project = "anytree" |
| 11 |
copyright = "2016-2023, c0fec0de" |
| 12 |
author = "c0fec0de" |
| 13 |
description = "Python Tree Data" |
| 14 |
|
| 15 |
# -- General configuration --------------------------------------------------- |
| 16 |
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration |
| 17 |
|
| 18 |
extensions = [ |
| 19 |
"sphinx.ext.autodoc", |
| 20 |
"sphinx.ext.doctest", |
| 21 |
"sphinx.ext.viewcode", |
| 22 |
"sphinx.ext.napoleon", |
| 23 |
"sphinx.ext.intersphinx", |
| 24 |
] |
| 25 |
|
| 26 |
templates_path = ["_templates"] |
| 27 |
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
| 28 |
|
| 29 |
source_suffix = ".rst" |
| 30 |
|
| 31 |
# -- Options for HTML output ------------------------------------------------- |
| 32 |
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output |
| 33 |
|
| 34 |
html_theme = "sphinxdoc" |
| 35 |
html_static_path = ["static"] |
| 36 |
|
| 37 |
intersphinx_mapping = { |
| 38 |
"python": ("http://docs.python.org/3", None), |
| 39 |
} |
| 40 |
intersphinx_cache_limit = 1 |
| 41 |
|
| 42 |
autodoc_default_options = { |
| 43 |
"members": None, # Include all members (methods). |
| 44 |
"member-order": "bysource", |
| 45 |
} |
| 46 |
autoclass_content = "both" |