Appearance
Documentation style
Add a capability
- Create
docs/capabilities/<capability-name>/index.md. - Add a version folder, such as
v1. - Add one Markdown file per endpoint. Copy
docs/templates/endpoint.md. - Add the capability and endpoint links to
sidebarindocs/.vitepress/config.mts.
File names
Use lowercase kebab-case, for example create-user.md. The folder landing page is index.md. VitePress also accepts README.md as that landing page.
Page contents
Each endpoint page includes the method and path, parameters, a request example, a response example, errors, and a change history.