Commit fa042fe5 authored by Michael Fladischer's avatar Michael Fladischer Committed by Brian May

use local objects.inv where possible

 Upstream uses intersphinx mappings that fetch the objects.inv for python,
 kombu and django-celery by HTTP from a remote host. Using the local
 objects.inv from python and kombu enables the package to build without
 network connection.
Forwarded: not-needed
Last-Update: 2011-12-27

Patch-Name: intersphinx.patch
parent d7b31c98
......@@ -75,13 +75,23 @@ unused_docs = [
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True
intersphinx_mapping = {
'python': ('', None),
'kombu': ('', None),
'djcelery': ('', None),
'cyme': ('', None),
'amqp': ('', None),
def check_object_path(key, url, path):
if os.path.isfile(path):
return {key: (url, path)}
return {}
intersphinx_mapping = {}
+ '.'.join([str(x) for x in sys.version_info[0:2]])
+ '/html/objects.inv'))
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'colorful'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment