aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorMarko Tibold2011-12-15 00:31:57 +0100
committerMarko Tibold2011-12-15 00:31:57 +0100
commit0f16db76146bed8c0c425fac862c43ccbe1fa7a7 (patch)
treea45f4f7a4a6dc930823f39517cd46ae55e21af07 /docs/conf.py
parente2b9359a2d903b2010dbf47565f63adebbdbc21b (diff)
downloaddjango-rest-framework-0f16db76146bed8c0c425fac862c43ccbe1fa7a7.tar.bz2
see previous commit message.
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 503b4059..0a9fe068 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -55,9 +55,13 @@ copyright = u'2011, Tom Christie'
# built documents.
#
# The short X.Y version.
-version = '0.1'
+
+import djangorestframework
+
+version = djangorestframework.__version__
+
# The full version, including alpha/beta/rc tags.
-release = '0.1'
+release = version
autodoc_member_order='bysource'
@@ -100,7 +104,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = 'sphinxdoc'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the