diff options
author | Georg Brandl <georg@python.org> | 2014-09-20 22:42:40 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-09-20 22:42:40 (GMT) |
commit | 3e46d7cba27f5636ba16c37651ba4ff6371e1a50 (patch) | |
tree | 7dbb7da8230662df1285a4eed96a5aa6618edc93 | |
parent | 967d41fff1df58ba5ac64d161e3134a307a750ac (diff) | |
download | cpython-3e46d7cba27f5636ba16c37651ba4ff6371e1a50.zip cpython-3e46d7cba27f5636ba16c37651ba4ff6371e1a50.tar.gz cpython-3e46d7cba27f5636ba16c37651ba4ff6371e1a50.tar.bz2 |
Doc: fix usage of deprecated config value "unused_docs", and a duplicate object name.
-rw-r--r-- | Doc/conf.py | 8 | ||||
-rw-r--r-- | Doc/library/repr.rst | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Doc/conf.py b/Doc/conf.py index 5ed1140..c90ed59 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -40,10 +40,10 @@ today = '' today_fmt = '%B %d, %Y' # List of files that shouldn't be included in the build. -unused_docs = [ - 'maclib/scrap', - 'library/xmllib', - 'library/xml.etree', +exclude_patterns = [ + 'maclib/scrap.rst', + 'library/xmllib.rst', + 'library/xml.etree.rst', ] # Ignore .rst in Sphinx its self. diff --git a/Doc/library/repr.rst b/Doc/library/repr.rst index b604186..7526cb6 100644 --- a/Doc/library/repr.rst +++ b/Doc/library/repr.rst @@ -3,6 +3,7 @@ .. module:: repr :synopsis: Alternate repr() implementation with size limits. + :noindex: .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org> .. note:: |