Skip to content
Snippets Groups Projects
Commit a43404a9 authored by Stefano Zacchiroli's avatar Stefano Zacchiroli
Browse files

swh.docs.conf: django/sphinx whac-a-mole, mock moar modules

parent 105546c0
No related branches found
No related tags found
No related merge requests found
......@@ -85,13 +85,28 @@ autodoc_default_flags = ['members', 'undoc-members']
# Do not import django as it needs to load its configuration file (ref: T763)
autodoc_mock_imports = [
'django',
'django.apps',
'django.db',
'django.db.models',
'django.db.models.fields',
'django.conf.urls',
'django.contrib.staticfiles.urls',
'django.core',
'django.core.cache',
'django.core.exceptions',
'django.core.wsgi',
'django.http',
'django.http.response',
'django.shortcuts',
'django.template',
'django.template.response',
'django.test',
'django.test.client',
'django.test.signals',
'django.utils.safestring',
'django.utils.six',
'django.utils.six.moves',
'django.utils.six.moves.http_client',
'django.views',
'django.views.generic',
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment