[Python-checkins] python/nondist/peps pep-0101.txt,1.42,1.43

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Thu Oct 2 11:39:25 EDT 2003


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1:/tmp/cvs-serv31030

Modified Files:
	pep-0101.txt 
Log Message:
Add instructions for updating the doc/ are of the website.
This probably needs further elaboration; I'm not sure this really even
belongs in the PEP, though.


Index: pep-0101.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0101.txt,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** pep-0101.txt	30 Sep 2003 04:49:33 -0000	1.42
--- pep-0101.txt	2 Oct 2003 15:39:21 -0000	1.43
***************
*** 235,241 ****
          $ scp *-$VERSION.* creosote.python.org:$TARGET
  
!       XXX What's needed to describe posting the documentation on the
!       website should be added here, or there should be a link to a
!       document in the python.org site management documentation.
  
    ___ Thomas grabs the HTML to build the Windows helpfile.
--- 235,320 ----
          $ scp *-$VERSION.* creosote.python.org:$TARGET
  
!   ___ For final releases, publish the documentation on python.org.
!       This must be done by someone with write access to the python.org
!       CVS repository.
! 
!       Start by creating a new directory and filling it with the
!       standard boilerplate.  $VERSION is the same as for uploading the
!       documentation, above; $OLDVERSION is the most recently published
!       version on the site.
! 
!         $ cd .../pydotorg/doc/
!         $ mkdir $VERSION
!         $ cvs add $VERSION
!         $ cd $OLDVERSION
!         $ cp .cvsignore Makefile index.ht download.ht ../$VERSION
!         $ cd ../$VERSION
!         $ cvs add .cvsignore Makefile *.ht
! 
!       Now make the following edits:
! 
!       - in Makefile, change the value of ROOT_OFFSET to doc/$VERSION
! 
!       - in index.ht, change:
!         - the version number to $VERSION in two places: the Title:
!           header, and the <h3> at the top of the page
!         - the release date, in the <h3> at the top of the page
!         - if the minor release number changed (for example, from 2.3
!           to 2.4), the title and link to the "What's New" document
!           (search for "whatsnew")
! 
!       - in download.ht, change:
!         - the version number to $VERSION in two places: the Title:
!           header, and the <h3> at the top of the page
!         - the release date, in the <h3> at the top of the page
!         - if the minor release number changed (for example, from 2.3
!           to 2.4), the title and link to the "What's New" document
!           (search for "whatsnew")
!         - replace the large table of downloads with the content of the
!           pkglist.html file generated by the documentation build
!           process
! 
!       Now, the web content has all been prepared, but there's still
!       some dancing to do to make it all work right.  To be safe, we
!       can commit the new files to CVS, but we're *not* ready to
!       install them on the site yet:
! 
!         $ cvs commit -m \
!           "Add website content for Python $VERSION documentation."
! 
!       Log into creosote.python.org using SSH and unpack a copy of the
!       documentation into place:
! 
!         # on creosote:
!         $ cd /ftp/www.python.org/doc
!         $ tar xjf \
!           /ftp/ftp.python.org/pub/python/doc/$VERSION/html-$VERSION.tar.bz2
!         $ mv Python-Docs-$VERSION $VERSION
! 
!       Now head back to your pydotorg checkout on your workstation, and
!       push website content into place:
! 
!         $ cd .../pydotorg/doc/$VERSION
!         $ make install
! 
!       Point your browser at this URL and check it out:
! 
!         http://www.python.org/doc/$VERSION/
! 
!       There are three more changes that need to happen in the
!       top-level doc/ directory of the website content.  The first of
!       these can happen any time after what's already happened in this
!       process, and the last two should happen as soon as the release
!       announcement has been made.
! 
!       At this time, edit the versions.ht file in doc/ to make add the
!       new release at the top.  The previous latest release should drop
!       down to the top of the long list of released versions, and the
!       new release should replace the previous most recent release.
!       There should be a blank line between the link to the development
!       documentation and the most recent release, and another blank
!       line between the most recent release and the long list of older
!       releases.  (Is should be fairly easy to figure this out while
!       looking at the file.)
  
    ___ Thomas grabs the HTML to build the Windows helpfile.
***************
*** 461,464 ****
--- 540,564 ----
  
        Feel free to remove any old news items.
+ 
+   ___ Make the last two changes to the documentation area on
+       python.org.  (Remember those from the documentation items above?
+       It's time now.)
+ 
+       In your pydotorg checkout, edit the file doc/index.ht to update
+       to the right version number and release date.  Commit the
+       changes to CVS and push the file to the website:
+ 
+         $ cd .../pydotorg/doc/
+         $ make install
+ 
+       This will cause the doc/index.html file to claim to point to the
+       new docs, but they won't.  Run (don't walk!) to
+       creosote.python.org, and update a symlink in the doc/ tree:
+ 
+         # on creosote:
+         $ cd /ftp/www.python.org/doc/
+         $ rm current && ln -s $VERSION current
+ 
+       Good.  Stop running.
  
      Now it's time to do some cleaning up.  These steps are very important!





More information about the Python-checkins mailing list