summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2003-09-23 20:50:47 (GMT)
committerThomas Heller <theller@ctypes.org>2003-09-23 20:50:47 (GMT)
commitccfbfb9ea587b6a6cc21d9ae05cb4778ca333fc9 (patch)
tree6995f0e376a01417a87b0fbb81eca273fe5a7151 /Doc
parent9a80c5dbc497211267062d39c3fb4e2d5a8e702d (diff)
downloadcpython-ccfbfb9ea587b6a6cc21d9ae05cb4778ca333fc9.zip
cpython-ccfbfb9ea587b6a6cc21d9ae05cb4778ca333fc9.tar.gz
cpython-ccfbfb9ea587b6a6cc21d9ae05cb4778ca333fc9.tar.bz2
Change the default window size to 1024x768. This shows at least the
whole main page. Support 2.3 and 2.4 docs in HTMLHelp format. Already 'backported' to release-23maint.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tools/prechm.py34
1 files changed, 33 insertions, 1 deletions
diff --git a/Doc/tools/prechm.py b/Doc/tools/prechm.py
index 04d49c3..0367bda 100644
--- a/Doc/tools/prechm.py
+++ b/Doc/tools/prechm.py
@@ -80,7 +80,7 @@ Title=Python %(version)s Documentation
[WINDOWS]
%(arch)s="Python %(version)s Documentation","%(arch)s.hhc","%(arch)s.hhk",\
-"index.html","index.html",,,,,0x63520,220,0x10384e,[271,372,740,718],,,,,,,0
+"index.html","index.html",,,,,0x63520,220,0x10384e,[0,0,1024,768],,,,,,,0
[FILES]
'''
@@ -150,6 +150,38 @@ class Book:
# Library Doc list of books:
# each 'book' : (Dir, Title, First page, Content page, Index page)
supported_libraries = {
+ '2.4':
+ [
+ Book('.', 'Main page', 'index'),
+ Book('.', 'Global Module Index', 'modindex'),
+ Book('whatsnew', "What's New", 'index', 'contents'),
+ Book('tut','Tutorial','tut','node2'),
+ Book('lib','Library Reference','lib','contents','genindex'),
+ Book('ref','Language Reference','ref','contents','genindex'),
+ Book('mac','Macintosh Reference','mac','contents','genindex'),
+ Book('ext','Extending and Embedding','ext','contents'),
+ Book('api','Python/C API','api','contents','genindex'),
+ Book('doc','Documenting Python','doc','contents'),
+ Book('inst','Installing Python Modules', 'inst', 'index'),
+ Book('dist','Distributing Python Modules', 'dist', 'index'),
+ ],
+
+ '2.3':
+ [
+ Book('.', 'Main page', 'index'),
+ Book('.', 'Global Module Index', 'modindex'),
+ Book('whatsnew', "What's New", 'index', 'contents'),
+ Book('tut','Tutorial','tut','node2'),
+ Book('lib','Library Reference','lib','contents','genindex'),
+ Book('ref','Language Reference','ref','contents','genindex'),
+ Book('mac','Macintosh Reference','mac','contents','genindex'),
+ Book('ext','Extending and Embedding','ext','contents'),
+ Book('api','Python/C API','api','contents','genindex'),
+ Book('doc','Documenting Python','doc','contents'),
+ Book('inst','Installing Python Modules', 'inst', 'index'),
+ Book('dist','Distributing Python Modules', 'dist', 'index'),
+ ],
+
'2.2':
[
Book('.', 'Main page', 'index'),