]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
More documentation cleanup
authorArmin Ronacher <armin.ronacher@active-4.com>
Wed, 24 Jul 2013 11:12:41 +0000 (13:12 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Wed, 24 Jul 2013 11:12:41 +0000 (13:12 +0200)
docs/conf.py
docs/display.rst

index 65216c30502dcbedd9603630d670d864f5656c07..5ba787799ab26e61a63ad90f086dab52316015ec 100644 (file)
@@ -26,7 +26,7 @@ sys.path.append(os.path.abspath('_themes'))
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode',
+extensions = ['sphinx.ext.autodoc',
               'sphinx.ext.intersphinx']
 
 # Add any paths that contain templates here, relative to this directory.
index 1fa3865a208d249ec1f72c61feb01dac23dde8e7..66eec89b88eed09d04b44f3124cd1af0b90eae0e 100644 (file)
@@ -24,8 +24,8 @@ Consortium <http://unicode.org/>`_.
 The ``Locale`` Class
 ====================
 
-You normally access such locale data through the `Locale`_ class provided
-by Babel:
+You normally access such locale data through the
+:class:`~babel.core.Locale` class provided by Babel:
 
 .. code-block:: pycon
 
@@ -37,8 +37,6 @@ by Babel:
     >>> locale.territories['US']
     u'Estados Unidos'
 
-.. _`Locale`: api/babel.core.Locale-class.html
-
 In addition to country/territory names, the locale data also provides access to
 names of languages, scripts, variants, time zones, and more. Some of the data
 is closely related to number and date formatting.
@@ -51,8 +49,9 @@ documentation for references to the relevant specifications.
 Calender Display Names
 ======================
 
-The `Locale`_ class provides access to many locale display names related to
-calendar display, such as the names of week days or months.
+The :class:`~babel.locale.Locale` class provides access to many locale
+display names related to calendar display, such as the names of week days
+or months.
 
 These display names are of course used for date formatting, but can also be
 used, for example, to show a list of months to the user in their preferred