Skip to content
Browse files

Fixed the docs settings file to point to a better place for doc builds.

  • Loading branch information...
1 parent ab93dc8 commit 71eda508fcdedb444d5172f5062fa2dd67e6344b @jacobian jacobian committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 django_website/settings/docs.py
View
6 django_website/settings/docs.py
@@ -8,7 +8,7 @@
CACHE_MIDDLEWARE_KEY_PREFIX = 'djangodocs'
# Where to store the build Sphinx docs.
-if DEVELOPMENT_MODE:
- DOCS_BUILD_ROOT = '/tmp/djangodocs'
+if PRODUCTION:
+ DOCS_BUILD_ROOT = BASE.parent.child('docbuilds')
else:
- DOCS_BUILD_ROOT = "/home/djangodocs/"
+ DOCS_BUILD_ROOT = '/tmp/djangodocs'

0 comments on commit 71eda50

Please sign in to comment.
Something went wrong with that request. Please try again.