|
| 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 |
| 7 | +import sys |
| 8 | + |
| 9 | +sys.path.insert(0, os.path.abspath('..')) |
| 10 | + |
| 11 | +# -- Project information ----------------------------------------------------- |
| 12 | +project = 'BABS' |
| 13 | +copyright = '2024, Contributors' |
| 14 | +author = 'Contributors' |
| 15 | + |
| 16 | +# -- General configuration --------------------------------------------------- |
| 17 | +extensions = [ |
| 18 | + 'sphinx.ext.autodoc', |
| 19 | + 'sphinx.ext.viewcode', |
| 20 | + 'sphinx.ext.napoleon', |
| 21 | + 'sphinx.ext.intersphinx', |
| 22 | +] |
| 23 | + |
| 24 | +templates_path = ['_templates'] |
| 25 | +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 26 | + |
| 27 | +# -- Options for HTML output ------------------------------------------------- |
| 28 | +html_theme = 'sphinx_rtd_theme' |
| 29 | +html_static_path = ['_static'] |
| 30 | + |
| 31 | +# -- Extension configuration ------------------------------------------------- |
| 32 | +intersphinx_mapping = { |
| 33 | + 'python': ('https://docs.python.org/3', None), |
| 34 | +} |
| 35 | + |
| 36 | +# Napoleon settings |
| 37 | +napoleon_google_docstring = True |
| 38 | +napoleon_numpy_docstring = True |
| 39 | +napoleon_include_init_with_doc = False |
| 40 | +napoleon_include_private_with_doc = False |
| 41 | +napoleon_include_special_with_doc = True |
| 42 | +napoleon_use_admonition_for_examples = False |
| 43 | +napoleon_use_admonition_for_notes = False |
| 44 | +napoleon_use_admonition_for_references = False |
| 45 | +napoleon_use_ivar = False |
| 46 | +napoleon_use_param = True |
| 47 | +napoleon_use_rtype = True |
| 48 | +napoleon_type_aliases = None |
0 commit comments