From 5bdce56bba8d8a69365dc21a60f9a1f964446d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=20V=C3=AEjdea?= Date: Thu, 13 Sep 2018 05:12:40 +0300 Subject: [PATCH] Fix docs build with sphinx 1.8 --- .gitignore | 5 ++--- .idea/drf-yasg.iml | 1 + docs/conf.py | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 205c9f1..da70062 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,8 @@ node_modules/ testproj/db.sqlite3 testproj/staticfiles -.vscode/ +\.pytest_cache/ +docs/\.doctrees/ # Created by .ignore support plugin (hsz.mobi) ### Python template @@ -159,5 +160,3 @@ com_crashlytics_export_strings.xml crashlytics.properties crashlytics-build.properties fabric.properties - -\.pytest_cache/ diff --git a/.idea/drf-yasg.iml b/.idea/drf-yasg.iml index b236c83..3b4a1b5 100644 --- a/.idea/drf-yasg.iml +++ b/.idea/drf-yasg.iml @@ -18,6 +18,7 @@ + diff --git a/docs/conf.py b/docs/conf.py index af5235e..6349644 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -155,7 +155,9 @@ texinfo_documents = [ 'Miscellaneous'), ] -autodoc_default_flags = ['private-members'] +autodoc_default_options = { + 'private-members': None +} autodoc_member_order = 'bysource' autoclass_content = 'both' autodoc_mock_imports = []