Ticket #14383: 14383.diff

File 14383.diff, 4.6 KB (added by Tim Graham, 14 years ago)
  • django/contrib/markup/templatetags/markup.py

    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:  
    88    * Markdown, which requires the Python-markdown library from
    99      http://www.freewisdom.org/projects/python-markdown
    1010
    11     * ReStructuredText, which requires docutils from http://docutils.sf.net/
     11    * reStructuredText, which requires docutils from http://docutils.sf.net/
    1212"""
    1313
    1414from django import template
  • docs/faq/general.txt

    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?  
    167167---------------------------------------------------------------
    168168
    169169The 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
     170release. These docs are in reST (reStructuredText) format, and each text file
    171171corresponds to a Web page on the official Django site.
    172172
    173173Because the documentation is `stored in revision control`_, you can browse
    174174documentation changes just like you can browse code changes.
    175175
    176176Technically, 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
     177versions of those reST documents, so the docs on the Django site may offer more
    178178information than the docs that come with the latest Django release.
    179179
    180180.. _stored in revision control: http://code.djangoproject.com/browser/django/trunk/docs
  • docs/internals/contributing.txt

    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  
    700700system </internals/documentation>` that you should read prior to working on the
    701701documentation.
    702702
    703 Guidelines for ReST files
     703Guidelines for reST files
    704704-------------------------
    705705
    706 These guidelines regulate the format of our ReST documentation:
     706These guidelines regulate the format of our reST documentation:
    707707
    708708    * In section titles, capitalize only initial words and proper nouns.
    709709
  • docs/internals/documentation.txt

    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.  
    2020
    2121Then, building the html is easy; just ``make html`` from the ``docs`` directory.
    2222
    23 To get started contributing, you'll want to read the `ReStructuredText
     23To get started contributing, you'll want to read the `reStructuredText
    2424Primer`__. After that, you'll want to read about the `Sphinx-specific markup`__
    2525that's used to manage metadata, indexing, and cross-references.
    2626
  • docs/ref/contrib/markup.txt

    diff --git a/docs/ref/contrib/markup.txt b/docs/ref/contrib/markup.txt
    index f2c43fe..9282313 100644
    a b languages:  
    1010
    1111    * ``textile`` -- implements `Textile`_ -- requires `PyTextile`_
    1212    * ``markdown`` -- implements `Markdown`_ -- requires `Python-markdown`_
    13     * ``restructuredtext`` -- implements `ReST (ReStructured Text)`_
     13    * ``restructuredtext`` -- implements `reST (reStructured Text)`_
    1414      -- requires `doc-utils`_
    1515
    1616In each case, the filter expects formatted markup as a string and
    For more documentation, read the source code in  
    2626
    2727.. _Textile: http://en.wikipedia.org/wiki/Textile_%28markup_language%29
    2828.. _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
    3030.. _PyTextile: http://loopcore.com/python-textile/
    3131.. _Python-markdown: http://www.freewisdom.org/projects/python-markdown
    3232.. _doc-utils: http://docutils.sf.net/
    3333
    34 ReStructured Text
     34reStructured Text
    3535-----------------
    3636
    3737When using the ``restructuredtext`` markup filter you can define a
  • docs/ref/templates/builtins.txt

    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:  
    20922092
    20932093    * Textile
    20942094    * Markdown
    2095     * ReST (ReStructured Text)
     2095    * reST (reStructuredText)
    20962096
    20972097See the :doc:`markup documentation </ref/contrib/markup>`.
    20982098
Back to Top