-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconf.py
More file actions
54 lines (39 loc) · 1.47 KB
/
conf.py
File metadata and controls
54 lines (39 loc) · 1.47 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
import sys
import os
project = 'ROS4HRI: ROS for Human-Robot Interaction'
copyright = 'PAL Robotics S.L.'
author = 'Séverin Lemaignan'
release = '0.1'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
sys.path.append(os.path.abspath("_ext"))
sys.path.append(os.path.abspath("src"))
extensions = ['myst_parser',
'sphinx_tabs.tabs',
'ros-roles',
'sphinx.ext.autodoc',
'breathe',
'sphinxcontrib.mermaid']
breathe_projects = {"libhri": "_build/doxygen/xml"}
breathe_default_project = "libhri"
autodoc_mock_imports = ["geometry_msgs", "numpy"]
templates_path = ['_templates']
exclude_patterns = ['README.md', '_build',
'Thumbs.db', '.DS_Store', 'src', '.venv', "tpl"]
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'sphinx_rtd_theme'
html_theme_options = {
'includehidden': False,
}
html_static_path = ['_static', 'images']
html_extra_path = ['skills.json']
html_css_files = ["style/main.css"]
html_logo = "images/logo_small.png"
html_favicon = "images/icon.png"
def setup(app):
app.add_js_file(
'https://gc.zgo.at/count.js',
loading_method='async',
**{'data-goatcounter': 'https://ros4hri.goatcounter.com/count'}
)