# 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.ifconfig', 'sphinx.ext.todo']
+extensions = ['sphinx.ext.ifconfig', 'sphinx.ext.todo', 'sphinx.ext.intersphinx']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
#epub_tocdup = True
todo_include_todos = True
+
+intersphinx_mapping = {
+ 'python': ('http://docs.python.org/', None),
+}
filename = 'foobar.txt'
basename, _, ext = filename.rpartition()
+.. note::
+
+ "``_``" is commonly used as an alias for the :func:`~gettext.gettext`
+ function. If your application uses (or may someday use) :mod:`gettext`,
+ you may want to avoid using ``_`` for ignored variables, as you may
+ accidentally shadow :func:`~gettext.gettext`.
+
Create a length-N list of the same thing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~