|
@@ -33,10 +33,18 @@ app.conf.update(BROKER_URL="memory://",
|
|
extensions = ['sphinx.ext.autodoc',
|
|
extensions = ['sphinx.ext.autodoc',
|
|
'sphinx.ext.coverage',
|
|
'sphinx.ext.coverage',
|
|
'sphinx.ext.pngmath',
|
|
'sphinx.ext.pngmath',
|
|
|
|
+ 'sphinx.ext.viewcode',
|
|
|
|
+ 'sphinx.ext.coverage',
|
|
'sphinx.ext.intersphinx',
|
|
'sphinx.ext.intersphinx',
|
|
'sphinxcontrib.issuetracker',
|
|
'sphinxcontrib.issuetracker',
|
|
'celerydocs']
|
|
'celerydocs']
|
|
|
|
|
|
|
|
+def linkcode_resolve(domain, info):
|
|
|
|
+ if domain != 'py' or not info['module']:
|
|
|
|
+ return
|
|
|
|
+ filename = info['module'].replace('.', '/')
|
|
|
|
+ return 'http://github.com/celery/celery/tree/master/%s.py' % (filename, )
|
|
|
|
+
|
|
html_show_sphinx = False
|
|
html_show_sphinx = False
|
|
|
|
|
|
# Add any paths that contain templates here, relative to this directory.
|
|
# Add any paths that contain templates here, relative to this directory.
|