From: Fred L. D. Jr. <fd...@us...> - 2004-12-01 02:11:36
|
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 = 'do...@py...' ! 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 = 'do...@py...' ! sitelinks = map( ! lambda (k,v): ((k % {"rootdir": "http://www.python.org"}), v), ! PDOGenerator.sitelinks) |