Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e526fe

Browse files
committed
Add the "What's New" document to the index of HTML documents.
1 parent 908632a commit 4e526fe

2 files changed

Lines changed: 30 additions & 11 deletions

File tree

Doc/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,8 @@ html/acks.html: ACKS $(TOOLSDIR)/support.py $(TOOLSDIR)/mkackshtml
323323
BOILERPLATE=texinputs/boilerplate.tex
324324
html/index.html: $(INDEXFILES)
325325
html/index.html: html/index.html.in $(BOILERPLATE) tools/rewrite.py
326-
$(PYTHON) tools/rewrite.py $(BOILERPLATE) RELEASE=$(RELEASE) \
326+
$(PYTHON) tools/rewrite.py $(BOILERPLATE) \
327+
RELEASE=$(RELEASE) WHATSNEW=$(WHATSNEW) \
327328
<$< >$@
328329

329330
html/modindex.html: $(TOOLSDIR)/support.py $(TOOLSDIR)/mkmodindex

Doc/html/index.html.in

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<style type="text/css">
99
a.title { font-weight: bold; font-size: 110%; }
1010
ul { margin-left: 1em; padding: 0pt; border: 0pt; }
11+
ul li { margin-top: 0.2em; }
12+
td.left-column { padding-right: 1em; }
13+
td.right-column { padding-left: 1em; }
1114
</style>
1215
</head>
1316
<body>
@@ -45,11 +48,25 @@
4548

4649
<table align="center">
4750
<tbody>
48-
<tr><td>
51+
<tr>
52+
<td class="left-column">
4953
<ul>
5054
<li> <a href="tut/tut.html" class="title">Tutorial</a>
5155
<br>(start here)
52-
56+
</ul>
57+
</td>
58+
<td class="right-column">
59+
<ul>
60+
<li> <a href="whatsnew/@[email protected]" class="title"
61+
>What's New in Python</a>
62+
<br>(changes since the last major release)
63+
</ul>
64+
</td>
65+
</tr>
66+
<tr>
67+
<td valign="baseline" class="left-column">
68+
&nbsp;
69+
<ul>
5370
<li> <a href="modindex.html" class="title">Global Module Index</a>
5471
<br>(for quick access to all documentation)
5572

@@ -63,9 +80,14 @@
6380
<li> <a href="inst/inst.html" class="title">Installing
6481
Python Modules</a>
6582
<br>(for administrators)
83+
84+
<li> <a href="dist/dist.html" class="title">Distributing
85+
Python Modules</a>
86+
<br>(for developers and packagers)
6687
</ul>
6788
</td>
68-
<td>
89+
<td valign="baseline" class="right-column">
90+
&nbsp;
6991
<ul>
7092
<li> <a href="ref/ref.html" class="title">Language Reference</a>
7193
<br>(for language lawyers)
@@ -79,23 +101,19 @@
79101

80102
<li> <a href="doc/doc.html" class="title">Documenting Python</a>
81103
<br>(information for documentation authors)
82-
83-
<li> <a href="dist/dist.html" class="title">Distributing
84-
Python Modules</a>
85-
<br>(for developers and packagers)
86104
</ul>
87105
</td>
88-
</tr>
106+
</tr>
89107
<tr>
90-
<td>
108+
<td valign="baseline" class="left-column">
91109
&nbsp;
92110
<ul>
93111
<li> <a href="http://www.python.org/doc/" class="title"
94112
>Documentation Central</a>
95113
<br>(for everyone)
96114
</ul>
97115
</td>
98-
<td>
116+
<td valign="baseline" class="right-column">
99117
&nbsp;
100118
<ul>
101119
<li> <a href="http://www.python.org/doc/howto/" class="title"

0 commit comments

Comments
 (0)