Menu
#docs()
Creates a documentation site you can mount on a Hono app.
#Signature
docs(options: DocsConfig): Hono#Parameters
| Parameter | Type |
|---|---|
| dir | string |
| title | string |
| basePath | string |
| subtitle | string |
| version | string |
| favicon | string |
| theme | ThemeConfig |
#Returns
A Hono app. Mount it with app.route() at the same path you gave as basePath.