[Python-checkins] cpython (2.7): Doc: fix usage of deprecated config value "unused_docs", and a duplicate object

georg.brandl python-checkins at python.org
Sun Sep 21 00:42:57 CEST 2014


https://hg.python.org/cpython/rev/f75f446dba92
changeset: 92500:f75f446dba92
branch: 2.7
user: Georg Brandl <georg at python.org>
date: Sun Sep 21 00:42:40 2014 +0200
summary:
 Doc: fix usage of deprecated config value "unused_docs", and a duplicate object name.
files:
 Doc/conf.py | 8 ++++----
 Doc/library/repr.rst | 1 +
 2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/Doc/conf.py b/Doc/conf.py
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -40,10 +40,10 @@
 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
--- 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 at acm.org>
 
 .. note::
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /