Every PostGIS version I try to make up a little cheatsheet of functions and uses. People seemed fond of these and I enjoyed doing them. One person suggested we need the function arguments listed. There was no way I was going to do that by hand. PostGIS 2.0.0 is much bigger unfortunately so if I were to do it by hand I would not do any parts justice, so this time I decided to add to the PostGIS code base a cheatsheet generator. which is called with
make cheatsheets
uses xsltproc and xsl style sheets to navigate the PostGIS documentation. One side effect is that its a bit easier to spot glaring errors in the documentations. I've been playing with css styling and xsl a bit more. A bit too much playing probably.
Here is what it generates so far. The postgis core one I cheated a bit because I wanted the columns sort of balanced and really wanted 2 columns. I will work on having this autogenerate probably by doing something crazy like having my xsl script count how many
functions have been output and then start a new column in the middle. The only one I configured to output examples from the docs was the Tiger geocoder one, because the other added a significant number of pages. Will probably have to add flags to examples to have it selectively output some exampels and not others.