-
Notifications
You must be signed in to change notification settings - Fork 8
/
conf.py
74 lines (60 loc) · 1.98 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
# -*- coding: utf-8 -*-
# -- General configuration ------------------------------------------------
needs_sphinx = '6.2'
extensions = ['cps', 'autosectionlabel']
source_suffix = '.rst'
exclude_patterns = ['AUTHORS.rst', 'THANKS.rst']
master_doc = 'index'
# General information about the project.
project = 'Common Package Specification'
copyright = '2024, Matthew Woehlke'
version_info = (0, 12, 0)
release = '.'.join(map(str, version_info))
version = '.'.join(map(str, version_info[:2]))
language = 'en'
primary_domain = 'cps'
# default_role = None
highlight_language = 'json'
pygments_style = 'cps.pygments_styles.CpsDataStyle'
# -- Options for JSON schema output ---------------------------------------
schema_filename = 'cps.schema.json'
schema_root_object = 'package'
schema_id = 'https://cps-org.github.io/cps/' + schema_filename
schema_indent = 2
# -- Options for HTML output ----------------------------------------------
html_style = 'cps.css'
html_theme = 'default'
html_theme_options = {
'footerbgcolor': '#00182d',
'footertextcolor': '#ffffff',
'sidebarbgcolor': '#e4ece8',
'sidebarbtncolor': '#00a94f',
'sidebartextcolor': '#333333',
'sidebarlinkcolor': '#00a94f',
'relbarbgcolor': '#00529b',
'relbartextcolor': '#ffffff',
'relbarlinkcolor': '#ffffff',
'bgcolor': '#ffffff',
'textcolor': '#444444',
'headbgcolor': '#f2f2f2',
'headtextcolor': '#003564',
'headlinkcolor': '#3d8ff2',
'linkcolor': '#2b63a8',
'visitedlinkcolor': '#2b63a8',
'codebgcolor': '#eeeeee',
'codetextcolor': '#333333',
'bodyfont': "'Noto Sans', sans-serif",
'headfont': "'Noto Sans', sans-serif",
}
html_title = f'{project} v{release}'
html_favicon = '_static/cps-favicon.ico'
html_static_path = ['_static']
html_sidebars = {
'**': [
'globaltoc.html',
'relations.html',
'sourcelink.html',
'searchbox.html'
]
}
html_domain_indices = False