forked from moveit/moveit2_tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
156 lines (142 loc) · 4.41 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
151
152
153
154
155
156
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 = u"moveit2_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 = "Foxy"
# The full version, including alpha/beta/rc tags.
release = "Foxy"
# 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_baseurl = "moveit2_tutorials.picknik.ai"
html_context = {
"display_github": True,
"github_user": "ros-planning",
"github_repo": "moveit2_tutorials",
"github_version": "main",
"moveit1_user": "ros-planning",
"moveit1_repo": "moveit_tutorials",
"moveit1_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
ros1_distro = "noetic"
extlinks = {
"codedir": (
"https://github.com/"
+ html_context["github_user"]
+ "/moveit2_tutorials/blob/"
+ html_context["github_version"]
+ "/doc/%s",
"",
),
"moveit_codedir": (
"https://github.com/"
+ html_context["moveit1_user"]
+ "/moveit/blob/"
+ html_context["moveit1_version"]
+ "/%s",
"",
),
"panda_codedir": (
"https://github.com/"
+ html_context["moveit1_user"]
+ "/panda_moveit_config/blob/"
+ "melodic-devel"
+ "/%s",
"",
), # TODO(dlu): use ros_distro when noetic-devel branch is available
# NEED DOCS.ROS.ORG equivelent for foxy
"rosdocs": ("http://docs.ros.org/" + ros1_distro + "/api/%s", ""),
"moveit_core": (
"http://docs.ros.org/"
+ ros1_distro
+ "/api/moveit_core/html/cpp/classmoveit_1_1core_1_1%s.html",
"",
),
"planning_scene": (
"http://docs.ros.org/"
+ ros1_distro
+ "/api/moveit_core/html/cpp/classplanning__scene_1_1%s.html",
"",
),
"planning_scene_monitor": (
"http://docs.ros.org/"
+ ros1_distro
+ "/api/moveit_ros_planning/html/classplanning__scene__monitor_1_1%s.html",
"",
),
"collision_detection_struct": (
"http://docs.ros.org/"
+ ros1_distro
+ "/api/moveit_core/html/cpp/structcollision__detection_1_1%s.html",
"",
),
"collision_detection_class": (
"http://docs.ros.org/"
+ ros1_distro
+ "/api/moveit_core/html/cpp/classcollision__detection_1_1%s.html",
"",
),
"kinematic_constraints": (
"http://docs.ros.org/"
+ ros1_distro
+ "/api/moveit_core/html/cpp/classkinematic__constraints_1_1%s.html",
"",
),
"moveit_core_files": (
"http://docs.ros.org/" + ros1_distro + "/api/moveit_core/html/cpp/%s.html",
"",
),
"moveit_website": ("http://moveit.ros.org/%s/", ""),
"locked_planning_scene": (
"http://docs.ros.org/"
+ ros1_distro
+ "/api/moveit_ros_planning/html/namespaceplanning__scene__monitor.html",
"",
),
"planning_interface": (
"http://docs.ros.org/"
+ ros1_distro
+ "/api/moveit_ros_planning_interface/html/classmoveit_1_1planning__interface_1_1%s.html",
"",
),
"sensor_msgs": (
"http://docs.ros.org/" + ros1_distro + "/api/sensor_msgs/html/msg/%s.html",
"",
),
"moveit_msgs": (
"http://docs.ros.org/" + ros1_distro + "/api/moveit_msgs/html/msg/%s.html",
"",
),
"tf2": (
"http://docs.ros.org/"
+ ros1_distro
+ "/api/tf2_ros/html/c++/classtf2__ros_1_1%s.html",
"",
),
}
# Output file base name for HTML help builder.
htmlhelp_basename = "MoveItDocumentation"