Scitorβs knowledge base feature lets you build a professional help center or documentation website directly from markdown files in your GitHub repository. Every time you push changes, the site is automatically rebuilt and deployed.
Quick start
- Create a
docs/folder in your repository - Add an
index.mdfile with your homepage content - Add a docs configuration to your
.github/scitor.yaml:
docs:
path: docs
title: "My Product Docs"
theme: default
color: "#4F46E5"
search: true
- Push to your default branch β Scitor builds and deploys your site automatically
Your documentation is available at:
https://docs.scitor.io/{owner}/{repo}
Writing documentation
Markdown files
Create .md files in your docs folder. Each file becomes a page on your site.
docs/
βββ index.md β yoursite.com/
βββ getting-started.md β yoursite.com/getting-started/
βββ guides/
β βββ index.md β yoursite.com/guides/
β βββ installation.md β yoursite.com/guides/installation/
β βββ configuration.md β yoursite.com/guides/configuration/
βββ api/
βββ index.md β yoursite.com/api/
βββ webhooks.md β yoursite.com/api/webhooks/
Frontmatter
Add YAML frontmatter at the top of each file to control metadata and navigation:
---
title: Installation Guide
description: How to install and configure the product
order: 1
category: Getting Started
tags: [setup, install, quickstart]
icon: π§
hidden: false
featured: true
related: [configuration, quickstart]
---
# Installation Guide
Your content here...
| Field | Type | Description |
|---|---|---|
title |
string | Page title (used in navigation and browser tab) |
description |
string | Meta description for SEO |
order |
number | Sort order in navigation (lower = first) |
category |
string | Category grouping |
tags |
string[] | Tags for search filtering |
icon |
string | Emoji or icon shown in navigation |
hidden |
boolean | Hide page from navigation (still accessible via URL) |
featured |
boolean | Show this article in the βSuggested Articlesβ section on the homepage |
related |
string[] | Slugs of related articles shown at the bottom of the page |
Navigation ordering
Pages in the sidebar are sorted by:
- Frontmatter
orderβ Explicit numeric order (lowest first) - Numeric prefix β Files like
01-intro.md,02-setup.mdare sorted by number - Alphabetical β Remaining files sorted by name
Callout blocks
Use callout containers to highlight important information:
Pro tip
This is a tip callout β great for helpful suggestions.
Info
Informational callout for additional context.
Be careful
Warning callout for things that need attention.
Danger
Danger callout for critical warnings or breaking changes.
The syntax uses triple-colon fences:
:::tip Optional custom title
Your callout content here.
:::
:::warning
Default title is used if none provided.
:::
Code blocks with syntax highlighting
Code blocks are automatically syntax-highlighted when you specify a language:
```javascript
function greet(name) {
return `Hello, ${name}!`;
}
```
Renders as:
function greet(name) {
return `Hello, ${name}!`;
}
A Copy button appears on hover for easy clipboard copying. Supported languages include JavaScript, TypeScript, Python, Go, Rust, Ruby, Java, C#, Shell, YAML, JSON, HTML, CSS, and many more.
Themes
Three built-in themes are available. Every theme includes:
- Previous / Next links at the bottom of each article, following your sidebar order
- Light and dark mode: readers switch with the toggle in the header, and their choice is remembered
- Search from the header or with
βK/Ctrl K, with matching words highlighted in the results - A mobile layout: in themes with a sidebar, it opens as a slide-out menu
Your color is used for links, the active page, buttons and highlights. Text on top of it switches between white and dark automatically, so light brand colors (such as yellow) stay readable.
Default
The standard documentation theme: a sidebar with collapsible sections, the article in the middle, and an βOn this pageβ outline on wide screens that highlights the section youβre reading. Suitable for most projects.
Minimal
A focused, centered layout without a sidebar or outline. Uses serif typography for a clean, blog-like reading experience; readers move between articles with search and the Previous / Next links. Great for smaller documentation sets.
docs:
theme: minimal
Corporate
A professional theme with a branded header, wider sidebar, and corporate styling. The header uses your primary color as the background, with header text in white or dark, whichever reads better on your color.
docs:
theme: corporate
Homepage layout
The homepage of your docs site can be displayed in two layouts:
Cards (default)
The card-grid layout turns your docs homepage into a help center with category cards, article counts, and a suggested articles section β similar to support portals like Zendesk or Intercom.
Each top-level folder in your docs becomes a category card. The card shows:
- The folderβs
iconandtitlefrom itsindex.mdfrontmatter - The
descriptionfrom the folderβsindex.md - A count of articles in that folder
docs:
homepage: cards # This is the default
To get the best results with the cards layout:
- Organize your docs into top-level folders (one per category)
- Give each folder an
index.mdwith atitle,description, andiconin the frontmatter - Mark your most important articles with
featured: true(up to 5)
Classic
The classic layout renders your root index.md content as a regular article page with the standard sidebar and table of contents. This is the original layout and is useful for smaller documentation sets.
docs:
homepage: classic
Info
The homepage layout only affects the root page. All inner article pages use the standard sidebar + content + table of contents layout regardless of this setting.
Featured articles
Mark articles with featured: true in their frontmatter to promote them in a βSuggested Articlesβ section on the cards homepage:
---
title: Getting Started
description: Set up your account in under 5 minutes.
featured: true
---
Up to 5 featured articles are shown on the homepage. If more than 5 articles have featured: true, the first 5 (by navigation order) are used.
Featured articles display the articleβs title and description. Articles without a description are still shown but without the subtitle.
Related articles
Link articles together by adding related slugs to the frontmatter. Related articles appear as a card grid at the bottom of the article page:
---
title: Email Setup
related: [getting-started, custom-email-domain, commands]
---
The slug is the URL path of the target article (e.g., getting-started/email-setup or just email-setup). Unknown slugs or hidden articles are silently skipped.
Related articles show the targetβs title and description, linking directly to the page. This is a powerful way to guide readers to relevant content and reduce support requests.
Contact form
You can embed a contact form directly in your docs site, allowing visitors to reach out when they canβt find what theyβre looking for. The form creates a GitHub Issue or Discussion through the same pipeline as emails and web forms.
See Web Forms for full details on the contact form configuration and placement options.
docs:
contact:
placement: [footer, floating]
Suggestion board
Add an optional suggestion board to your docs site, where visitors can submit feature ideas and vote on them. Suggestions are managed through a GitHub Project board with a βVotesβ column that surfaces the most popular ideas. See Suggestion Board for full setup and configuration details.
suggestions:
enabled: true
categories:
- "New feature"
- "Improvement"
- "Bug fix"
Site features
Search
Client-side search is enabled by default. Press βK (or Ctrl+K) to open the search dialog. Features include:
- Multi-word fuzzy matching
- Title matches ranked higher than content matches
- Keyboard navigation with arrow keys
- Instant results with debounced input
AI-Powered Search (Pro)
On the Pro plan, your knowledge base is indexed for semantic search and AI-powered answers. This enables:
/search <query>β Search your knowledge base from within a GitHub Issue. Returns matching articles with relevance scores./search ai <query>β Get an AI-generated answer synthesized from your documentation, plus the source articles used.- Draft reply enhancement β When agents use saved replies or agentic workflows, relevant knowledge base articles are automatically included for context.
AI Search uses vector embeddings to understand the meaning behind queries, so it can find relevant articles even when exact keywords donβt match.
Dark mode
A theme toggle in the header lets visitors switch between light and dark modes. The preference is saved in the browser.
Responsive design
The site is fully responsive with:
- Collapsible sidebar on mobile
- Hamburger menu for navigation
- Optimized code block scrolling
SEO
Each page includes:
<title>and meta description from frontmatter- Open Graph tags for social sharing
robots.txtandsitemap.xml(with custom domain)- Semantic HTML structure
Custom domains
Host your docs on your own domain instead of docs.scitor.io/{owner}/{repo}.
Tip
Custom domains require a Pro plan.
Option 1: Configure in scitor.yaml (recommended)
The simplest approach β add the domain field to your docs configuration:
docs:
path: docs
title: "My Docs"
domain: support.yourcompany.com
Then add a CNAME DNS record pointing your domain to Scitor:
support.yourcompany.com CNAME docs.scitor.io
On the next push (or manual /docs build), Scitor automatically registers the domain and starts serving your documentation at https://support.yourcompany.com.
When you set a custom domain:
- All navigation links use root-relative paths (no
/owner/repoprefix) - A
sitemap.xmlandrobots.txtare generated with your domain - SSL is handled automatically
To remove the custom domain, simply delete the domain line from your scitor.yaml and push.
Option 2: Configure via slash command
You can also manage domains with slash commands in any issue or discussion:
-
Register your domain:
/docs domain add support.yourcompany.com -
Add a DNS CNAME record:
support.yourcompany.com CNAME docs.scitor.io -
Wait for DNS propagation (usually 5-15 minutes, up to 48 hours), then verify:
/docs domain verify
To remove:
/docs domain remove
DNS setup details
| Record type | Name | Target |
|---|---|---|
| CNAME | support (or your subdomain) |
docs.scitor.io |
Most DNS providers propagate changes within 5-15 minutes, though it can take up to 48 hours. During this time, the domain may not resolve. After propagation, Scitor automatically provisions an SSL certificate.
Warning
Only subdomains are supported (e.g., support.yourcompany.com). Root/apex domains (e.g., yourcompany.com) cannot use CNAME records in most DNS providers. If you need an apex domain, check if your DNS provider supports CNAME flattening or ALIAS records.
Automatic builds
Scitor monitors your repository for changes. When you push to the default branch and the push includes changes in your docs folder (or scitor.yaml), a rebuild is triggered automatically.
To manually trigger a rebuild:
/docs build
To check the current build status:
/docs status
Analytics
Analytics is off unless you turn it on. Add the providers you want:
docs:
analytics:
google: G-XXXXXXXXXX # Google Analytics 4
plausible: yourdomain.com # Plausible
cloudflare: 0123456789abcdef0123456789abcdef # Cloudflare Web Analytics
Use any combination, or none. Your docs only load scripts from the providers you list; with no analytics section, no analytics or tracking scripts run on your site.
For Cloudflare Web Analytics, add your site in the Cloudflare dashboard under Analytics & Logs β Web Analytics, choose the manual JavaScript snippet setup, and copy the token value from the snippet (32 characters).
Versioning
Serve multiple versions of your documentation from different branches or tags:
docs:
versions:
- label: "v2.0 (Latest)"
ref: main
- label: "v1.0"
ref: v1-stable
A version switcher appears in the header; picking a version opens that versionβs homepage.
- The version whose
refis your default branch is your normal docs site. If none of the listed refs is your default branch, the switcher adds a Latest entry for it. - Every other version is built from the docs folder on its branch or tag and published under
/v/<ref>/, for examplehttps://docs.example.com/v/v1-stable/(a/in the ref becomes-, sorelease/1.xis published at/v/release-1.x/). - A version is rebuilt when you push to its branch or tag, and whenever your default branchβs docs are rebuilt. Each version has its own search.
- Your settings (
scitor.yaml, theme, colors) always come from the default branch. - Older versions donβt show the article feedback widget, and the AI chatbot only answers from your current docs.
- Removing a version from the list removes its pages on the next build.
Article feedback widget
Every article automatically shows a βWas this article helpful? π πβ widget at the bottom. Votes are recorded anonymously and available via the feedback API so you can identify articles that need improvement.
The widget is on by default. To configure it:
docs:
feedback:
enabled: true
require_comment_on_negative: false # show a comment box after π
See Article Feedback Widget for the full reference.