-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathconf.py
More file actions
48 lines (39 loc) · 1.15 KB
/
conf.py
File metadata and controls
48 lines (39 loc) · 1.15 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
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
project = 'Robot Control Stack'
author = 'Tobias Jülg'
release = '0.4'
extensions = [
'myst_parser',
'sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
]
templates_path = ['_templates']
exclude_patterns = []
html_theme = 'pydata_sphinx_theme'
html_static_path = ['_static']
html_logo = "images/rcs_logo_multiline.svg"
html_favicon = "images/favicon.ico"
html_theme_options = {
"github_url": "https://github.com/RobotControlStack/robot-control-stack",
"use_edit_page_button": True,
"show_prev_next": False,
"navbar_start": ["navbar-logo"], # ensures the logo is shown
"logo": {
"image_light": "images/rcs_logo_multiline.svg", # your PNG
"image_dark": "images/rcs_logo_multiline.svg", # can be same or a dark-mode version
},
}
html_context = {
"github_user": "RobotControlStack",
"github_repo": "robot-control-stack",
"github_version": "main", # branch name
"doc_path": "docs", # relative path in the repo where your docs live
}
myst_enable_extensions = [
"colon_fence",
"deflist",
"linkify",
]