Framework/module for generating HTML documentation

Thomas Guettler niemand.leermann at thomas-guettler.de
Tue Apr 4 10:28:50 EDT 2006


Hi,

I have a little script which creates numbers by scanning the <h?> tags.
But up to now it only works for single file. But it would be easy to
split e.g. on every <h2> tag.

http://www.thomas-guettler.de/scripts/number-html-headings.py.txt

Am Tue, 04 Apr 2006 17:01:43 +0900 schrieb Ryan Ginstrom:
> E.g., I want to go from something like this:
> <h1>Introduction<h1>
> <p>Some text</p>
> <h1>Getting Started<h1>
> <p>Some text</p>
> <h2>Installation<h2>
> <p>Some text. See <section>Getting Started</section> for details.</p>
> 
> To this:
> [index.html]
> <h1>Contents</h1>
> <a href="1.html">1. Introduction</a>
> <a href="1.html">2. Getting Started</a>
> <blockquote>
> 	<a href="1.html">2.1. Installation</a>
> </blockquote>

-- 
Thomas Güttler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: niemand.leermann at thomas-guettler.de




More information about the Python-list mailing list