-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
103 lines (80 loc) · 2.84 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import sphinx_colorschemed_images
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'sphinx-colorschemed-images'
copyright = '2024, Daniela Rus Morales'
author = 'Daniela Rus Morales'
docs_url = "https://sphinx-colorschemed-images.readthedocs.io/{release}/"
version = ".".join(sphinx_colorschemed_images.__version__.split(".")[:2])
release = sphinx_colorschemed_images.__version__
releases = [
"latest",
release,
]
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
'myst_parser',
'sphinx_design',
'sphinx_copybutton',
'sphinx_colorschemed_images',
]
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
language = "en"
today_fmt = '%A %d. %B %Y, %H:%M'
html_theme = 'sphinx_nefertiti'
html_style = ["custom.css"]
html_static_path = ['static']
html_favicon = "static/diamond-half.svg"
html_theme_options = {
"documentation_font": "Open Sans",
"documentation_font_size": "1.0rem",
"monospace_font": "Ubuntu Mono",
"monospace_font_size": "1.1rem",
"style": "purple",
"pygments_light_style": "pastie",
"pygments_dark_style": "dracula",
"logo": "diamond-half.svg",
"logo_width": 24,
"logo_height": 24,
"logo_alt": "sphinx-colorschemed-images",
"repository_url": "https://github.com/danirus/sphinx-colorschemed-images",
"repository_name": "sphinx-colorschemed-images",
"current_version": release,
"versions": [
(item, docs_url.format(release=item)) for item in releases
],
"header_links": [
{
"text": "Home",
"link": "index",
},
{
"text": "Release Notes",
"link": "release-notes",
}
],
"footer_links": [
{
"text": "Documentation",
"link": "https://sphinx-colorschemed-images.readthedocs.com",
}, {
"text": "Package",
"link": "https://pypi.com/sphinx-colorschemed-images",
}, {
"text": "Repository",
"link": "https://github.com/danirus/sphinx-colorschemed-images",
}, {
"text": "Issues",
"link": "https://github.com/danirus/sphinx-colorschemed-images/issues",
},
],
}
csi_add_script_to_html_output = False