Fix docs build with sphinx 1.8

openapi3
Cristi Vîjdea 2018-09-13 05:12:40 +03:00
parent e761e2da50
commit 5bdce56bba
3 changed files with 6 additions and 4 deletions

5
.gitignore vendored
View File

@ -1,7 +1,8 @@
node_modules/ node_modules/
testproj/db.sqlite3 testproj/db.sqlite3
testproj/staticfiles testproj/staticfiles
.vscode/ \.pytest_cache/
docs/\.doctrees/
# Created by .ignore support plugin (hsz.mobi) # Created by .ignore support plugin (hsz.mobi)
### Python template ### Python template
@ -159,5 +160,3 @@ com_crashlytics_export_strings.xml
crashlytics.properties crashlytics.properties
crashlytics-build.properties crashlytics-build.properties
fabric.properties fabric.properties
\.pytest_cache/

View File

@ -18,6 +18,7 @@
<sourceFolder url="file://$MODULE_DIR$/testproj" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/testproj" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/.pytest_cache" /> <excludeFolder url="file://$MODULE_DIR$/.pytest_cache" />
<excludeFolder url="file://$MODULE_DIR$/dist" /> <excludeFolder url="file://$MODULE_DIR$/dist" />
<excludeFolder url="file://$MODULE_DIR$/docs/.doctrees" />
<excludeFolder url="file://$MODULE_DIR$/docs/_build" /> <excludeFolder url="file://$MODULE_DIR$/docs/_build" />
<excludeFolder url="file://$MODULE_DIR$/htmlcov" /> <excludeFolder url="file://$MODULE_DIR$/htmlcov" />
<excludeFolder url="file://$MODULE_DIR$/src/drf_yasg.egg-info" /> <excludeFolder url="file://$MODULE_DIR$/src/drf_yasg.egg-info" />

View File

@ -155,7 +155,9 @@ texinfo_documents = [
'Miscellaneous'), 'Miscellaneous'),
] ]
autodoc_default_flags = ['private-members'] autodoc_default_options = {
'private-members': None
}
autodoc_member_order = 'bysource' autodoc_member_order = 'bysource'
autoclass_content = 'both' autoclass_content = 'both'
autodoc_mock_imports = [] autodoc_mock_imports = []