[Zope-Coders] ZConfig schema dump as HTML

Richard Jones richard@commonground.com.au
Tue, 3 Jun 2003 16:51:07 +1000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Monday, June 2, 2003, at 04:34 PM, Richard Jones wrote:
> I was trying to decipher ZConfig schemas again today, and finally 
> broke down and wrote a script that dumps a whole-of-schema description 
> as HTML. Example may be found at:
>
>   http://mechanicalcat.net/tech/zope/Zope_schema.html
>
> The script is at:
>
>   http://mechanicalcat.net/tech/zope/zconfig_schema2html.py
>
> There's a bunch of stuff this script doesn't do, but it's already been 
> helpful for me :)

As a part of my continued playing today, this script now has a nicer 
output of a few things (the datatypes for instance), and includes 
default values where it can. The Zope schema dump above shows the 
updated output.


     Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE+3EVcrGisBEHG6TARAjF1AJ0dXrqB+xCcuTqnoxdPlzeorh8KQACfd6uz
ktRS7xCl2a6mx+Q0ZQ6BLWQ=
=0tNu
-----END PGP SIGNATURE-----