diff --git a/docs/conf.py b/docs/conf.py index 3317684..c253033 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,9 +17,12 @@ import os import sys -sys.path.insert(0, os.path.abspath('..')) +# Make sure the docs can be properly built. +import django from django.conf import settings -settings.configure() +sys.path.insert(0, os.path.abspath('..')) +settings.configure(INSTALLED_APPS=["djangoplugins"]) +django.setup() # If extensions (or modules to document with autodoc) are in another directory,