summaryrefslogtreecommitdiffstats
path: root/Doc/conf.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-02-01 20:45:33 (GMT)
committerGeorg Brandl <georg@python.org>2008-02-01 20:45:33 (GMT)
commita51f61b5554e8620c1ae637f6af747811f136c54 (patch)
tree90b2d96d73aab1b90a2b46ed8ec919a7f6a8cfd8 /Doc/conf.py
parent7be67ff2e032eb8bd26dd3d6c7b51f175ed0b77b (diff)
downloadcpython-a51f61b5554e8620c1ae637f6af747811f136c54.zip
cpython-a51f61b5554e8620c1ae637f6af747811f136c54.tar.gz
cpython-a51f61b5554e8620c1ae637f6af747811f136c54.tar.bz2
Update for latest sphinx latex writer.
Diffstat (limited to 'Doc/conf.py')
-rw-r--r--Doc/conf.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index 368ef7f..4cd0086 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -102,29 +102,29 @@ latex_font_size = '10pt'
# (source start file, target name, title, author, document class [howto/manual]).
_stdauthor = r'Guido van Rossum\\Fred L. Drake, Jr., editor'
latex_documents = [
- ('c-api/index.rst', 'c-api.tex',
+ ('c-api/index', 'c-api.tex',
'The Python/C API', _stdauthor, 'manual'),
- ('distutils/index.rst', 'distutils.tex',
+ ('distutils/index', 'distutils.tex',
'Distributing Python Modules', _stdauthor, 'manual'),
- ('documenting/index.rst', 'documenting.tex',
+ ('documenting/index', 'documenting.tex',
'Documenting Python', 'Georg Brandl', 'manual'),
- ('extending/index.rst', 'extending.tex',
+ ('extending/index', 'extending.tex',
'Extending and Embedding Python', _stdauthor, 'manual'),
- ('install/index.rst', 'install.tex',
+ ('install/index', 'install.tex',
'Installing Python Modules', _stdauthor, 'manual'),
- ('library/index.rst', 'library.tex',
+ ('library/index', 'library.tex',
'The Python Library Reference', _stdauthor, 'manual'),
- ('reference/index.rst', 'reference.tex',
+ ('reference/index', 'reference.tex',
'The Python Language Reference', _stdauthor, 'manual'),
- ('tutorial/index.rst', 'tutorial.tex',
+ ('tutorial/index', 'tutorial.tex',
'Python Tutorial', _stdauthor, 'manual'),
- ('using/index.rst', 'using.tex',
+ ('using/index', 'using.tex',
'Using Python', _stdauthor, 'manual'),
- ('whatsnew/' + version + '.rst', 'whatsnew.tex',
+ ('whatsnew/' + version, 'whatsnew.tex',
'What\'s New in Python', 'A. M. Kuchling', 'howto'),
]
# Collect all HOWTOs individually
-latex_documents.extend(('howto/' + fn, 'howto-' + fn[:-4] + '.tex',
+latex_documents.extend(('howto/' + fn[:-4], 'howto-' + fn[:-4] + '.tex',
'HOWTO', _stdauthor, 'howto')
for fn in os.listdir('howto')
if fn.endswith('.rst') and fn != 'index.rst')
@@ -138,4 +138,4 @@ latex_preamble = r'''
'''
# Documents to append as an appendix to all manuals.
-latex_appendices = ['glossary.rst', 'about.rst', 'license.rst', 'copyright.rst']
+latex_appendices = ['glossary', 'about', 'license', 'copyright']