Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix external docs mappings #757

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tf2_kdl/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
'http://docs.python.org/': None,
'http://docs.opencv.org/3.0-last-rst/': None,
'http://docs.scipy.org/doc/numpy': None
'python': ('http://docs.python.org/3', None),
'opencv': ('http://docs.opencv.org/3.0-last-rst', None),
'numpy': ('http://docs.scipy.org/doc/numpy', None)
}
25 changes: 20 additions & 5 deletions tf2_ros/doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,17 @@

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.imgmath', 'sphinx_rtd_theme', 'breathe', 'exhale']
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
'sphinx.ext.githubpages',
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand All @@ -36,8 +46,13 @@
# The master toctree document.
master_doc = 'index'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path .
exclude_patterns = []

# General information about the project.
project = u'tf'
project = u'tf2_ros'
copyright = u'2009, Willow Garage, Inc.'

# The version info for the project you're documenting, acts as replacement for
Expand Down Expand Up @@ -215,9 +230,9 @@

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
'http://docs.python.org/': None,
'http://docs.opencv.org/3.0-last-rst/': None,
'http://docs.scipy.org/doc/numpy': None
'python': ('http://docs.python.org/3', None),
'opencv': ('http://docs.opencv.org/3.0-last-rst', None),
'numpy': ('http://docs.scipy.org/doc/numpy', None)
}

autoclass_content = "both"
2 changes: 1 addition & 1 deletion tf2_ros_py/doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
# -- Options for intersphinx extension ---------------------------------------

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/': None}
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}

# -- Options for todo extension ----------------------------------------------

Expand Down