From 1c9d5e331531e850a0b1456323372a0cf27b29c3 Mon Sep 17 00:00:00 2001 From: Oliver Sauder Date: Fri, 29 Mar 2019 08:38:14 +0100 Subject: [PATCH] Adjust sphinx apidoc import as for version 2.0 requires Fix to make #605 work --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 5b2f42de..d0533d64 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,7 +27,7 @@ django.setup() # Auto-generate API documentation. -from sphinx.apidoc import main +from sphinx.ext.apidoc import main main(['sphinx-apidoc', '-e', '-T', '-M', '-f', '-o', 'apidoc', '../rest_framework_json_api']) # -- General configuration ------------------------------------------------