[Python-checkins] r66857 - in python/trunk/Doc: conf.py contents.rst tools/sphinxext/indexcontent.html whatsnew/2.5.rst whatsnew/index.rst

georg.brandl python-checkins at python.org
Wed Oct 8 20:57:14 CEST 2008


Author: georg.brandl
Date: Wed Oct 8 20:57:13 2008
New Revision: 66857
Log:
Make all whatsnew docs accessible.
Added:
 python/trunk/Doc/whatsnew/index.rst (contents, props changed)
Modified:
 python/trunk/Doc/conf.py
 python/trunk/Doc/contents.rst
 python/trunk/Doc/tools/sphinxext/indexcontent.html
 python/trunk/Doc/whatsnew/2.5.rst
Modified: python/trunk/Doc/conf.py
==============================================================================
--- python/trunk/Doc/conf.py	(original)
+++ python/trunk/Doc/conf.py	Wed Oct 8 20:57:13 2008
@@ -41,13 +41,6 @@
 
 # List of files that shouldn't be included in the build.
 unused_docs = [
- 'whatsnew/2.0',
- 'whatsnew/2.1',
- 'whatsnew/2.2',
- 'whatsnew/2.3',
- 'whatsnew/2.4',
- 'whatsnew/2.5',
- 'whatsnew/2.6',
 'maclib/scrap',
 'library/xmllib',
 'library/xml.etree',
Modified: python/trunk/Doc/contents.rst
==============================================================================
--- python/trunk/Doc/contents.rst	(original)
+++ python/trunk/Doc/contents.rst	Wed Oct 8 20:57:13 2008
@@ -4,7 +4,7 @@
 
 .. toctree::
 
- whatsnew/2.7.rst
+ whatsnew/index.rst
 tutorial/index.rst
 using/index.rst
 reference/index.rst
Modified: python/trunk/Doc/tools/sphinxext/indexcontent.html
==============================================================================
--- python/trunk/Doc/tools/sphinxext/indexcontent.html	(original)
+++ python/trunk/Doc/tools/sphinxext/indexcontent.html	Wed Oct 8 20:57:13 2008
@@ -4,7 +4,7 @@
 <table class="contentstable" align="center"><tr>
 <td width="50%">
 <p class="biglink"><a class="biglink" href="{{ pathto("whatsnew/" + version) }}">What's new in Python {{ version }}?</a><br/>
- <span class="linkdescr">changes since previous major release</span></p>
+ <span class="linkdescr">or <a href="{{ pathto("whatsnew/index") }}">all "What's new" documents</a> since 2.0</span></span></p>
 <p class="biglink"><a class="biglink" href="{{ pathto("tutorial/index") }}">Tutorial</a><br/>
 <span class="linkdescr">start here</span></p>
 <p class="biglink"><a class="biglink" href="{{ pathto("using/index") }}">Using Python</a><br/>
Modified: python/trunk/Doc/whatsnew/2.5.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.5.rst	(original)
+++ python/trunk/Doc/whatsnew/2.5.rst	Wed Oct 8 20:57:13 2008
@@ -16,9 +16,9 @@
 The changes in Python 2.5 are an interesting mix of language and library
 improvements. The library enhancements will be more important to Python's user
 community, I think, because several widely-useful packages were added. New
-modules include ElementTree for XML processing (section :ref:`module-etree`),
-the SQLite database module (section :ref:`module-sqlite`), and the :mod:`ctypes`
-module for calling C functions (section :ref:`module-ctypes`).
+modules include ElementTree for XML processing (:mod:`xml.etree`),
+the SQLite database module (:mod:`sqlite`), and the :mod:`ctypes`
+module for calling C functions.
 
 The language changes are of middling significance. Some pleasant new features
 were added, but most of them aren't features that you'll use every day.
@@ -736,7 +736,7 @@
 # return False
 
 
-.. _module-contextlib:
+.. _contextlibmod:
 
 The contextlib module
 ---------------------
@@ -1273,7 +1273,7 @@
 (Contributed by Raymond Hettinger.)
 
 * New module: The :mod:`contextlib` module contains helper functions for use
- with the new ':keyword:`with`' statement. See section :ref:`module-contextlib`
+ with the new ':keyword:`with`' statement. See section :ref:`contextlibmod`
 for more about this module.
 
 * New module: The :mod:`cProfile` module is a C implementation of the existing
@@ -2272,8 +2272,6 @@
 .. ======================================================================
 
 
-.. _acks:
-
 Acknowledgements
 ================
 
Added: python/trunk/Doc/whatsnew/index.rst
==============================================================================
--- (empty file)
+++ python/trunk/Doc/whatsnew/index.rst	Wed Oct 8 20:57:13 2008
@@ -0,0 +1,21 @@
+.. _whatsnew-index:
+
+######################
+ What's New in Python
+######################
+
+The "What's New in Python" series of essays takes tours through the most
+important changes between major Python versions. They are a "must read" for
+anyone wishing to stay up-to-date after a new release.
+
+.. toctree::
+ :maxdepth: 1
+
+ 2.7.rst
+ 2.6.rst
+ 2.5.rst
+ 2.4.rst
+ 2.3.rst
+ 2.2.rst
+ 2.1.rst
+ 2.0.rst


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /