There was an error while loading. Please reload this page.
1 parent 2fff3c4 commit 7fc1006Copy full SHA for 7fc1006
3 files changed
Doc/library/email.compat32-message.rst
@@ -7,6 +7,7 @@
7
:synopsis: The base class representing email messages in a fashion
8
backward compatible with Python 3.2
9
:noindex:
10
+ :no-index:
11
12
13
The :class:`Message` class is very similar to the
Doc/library/xml.etree.elementtree.rst
@@ -874,6 +874,7 @@ Element Objects
874
875
.. module:: xml.etree.ElementTree
876
877
878
879
.. class:: Element(tag, attrib={}, **extra)
880
Doc/tools/extensions/pyspecific.py
@@ -18,11 +18,12 @@
18
import sphinx
19
from docutils import nodes
20
from docutils.io import StringOutput
21
+from docutils.parsers.rst import directives
22
from docutils.utils import new_document, unescape
23
from sphinx import addnodes
24
from sphinx.builders import Builder
25
from sphinx.domains.changeset import VersionChange, versionlabels, versionlabel_classes
-from sphinx.domains.python import PyFunction, PyMethod
26
+from sphinx.domains.python import PyFunction, PyMethod, PyModule
27
from sphinx.errors import NoUri
28
from sphinx.locale import _ as sphinx_gettext
29
from sphinx.util import logging
@@ -49,6 +50,9 @@
49
50
51
std.token_re = re.compile(r'`((~?[\w-]*:)?\w+)`')
52
53
+# backport :no-index:
54
+PyModule.option_spec['no-index'] = directives.flag
55
+
56
57
# Support for marking up and linking to bugs.python.org issues
58
0 commit comments