Articles
Help articles that visitors read on your portal, and private notes that only your team and the AI reply drafter read.
Articles are the part of your portal that you write in Revdoku. Your docs stay in GitHub. Articles hold what does not belong there: answers to common questions, how-tos and policies.
| Kind | Folder | Who reads it |
|---|---|---|
| Articles | _kb/public/ |
Visitors, on your portal under /help/, and the AI Support Agent. |
| Private notes | _kb/private/ |
Your team and the AI reply drafter. Never published. |
An article is a Markdown file (.md or .mdx). It can show images (.jpg, .png or .webp) from its folder.
Write an article
- Open your project and select Help Center → Articles, or Private notes.
- Select New article, enter its name and write the text. Add image uploads an image and adds it to the text.
- Select Save.
- For an article, select Publish on the list of articles. Private notes need no publish.
A save never publishes. A push to your GitHub repository also publishes the site, with the articles as they are then.
To move an article, open it and select Move to Private notes… or Move to Articles…. To change the address /help/, open Settings → General → Knowledge base address.
Get articles from your website
Revdoku can read the public pages of your website and write one article for each page.
- In Help Center → Articles, select Scan website….
- Enter your website, or a list of pages. Choose how many articles to write.
- Select Scan website. When the scan finishes, open each article and check it.
- Select Publish to show the articles on your portal.
A scan never replaces an article. An account scans the website of its owner’s work email, and its subdomains. Each written article uses credits. See Pricing.
Facts for the AI only
Sometimes the AI Support Agent should know a fact that needs no page of its own. Open the article and select Do not publish. The article leaves your portal, but the AI Support Agent still uses it to answer visitors.
A visitor can learn these facts from an answer. Write only what visitors may know, never secrets. Notes for your team belong in Private notes.
Through the API, MCP or the CLI, add this line to the front matter of the article:
Who reads what
| Articles | Articles with Do not publish | Private notes | |
|---|---|---|---|
| On your portal and in its search | Yes | No | No |
| AI Support Agent (Ask) | Yes | Yes, without a link | No |
| AI reply drafter | Yes | Yes | Yes |
A person approves each draft of the AI reply drafter before it is sent. The ticket shows which articles and notes a draft used.
Articles in the API
In the API, visibility public is an article and private is a private note. The Articles operations read and write them.
| Task | REST | MCP | CLI |
|---|---|---|---|
| List or read | GET /v1/projects/{project_id}/articles |
project_article_read |
revdoku articles, revdoku article ID |
| Create | POST …/articles |
project_article_write |
revdoku article create --visibility public --file FILE |
| Change the text, the slug or the visibility | PATCH …/articles/{article_id} |
project_article_write with action: "update" |
revdoku article update ID |
| Delete, or restore a version | DELETE …/articles/{article_id}, POST …/restore |
action: "delete", "restore" |
revdoku article delete ID, article restore ID |
| Add or list images | POST …/articles/images, GET …/articles/images |
action: "image", "images" |
revdoku article image, article images |
| Scan a website | POST /v1/projects/{project_id}/website_scan |
project_website_scan |
revdoku scan URL |
- A public article or image needs a key or a connection that can publish the project.
- A change takes
expected_version_id, the article’sversion_idthat you read. When the article changed since, the answer is409 ARTICLE_VERSION_CONFLICTand nothing changes. - A delete keeps the versions. To bring the article back, restore one of its versions with the article ID that the delete returned.
- An image above 256 KB needs an upload link first. The CLI does this for you.