-
Notifications
You must be signed in to change notification settings - Fork 695
/
conf.py
150 lines (137 loc) · 4.17 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
import sys, os
sys.path += [os.path.abspath("_scripts")]
extensions = ["sphinx.ext.extlinks", "tutorialformatter"]
# The master toctree document.
master_doc = "index"
# The suffix of source filenames.
source_suffix = ".rst"
project = "moveit_tutorials"
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = "Noetic"
# The full version, including alpha/beta/rc tags.
release = "Noetic"
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = "sphinx"
# Name of the style used to generate the html documentation
html_theme = "sphinx_rtd_theme"
html_theme_path = [
"_themes",
]
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
html_context = {
"display_github": True,
"github_user": "moveit",
"github_repo": "moveit_tutorials",
"github_version": "master",
"conf_py_path": "",
"source_suffix": source_suffix,
"css_files": ["_static/override.css"],
"favicon": "favicon.ico",
# "logo": "logo.png"
}
# Add any paths that contain custom themes here, relative to this directory.
# Links
ros_distro = "noetic"
extlinks = {
"codedir": (
"https://github.com/"
+ html_context["github_user"]
+ "/moveit_tutorials/blob/"
+ html_context["github_version"]
+ "/doc/%s",
"",
),
"moveit_codedir": (
"https://github.com/"
+ html_context["github_user"]
+ "/moveit/blob/"
+ html_context["github_version"]
+ "/%s",
"",
),
"panda_codedir": (
"https://github.com/"
+ html_context["github_user"]
+ "/panda_moveit_config/blob/"
+ "melodic-devel"
+ "/%s",
"",
), # TODO(dlu): use ros_distro when noetic-devel branch is available
"rosdocs": ("http://docs.ros.org/" + ros_distro + "/api/%s", ""),
"moveit_core": (
"http://docs.ros.org/"
+ ros_distro
+ "/api/moveit_core/html/classmoveit_1_1core_1_1%s.html",
"",
),
"planning_scene": (
"http://docs.ros.org/"
+ ros_distro
+ "/api/moveit_core/html/classplanning__scene_1_1%s.html",
"",
),
"planning_scene_monitor": (
"http://docs.ros.org/"
+ ros_distro
+ "/api/moveit_ros_planning/html/classplanning__scene__monitor_1_1%s.html",
"",
),
"collision_detection_struct": (
"http://docs.ros.org/"
+ ros_distro
+ "/api/moveit_core/html/structcollision__detection_1_1%s.html",
"",
),
"collision_detection_class": (
"http://docs.ros.org/"
+ ros_distro
+ "/api/moveit_core/html/classcollision__detection_1_1%s.html",
"",
),
"kinematic_constraints": (
"http://docs.ros.org/"
+ ros_distro
+ "/api/moveit_core/html/classkinematic__constraints_1_1%s.html",
"",
),
"moveit_core_files": (
"http://docs.ros.org/" + ros_distro + "/api/moveit_core/html/%s.html",
"",
),
"moveit_website": ("http://moveit.ros.org/%s/", ""),
"locked_planning_scene": (
"http://docs.ros.org/"
+ ros_distro
+ "/api/moveit_ros_planning/html/namespaceplanning__scene__monitor.html",
"",
),
"planning_interface": (
"http://docs.ros.org/"
+ ros_distro
+ "/api/moveit_ros_planning_interface/html/classmoveit_1_1planning__interface_1_1%s.html",
"",
),
"sensor_msgs": (
"http://docs.ros.org/" + ros_distro + "/api/sensor_msgs/html/msg/%s.html",
"",
),
"moveit_msgs": (
"http://docs.ros.org/" + ros_distro + "/api/moveit_msgs/html/msg/%s.html",
"",
),
"tf2": (
"http://docs.ros.org/"
+ ros_distro
+ "/api/tf2_ros/html/c++/classtf2__ros_1_1%s.html",
"",
),
}
# Output file base name for HTML help builder.
htmlhelp_basename = "MoveItDocumentation"