Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 71eda508fcdedb444d5172f5062fa2dd67e6344b 1 parent ab93dc8
@jacobian jacobian authored
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'
Please sign in to comment.
Something went wrong with that request. Please try again.