For documenting Generative Expressions I use: Epydoc