This repository is the one source of the Revdoku documentation at support.revdoku.com:
the guides, the API reference and the SDK, MCP and CLI guides. No other repository has a copy to edit.
Revdoku publishes this repository as a docs site. Each push to main publishes the site again.
A preview of another branch is made on request (the menu beside Republish in the dashboard) and lasts 24 hours.
| Path | Contents | Change it |
|---|---|---|
docs.json |
Navigation, header, footer, page menu and redirects, in the Mintlify docs.json format. |
Here |
index.mdx, what-is-a-project.md, get-started.md |
Get started. | Here |
docs-sites.md, knowledge-base.md, ask.md, tickets.md, widget.md, customize.md, analytics.md, ai-agents.md, guides/ask-security-check.md, guides/custom-email-domains.md |
Guides for the owner of a portal. | Here |
quickstart.md, api.md, guides/authentication.md, guides/email-events.md, coding-agents.md, mcp.md, support.md |
Guides for developers, MCP and support. | Here |
changelog.md |
The public changelog. It starts with an H1 and has no front matter, because the release check reads that format. It is high level only: what a person can do now, never how Revdoku works. Add the entry of a release after the release is live. | Here |
examples/ |
Runnable JavaScript, TypeScript and Python examples with their checks. | Here |
openapi.json |
The OpenAPI document of the Revdoku API. The API playground and the reference read it. | Generated |
api-reference/ |
One page for each resource of the API, and index.md with every operation. |
Generated |
sdks/ |
The TypeScript and Python SDK guides. | Generated |
cli.md |
The CLI guide. | Generated |
Do not edit openapi.json, api-reference/, sdks/ or cli.md by hand. The Revdoku application generates them:
| File | Generated from |
|---|---|
openapi.json |
The OpenAPI document of the API. |
api-reference/ |
The OpenAPI document, with the SDK call of each operation. |
sdks/typescript.md, sdks/python.md |
The READMEs of the revdoku packages on npm and PyPI. |
cli.md |
The README of the revdoku command-line tool. |
The next generation replaces a change that you make in these files. To change one of them, change its source in the application.
- Edit the Markdown. Link other pages with site paths, such as
/api#errorsor/api-reference/files#list-files. - Add a new page to
navigationindocs.json. When you remove or rename a page, add a redirect toredirects. - Push a branch, then make its preview from the menu beside Republish in the Revdoku dashboard, and open it from there.
- Open a pull request. After the merge, the site publishes again.
A page starts with front matter: title, description and an optional sidebarTitle. It has no H1: the site shows the title.
Write for people first: short sentences, one paragraph on one line, tables for facts and numbered steps for tasks.
Pages can use the Mintlify components Note, Tip, Warning, Card, CardGroup, CodeGroup, Steps, Tabs and Accordion.
In a .md file, put a blank line after the opening tag of a component and before its closing tag, and do not indent its content: indented text is code.
In an .mdx file, braces outside code are expressions: write pages with literal braces, such as {project_id}, as .md files.
For questions, email support@revdoku.com.
examples/ holds runnable JavaScript, TypeScript and Python examples that call the Revdoku API directly, without an SDK.
The examples live only in this repository. Start with examples/README.md.
Run the checks after each change to an example:
cd examples
npm ci
npm run build
npm run check
python3 test/python_examples_test.py
pip install flask requests
python3 test/python_receiver_test.pyEdit the TypeScript files. npm run build writes the matching JavaScript, and npm run check fails when the two differ.
Do not commit .env or node_modules.