Commit 0f16db76 by Marko Tibold

see previous commit message.

parent e2b9359a
...@@ -55,9 +55,13 @@ copyright = u'2011, Tom Christie' ...@@ -55,9 +55,13 @@ copyright = u'2011, Tom Christie'
# built documents. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = '0.1'
import djangorestframework
version = djangorestframework.__version__
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = '0.1' release = version
autodoc_member_order='bysource' autodoc_member_order='bysource'
...@@ -100,7 +104,7 @@ pygments_style = 'sphinx' ...@@ -100,7 +104,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. # 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 # 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 # further. For a list of options available for each theme, see the
......
...@@ -45,7 +45,6 @@ Requirements ...@@ -45,7 +45,6 @@ Requirements
Installation Installation
------------ ------------
You can install Django REST framework using ``pip`` or ``easy_install``:: You can install Django REST framework using ``pip`` or ``easy_install``::
pip install djangorestframework pip install djangorestframework
......
...@@ -23,4 +23,5 @@ ...@@ -23,4 +23,5 @@
})(); })();
</script> </script>
{% endblock %} {% endblock %}{% block footer %}
<div class="footer"> <p> Documentation version {{ version }} {% endblock %}</p></div>
...@@ -156,3 +156,15 @@ deps= ...@@ -156,3 +156,15 @@ deps=
Markdown==2.0.3 Markdown==2.0.3
unittest-xml-reporting==1.2 unittest-xml-reporting==1.2
Pyyaml==3.10 Pyyaml==3.10
##########################################DOCS#################################################
[testenv:docs]
basepython=python
changedir=docs
deps=
sphinx
pytest
django==1.3
commands=
py.test --tb=line -v --junitxml=junit-{envname}.xml check_sphinx.py
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment