-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathconf.py
More file actions
73 lines (58 loc) · 1.79 KB
/
conf.py
File metadata and controls
73 lines (58 loc) · 1.79 KB
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
# -*- coding: utf-8 -*-
import os
import re
import sys
sys.path.insert(0, os.path.abspath('_ext'))
# -- General configuration ------------------------------------------------
needs_sphinx = '5.3'
extensions = ['cps', 'autosectionlabel']
source_suffix = '.rst'
exclude_patterns = ['AUTHORS.rst', 'THANKS.rst']
master_doc = 'index'
# General information about the project.
project = u'Common Package Specification'
copyright = u'2023, Matthew Woehlke'
release = '.'.join(map(str, [0, 9, 1]))
version = re.match('\\d+\.\\d+', release).group(0)
language = 'en'
primary_domain = 'cps'
#default_role = None
highlight_language = 'none'
pygments_style = 'sphinx'
# -- 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