[Pydotorg-www] function trim_nav_links in build.py
A.M. Kuchling
amk at amk.ca
Thu Aug 9 04:01:32 CEST 2007
On Wed, Aug 08, 2007 at 05:47:39PM +0200, Manlio Perillo wrote:
> I have another question: what's the use of the function trim_nav_links?
It takes a header like this:
Quick-links:
Quick Links (2.5.1) /download/releases/2.5.1
Documentation {Manuals for Latest Stable Release} http://docs.python.org
/
Windows Installer {Easy Installer of Python under Windows} /ftp/python/2
.5.1/python-2.5.1.msi
and strips out the leading whitespace. Perhaps parseIndentedList()
handles the leading whitespace now, and trim_nav_links() is no longer
needed. (The top content.ht file is the only one with the headers
that use this.)
--amk
More information about the Pydotorg-www
mailing list