Skip to content

Commit

Permalink
Fix docs include directive
Browse files Browse the repository at this point in the history
  • Loading branch information
jcassee committed May 17, 2015
1 parent c6f24de commit bde02a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.rst
Expand Up @@ -6,6 +6,8 @@ django-analytical |latest-version|
The django-analytical application integrates analytics services into a
Django_ project.

.. start docs include
Using an analytics service with a Django project means adding Javascript
tracking code to the project templates. Of course, every service has
its own specific installation instructions. Furthermore, you need to
Expand All @@ -19,6 +21,8 @@ set-up very simple, while allowing advanced users to customize tracking.
Each service is set up as recommended by the services themselves, using
an asynchronous version of the Javascript code if possible.

.. end docs include
.. |latest-version| image:: https://img.shields.io/pypi/v/django-analytical.svg
:alt: Latest version on PyPI
:target: https://pypi.python.org/pypi/django-analytical
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Expand Up @@ -15,8 +15,8 @@ Overview
========

.. include:: ../README.rst
:start-after: Django_ project.
:end-before: Currently supported services:
:start-after: .. start docs include
:end-before: .. end docs include

To get a feel of how django-analytical works, check out the
:doc:`tutorial`.
Expand Down

0 comments on commit bde02a3

Please sign in to comment.