[docs] Adds Intersphinx

This commit is contained in:
Ask Solem 2016-03-22 11:35:52 -07:00
parent a8569f3a82
commit 21b3eb4804
1 changed files with 20 additions and 1 deletions

View File

@ -12,15 +12,22 @@ import kombu # noqa
from django.conf import settings # noqa
if not settings.configured:
settings.configure()
try:
from django import setup as django_setup
except ImportError:
pass
else:
django_setup()
# General configuration
# ---------------------
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.coverage',
'sphinx.ext.viewcode',
'sphinx.ext.intersphinx',
'sphinx.ext.pngmath',
]
# Add any paths that contain templates here, relative to this directory.
@ -81,6 +88,18 @@ html_sidebars = {
intersphinx_mapping = {
'python': ('http://docs.python.org/dev', None),
'celery': ('http://docs.celeryproject.org/en/lataest', None),
'djcelery': ('http://django-celery.readthedocs.org/en/latest', None),
'cyme': ('http://cyme.readthedocs.org/en/latest', None),
'amqp': ('http://amqp.readthedocs.org/en/latest', None),
'vine': ('http://vine.readthedocs.org/en/latest', None),
'redis': ('http://redis-py.readthedocs.org/en/latest', None),
'django': ('http://django.readthedocs.org/en/latest', None),
'boto': ('http://boto.readthedocs.org/en/latest', None),
'sqlalchemy': ('http://sqlalchemy.readthedocs.org/en/latest', None),
'kazoo': ('http://kazoo.readthedocs.org/en/latest', None),
'pyzmq': ('http://pyzmq.readthedocs.org/en/latest', None),
'msgpack': ('http://pythonhosted.org/msgpack-python/', None),
'sphinx': ('http://www.sphinx-doc.org/en/stable/', None),
}