Document the router.generate method

Fixes #32