From 0f16db76146bed8c0c425fac862c43ccbe1fa7a7 Mon Sep 17 00:00:00 2001 From: Marko Tibold Date: Thu, 15 Dec 2011 00:31:57 +0100 Subject: see previous commit message. --- docs/conf.py | 10 +++++++--- docs/index.rst | 1 - docs/templates/layout.html | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) (limited to 'docs') 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 diff --git a/docs/index.rst b/docs/index.rst index 309effab..6038b7df 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -45,7 +45,6 @@ Requirements Installation ------------ - You can install Django REST framework using ``pip`` or ``easy_install``:: pip install djangorestframework diff --git a/docs/templates/layout.html b/docs/templates/layout.html index 6ba9e6ff..70532554 100644 --- a/docs/templates/layout.html +++ b/docs/templates/layout.html @@ -23,4 +23,5 @@ })(); -{% endblock %} +{% endblock %}{% block footer %} +
-- cgit v1.2.3