# 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.
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
>>> 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.
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