If you want to see examples, check out the bobo, bobo.digicool.com, zc.ngi, or zdaemon docs.  They're all executable.

The zdaemon docs are more doctesty and less pretty, but they illustrate using manuel to test other languages (shell in this case).