-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
64 lines (48 loc) · 1.67 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
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
project = 'quardCRT'
copyright = '2023-2024, Quard(qiaoqiming)'
author = 'Quard(qiaoqiming)'
extensions = ['myst_parser', 'sphinxcontrib.googleanalytics']
templates_path = ['_templates']
html_static_path = ['_static']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
language = 'en'
html_theme = 'sphinx_material'
html_title = 'Home'
html_sidebars = {
"**": ["logo-text.html", "globaltoc.html", "localtoc.html", "searchbox.html"]
}
googleanalytics_enabled = True
googleanalytics_id = 'G-10XGZR5Z3C'
html_theme_options = {
'nav_title': 'quardCRT',
'color_primary': 'black',
'color_accent': 'light-blue',
'repo_url': 'https://github.com/QQxiaoming/quardCRT',
'repo_name': 'quardCRT',
"logo_icon": "",
'globaltoc_depth': 1,
'globaltoc_collapse': True,
'globaltoc_includehidden': False,
"nav_links": [
{"href": "installation","internal": True,"title": "Installation"},
],
}
source_suffix = {
'.rst': 'restructuredtext',
'.md': 'markdown',
}
def setup(app):
app.add_css_file('toctree.css')