Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:AL:TW
python-ncclient
intersphinx-mapping.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File intersphinx-mapping.patch of Package python-ncclient
--- docs/source/conf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -12,6 +12,7 @@ # serve to show the default. import sys, os +import sphinx # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -196,6 +197,9 @@ latex_logo = "_static/logo.png" # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'http://docs.python.org/': None} +if sphinx.version_info[0] < 8: + intersphinx_mapping = {"http://docs.python.org/": None} +else: + intersphinx_mapping = {'python': ('https://docs.python.org/', None)} autoclass_content = 'both'
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor