-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
41 lines (31 loc) · 1.07 KB
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Configuration file for the Sphinx documentation builder.
import os
import sys
sys.path.insert(0, os.path.abspath('../../src'))
import example_package_samuelhomberg
version = example_package_samuelhomberg.__version__
project = 'example_package_samuelhomberg'
copyright = '2024, Samuel Homberg'
author = 'Samuel K. R. Homberg'
release = version
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
'sphinx.ext.napoleon',
'sphinx.ext.doctest',
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx_rtd_theme',
'sphinx.ext.viewcode',
]
templates_path = ['_templates']
exclude_patterns = []
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
html_logo = "example_logo.svg"
html_favicon = 'example_favicon.svg'
html_theme_options = {
'logo_only': True,
}