Doc: fix usage of deprecated config value "unused_docs", and a duplicate object name.
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_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::