forked from moveit/moveit_tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
73 lines (60 loc) · 3.68 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
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'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 = 'Melodic'
# The full version, including alpha/beta/rc tags.
release = 'Melodic'
# 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": "ros-planning",
"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 = 'melodic'
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/' + ros_distro + '-devel' + '/%s', ''),
'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'