]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add the "What's New" document to the index of HTML documents.
authorFred Drake <fdrake@acm.org>
Tue, 26 Mar 2002 20:29:11 +0000 (20:29 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 26 Mar 2002 20:29:11 +0000 (20:29 +0000)
Doc/Makefile
Doc/html/index.html.in

index 2bde5f10419ac7fe518960b9259ab52013e8978e..cc537b08b257d8ea6a39e5224c10631b774a16e8 100644 (file)
@@ -323,7 +323,8 @@ html/acks.html: ACKS $(TOOLSDIR)/support.py $(TOOLSDIR)/mkackshtml
 BOILERPLATE=texinputs/boilerplate.tex
 html/index.html: $(INDEXFILES)
 html/index.html: html/index.html.in $(BOILERPLATE) tools/rewrite.py
-       $(PYTHON) tools/rewrite.py $(BOILERPLATE) RELEASE=$(RELEASE) \
+       $(PYTHON) tools/rewrite.py $(BOILERPLATE) \
+               RELEASE=$(RELEASE) WHATSNEW=$(WHATSNEW) \
                <$< >$@
 
 html/modindex.html: $(TOOLSDIR)/support.py $(TOOLSDIR)/mkmodindex
index 86b28cc569e1b03b569fc17a027ab698f01aacf5..70881f9f47fddb7940c6244f6be7d720bfe0a8d3 100644 (file)
@@ -8,6 +8,9 @@
     <style type="text/css">
       a.title { font-weight: bold; font-size: 110%; }
       ul { margin-left: 1em; padding: 0pt; border: 0pt; }
+      ul li { margin-top: 0.2em; }
+      td.left-column { padding-right: 1em; }
+      td.right-column { padding-left: 1em; }
     </style>
   </head>
   <body>
 
     <table align="center">
       <tbody>
-      <tr><td>
+        <tr>
+          <td class="left-column">
          <ul>
            <li> <a href="tut/tut.html" class="title">Tutorial</a>
              <br>(start here)
-
+         </ul>
+         </td>
+         <td class="right-column">
+         <ul>
+            <li> <a href="whatsnew/@WHATSNEW@.html" class="title"
+                >What's New in Python</a>
+              <br>(changes since the last major release)
+         </ul>
+         </td>
+        </tr>
+        <tr>
+          <td valign="baseline" class="left-column">
+          &nbsp;
+         <ul>
            <li> <a href="modindex.html" class="title">Global Module Index</a>
              <br>(for quick access to all documentation)
 
            <li> <a href="inst/inst.html" class="title">Installing
                Python Modules</a>
              <br>(for administrators)
+
+           <li> <a href="dist/dist.html" class="title">Distributing
+               Python Modules</a>
+             <br>(for developers and packagers)
          </ul>
          </td>
-         <td>
+         <td valign="baseline" class="right-column">
+          &nbsp;
          <ul>
            <li> <a href="ref/ref.html" class="title">Language Reference</a>
              <br>(for language lawyers)
 
            <li> <a href="doc/doc.html" class="title">Documenting Python</a>
              <br>(information for documentation authors)
-
-           <li> <a href="dist/dist.html" class="title">Distributing
-               Python Modules</a>
-             <br>(for developers and packagers)
          </ul>
          </td>
-       </tr>
+        </tr>
         <tr>
-          <td>
+          <td valign="baseline" class="left-column">
           &nbsp;
           <ul>
             <li> <a href="http://www.python.org/doc/" class="title"
               <br>(for everyone)
           </ul>
           </td>
-          <td>
+          <td valign="baseline" class="right-column">
           &nbsp;
           <ul>
             <li> <a href="http://www.python.org/doc/howto/" class="title"