diff --git a/django/contrib/markup/templatetags/markup.py b/django/contrib/markup/templatetags/markup.py
index 912655f..7cdc04c 100644
|
a
|
b
|
markup syntaxes to HTML; currently there is support for:
|
| 8 | 8 | * Markdown, which requires the Python-markdown library from |
| 9 | 9 | http://www.freewisdom.org/projects/python-markdown |
| 10 | 10 | |
| 11 | | * ReStructuredText, which requires docutils from http://docutils.sf.net/ |
| | 11 | * reStructuredText, which requires docutils from http://docutils.sf.net/ |
| 12 | 12 | """ |
| 13 | 13 | |
| 14 | 14 | from django import template |
diff --git a/docs/faq/general.txt b/docs/faq/general.txt
index 1fc0f18..96abad2 100644
|
a
|
b
|
How can I download the Django documentation to read it offline?
|
| 167 | 167 | --------------------------------------------------------------- |
| 168 | 168 | |
| 169 | 169 | The Django docs are available in the ``docs`` directory of each Django tarball |
| 170 | | release. These docs are in ReST (ReStructured Text) format, and each text file |
| | 170 | release. These docs are in reST (reStructuredText) format, and each text file |
| 171 | 171 | corresponds to a Web page on the official Django site. |
| 172 | 172 | |
| 173 | 173 | Because the documentation is `stored in revision control`_, you can browse |
| 174 | 174 | documentation changes just like you can browse code changes. |
| 175 | 175 | |
| 176 | 176 | Technically, the docs on Django's site are generated from the latest development |
| 177 | | versions of those ReST documents, so the docs on the Django site may offer more |
| | 177 | versions of those reST documents, so the docs on the Django site may offer more |
| 178 | 178 | information than the docs that come with the latest Django release. |
| 179 | 179 | |
| 180 | 180 | .. _stored in revision control: http://code.djangoproject.com/browser/django/trunk/docs |
diff --git a/docs/internals/contributing.txt b/docs/internals/contributing.txt
index 6bf8aa1..6310562 100644
|
a
|
b
|
There's a full page of information about the :doc:`Django documentation
|
| 700 | 700 | system </internals/documentation>` that you should read prior to working on the |
| 701 | 701 | documentation. |
| 702 | 702 | |
| 703 | | Guidelines for ReST files |
| | 703 | Guidelines for reST files |
| 704 | 704 | ------------------------- |
| 705 | 705 | |
| 706 | | These guidelines regulate the format of our ReST documentation: |
| | 706 | These guidelines regulate the format of our reST documentation: |
| 707 | 707 | |
| 708 | 708 | * In section titles, capitalize only initial words and proper nouns. |
| 709 | 709 | |
diff --git a/docs/internals/documentation.txt b/docs/internals/documentation.txt
index 63f248d..5185ec7 100644
|
a
|
b
|
Sphinx -- ``easy_install Sphinx`` should do the trick.
|
| 20 | 20 | |
| 21 | 21 | Then, building the html is easy; just ``make html`` from the ``docs`` directory. |
| 22 | 22 | |
| 23 | | To get started contributing, you'll want to read the `ReStructuredText |
| | 23 | To get started contributing, you'll want to read the `reStructuredText |
| 24 | 24 | Primer`__. After that, you'll want to read about the `Sphinx-specific markup`__ |
| 25 | 25 | that's used to manage metadata, indexing, and cross-references. |
| 26 | 26 | |
diff --git a/docs/ref/contrib/markup.txt b/docs/ref/contrib/markup.txt
index f2c43fe..9282313 100644
|
a
|
b
|
languages:
|
| 10 | 10 | |
| 11 | 11 | * ``textile`` -- implements `Textile`_ -- requires `PyTextile`_ |
| 12 | 12 | * ``markdown`` -- implements `Markdown`_ -- requires `Python-markdown`_ |
| 13 | | * ``restructuredtext`` -- implements `ReST (ReStructured Text)`_ |
| | 13 | * ``restructuredtext`` -- implements `reST (reStructured Text)`_ |
| 14 | 14 | -- requires `doc-utils`_ |
| 15 | 15 | |
| 16 | 16 | In each case, the filter expects formatted markup as a string and |
| … |
… |
For more documentation, read the source code in
|
| 26 | 26 | |
| 27 | 27 | .. _Textile: http://en.wikipedia.org/wiki/Textile_%28markup_language%29 |
| 28 | 28 | .. _Markdown: http://en.wikipedia.org/wiki/Markdown |
| 29 | | .. _ReST (ReStructured Text): http://en.wikipedia.org/wiki/ReStructuredText |
| | 29 | .. _reST (reStructured Text): http://en.wikipedia.org/wiki/ReStructuredText |
| 30 | 30 | .. _PyTextile: http://loopcore.com/python-textile/ |
| 31 | 31 | .. _Python-markdown: http://www.freewisdom.org/projects/python-markdown |
| 32 | 32 | .. _doc-utils: http://docutils.sf.net/ |
| 33 | 33 | |
| 34 | | ReStructured Text |
| | 34 | reStructured Text |
| 35 | 35 | ----------------- |
| 36 | 36 | |
| 37 | 37 | When using the ``restructuredtext`` markup filter you can define a |
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index a20ab17..d5afd8d 100644
|
a
|
b
|
A collection of template filters that implement these common markup languages:
|
| 2092 | 2092 | |
| 2093 | 2093 | * Textile |
| 2094 | 2094 | * Markdown |
| 2095 | | * ReST (ReStructured Text) |
| | 2095 | * reST (reStructuredText) |
| 2096 | 2096 | |
| 2097 | 2097 | See the :doc:`markup documentation </ref/contrib/markup>`. |
| 2098 | 2098 | |