Works with Bolt
Publish the docs
of your Bolt app
Bolt commits each change of your project to GitHub. Keep the docs in a docs folder of the same repository. Revdoku publishes them on each push, with search, Ask AI and an MCP server for AI agents.
- Publishes from GitHub on every push
- Works with Mintlify repositories
- API console from your OpenAPI file
- MCP server and llms.txt for AI agents
- Ask AI and support tickets
- Analytics for people and AI agents
Connect the Bolt repository to Revdoku
Bolt creates a commit for each change that does not break the project. It also pulls changes from GitHub every 30 seconds, so docs that you edit on GitHub come back into Bolt.
In Bolt:
- In your project, click the GitHub icon in the top-right corner. Click Log in to GitHub and install the Bolt GitHub App.
- Enter a name for the repository and click Create repository. Bolt starts a private repository on the
mainbranch. - Add a
docs/folder with Markdown pages and adocs.jsonnavigation file. Use the prompt in the next section.
In Revdoku:
- Create a Revdoku account. In the setup steps, select Connect a GitHub repository.
- Select Connect GitHub and give the Revdoku GitHub App access to the repository.
- Select Existing GitHub repository. Then select the repository and the
mainbranch. - In Folder, type
docs. Click Import and sync. - Click Publish. Each later push to
mainpublishes the docs again.
To start from a repository that you already have, click GitHub under the chatbox on the Bolt homepage. Then click Choose this repository. Only the project owner can connect a Bolt project to GitHub.
Bolt does not merge branches in the app, so merge them on GitHub. While the site is live, a push to another branch gets a 24-hour preview of the docs.
Prompt: Bolt writes the docs
Paste this prompt into the Bolt chat. Bolt commits the new files to GitHub, and Revdoku publishes them.
Add user docs to this project in a docs/ folder.
Keep the app code as it is.
- docs/index.md: what the app does and how to start.
- One Markdown page for each task in the app, with
numbered steps. Each page starts with front matter:
title and description.
- docs/docs.json in the Mintlify format, with
"navigation" groups that list every page once.
- If the project has server functions that other
programs call, describe them in docs/openapi.json.
- Write only what the code does.Revdoku publishes only the folder that you select, so the code of the app stays out of the docs site. With an OpenAPI file, the site also gets an API console, where people send real requests.
Add the docs to the help menu of your app
Ask Bolt to add two links to the app, for example in the footer or in a Help menu:
- The address of the docs site. Readers search the pages there and use Ask AI.
- A
mailto:link to the support address of the docs.
Each email to the support address becomes a ticket. The built-in support agent drafts a reply from your docs, and a person reviews and sends it. The site itself never shows the support address. A reader who still needs help leaves a message there, and the message arrives as a ticket.
If the app calls the Revdoku API, store the key in Bolt Secrets
The docs site needs no key. A key is necessary only if the app reads Revdoku data, for example the number of open support tickets on an admin page. In Revdoku, a bucket holds the files, the site and the support tickets of one docs site.
- In Revdoku, open Account → Access and select Create API key….
- Set Bucket access to Selected buckets only and select the bucket of your docs. Set Permission to Read only.
- In Bolt, click the database icon in the top menu, then Secrets.
- In Name, enter
REVDOKU_API_KEY. Paste the key in Value and click Save.
Secrets work only with server functions, and server functions need a project database. Do not put the key in .env, because code in the browser can read values from that file. Only the project owner, co-owners and team admins can open the secrets.
Bolt GitHub guide · Bolt secrets guide · Docs for AI agents · Support tickets · Revdoku API