Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/.
diff --git a/Doc/tools/sphinxext/pyspecific.py b/Doc/tools/sphinxext/pyspecific.py
index f00a899..402a9a1 100644
--- a/Doc/tools/sphinxext/pyspecific.py
+++ b/Doc/tools/sphinxext/pyspecific.py
@@ -5,7 +5,7 @@
Sphinx extension with Python doc-specific markup.
- :copyright: 2008 by Georg Brandl.
+ :copyright: 2008, 2009 by Georg Brandl.
:license: Python license.
"""
@@ -89,7 +89,7 @@
self.topics[label] = writer.output
def finish(self):
- f = open(path.join(self.outdir, 'pydoc_topics.py'), 'w')
+ f = open(path.join(self.outdir, 'topics.py'), 'w')
try:
f.write('# Autogenerated by Sphinx on %s\n' % asctime())
f.write('topics = ' + pformat(self.topics) + '\n')