Skip to content

Commit

Permalink
Trying minimal Django settings for hopefully fewer docs requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejcorey committed Jun 15, 2024
1 parent d7ed5d3 commit 403a230
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/django_settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"""
Minimal file so Sphinx can work with Django for autodocumenting.
Location: /docs/django_settings.py
"""

# SECRET_KEY for the documentation
SECRET_KEY = 'docs-super-secret'

# INSTALLED_APPS with these apps is necessary for Sphinx to build without warnings & errors
# Depending on your package, the list of apps may be different
INSTALLED_APPS = [
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
# custom apps:
"apps.deed",
"apps.parcel",
"apps.plat",
"apps.zoon",
]

0 comments on commit 403a230

Please sign in to comment.