register documentation for routes