|
| 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 | +import os, sys |
| 7 | + |
| 8 | +# -- Project information ----------------------------------------------------- |
| 9 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information |
| 10 | + |
| 11 | +project = 'netauth' |
| 12 | +copyright = '2024, classabbyamp' |
| 13 | +author = 'classabbyamp' |
| 14 | +release = '0.0.1' |
| 15 | + |
| 16 | +# -- General configuration --------------------------------------------------- |
| 17 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration |
| 18 | + |
| 19 | +extensions = [ |
| 20 | + 'sphinx.ext.autodoc', |
| 21 | + 'sphinx_autodoc_typehints', |
| 22 | + 'enum_tools.autoenum', |
| 23 | +] |
| 24 | + |
| 25 | +templates_path = ['_templates'] |
| 26 | +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 27 | + |
| 28 | +autodoc_member_order = 'bysource' |
| 29 | +autodoc_type_aliases = { |
| 30 | + 'KVDict': 'dict[str, list[str]]', |
| 31 | +} |
| 32 | + |
| 33 | +sys.path.insert(0, os.path.abspath('..')) |
| 34 | + |
| 35 | +# -- Options for HTML output ------------------------------------------------- |
| 36 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output |
| 37 | + |
| 38 | +html_theme = 'sphinx_rtd_theme' |
| 39 | +html_static_path = ['_static'] |
| 40 | + |
| 41 | +html_logo = "https://www.netauth.org/img/NetAuthLock.png" |
| 42 | +html_theme_options = { |
| 43 | + 'collapse_navigation': False, |
| 44 | + 'navigation_depth': 2, |
| 45 | +} |
0 commit comments