CVS: ht2html DocsPDOGenerator.py,1.6,1.7

"Fred L. Drake, Jr." <[email protected]> Tue, 30 Nov 2004 18:11:30 -0800
Newsgroups gmane.comp.web.ht2html.devel
Message-ID <[email protected]>
Update of /cvsroot/ht2html/ht2html
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7069

Modified Files:
	DocsPDOGenerator.py 
Log Message:
- use the same top-level navbar and search box used on the rest of
  python.org
- re-write the links to the main site so they work (these can't be
  relative across sites)


Index: DocsPDOGenerator.py
===================================================================
RCS file: /cvsroot/ht2html/ht2html/DocsPDOGenerator.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** DocsPDOGenerator.py	9 Sep 2004 00:17:04 -0000	1.6
--- DocsPDOGenerator.py	1 Dec 2004 02:11:27 -0000	1.7
***************
*** 11,25 ****
      AUTHOR = '[email protected]'
  
!     sitelinks = [
!         ('http://www.python.org/',     'Python Home'),
!         ('%(rootdir)s/download.html',  'Download'),
!         ('%(rootdir)s/',               'Documentation'),
!         ]
! 
!     def get_banner(self):
!         return PDOGenerator.SEARCHBOX
! 
!     def get_banner_bgcolor(self):
!         return self.get_darkshade()
! 
! 
--- 11,15 ----
      AUTHOR = '[email protected]'
  
!     sitelinks = map(
!         lambda (k,v): ((k % {"rootdir": "http://www.python.org"}), v),
!         PDOGenerator.sitelinks)



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/