From 3e46d7cba27f5636ba16c37651ba4ff6371e1a50 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 21 Sep 2014 00:42:40 +0200 Subject: Doc: fix usage of deprecated config value "unused_docs", and a duplicate object name. --- 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 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. .. note:: -- cgit v0.12