Built with MkDocs Material · Light/dark theme · Versioned with mike
Repository: https://github.com/ActianCorp/mcp-server-docs
Branch: main
This repository contains the MkDocs-based documentation portal for the Actian MCP Server
| Feature | Description |
|---|---|
| MkDocs Material 9.6+ | Modern Material Design theme with light/dark toggle |
| Navigation | Tabs, sections, breadcrumbs, instant loading, pruning |
| Search | Enhanced search with highlighting, suggestions, and sharing |
| Diagrams | Mermaid and PlantUML diagram support |
| API docs | Swagger UI tag plugin for OpenAPI specs |
| Versioning | Multi-version support via mike |
| SEO | Auto-generated meta descriptions, robots.txt, sitemap |
| Code blocks | Copy button, syntax highlighting, annotations |
| Custom 404 | Branded 404 page |
| Edit on GitHub | Per-page edit button linking to main branch |
actian_mcp_server/
├── mkdocs.yml # Main MkDocs configuration
├── requirements.txt # Python dependencies
├── makefile # Docker shortcuts
├── docs/ # All documentation content
│ ├── index.md # Homepage (landing page)
│ ├── .pages # Top-level navigation order
│ ├── robots.txt # Search engine directives
│ ├── assets/ # Logos, homepage images, site-wide CSS
│ ├── stylesheets/ # Component CSS (search, DX styles)
│ ├── javascripts/ # Custom JS (search, mermaid)
│ ├── intro/ # What is MCP? Architecture overview
│ ├── get_started/ # Installation & quickstart
│ ├── develop_with_mcp/ # Tools, Resources, Prompts, Plugins
│ │ ├── tools/ # Defining MCP tools
│ │ ├── resources/ # Defining MCP resources
│ │ ├── prompts/ # Defining MCP prompt templates
│ │ └── plugins/ # Building & registering plugins
│ ├── configuration/ # Server configuration reference
│ ├── deployment/ # Local, Docker, and production deployment
│ └── APIs/ # API reference documentation
├── theme_overrides/ # Custom theme templates
│ ├── main.html # Base template (header, scripts)
│ ├── home.html # Landing page template
│ ├── home-blocks.html # Landing page hero & content blocks
│ ├── 404.html # Custom 404 page
│ ├── assets/stylesheets/ # Landing page & theme CSS
│ └── partials/ # Partial templates
├── hooks/ # MkDocs build hooks
│ ├── bitbucket_edit_url.py # Generates edit URLs for mcpdocs branch
│ └── custom_lexers.py # Custom syntax highlighters
├── utils/ # Utility scripts (audits, link checks)
└── site/ # Built output (auto-generated, do not edit)
git clone https://github.com/ActianCorp/mcp-server-docs.git
cd mcp-server-docs
git checkout mainpip install -r requirements.txtThis installs:
| Package | Purpose |
|---|---|
mkdocs-material |
Material Design theme |
mike |
Documentation versioning |
mkdocs-awesome-pages-plugin |
Custom navigation ordering |
mkdocs-git-revision-date-localized-plugin |
"Last updated" dates on pages |
mkdocs-minify-plugin |
HTML minification for production |
mkdocs-swagger-ui-tag |
Swagger/OpenAPI rendering |
mkdocs-meta-descriptions-plugin |
Auto SEO meta descriptions |
plantuml-markdown |
PlantUML diagram support |
mkdocs serveOpens a live-reload development server at http://127.0.0.1:8000. Changes to any file under docs/ are reflected instantly.
mkdocs serve --dirtyreloadOnly rebuilds changed pages — faster during active writing.
mkdocs buildGenerates the static site in the site/ directory.
To preview the built output locally:
python -m http.server 8080 --directory siteThen open http://127.0.0.1:8080.
docs/
├── my_section/
│ ├── index.md # Section landing page
│ ├── my-guide.md # A guide page
│ └── images/ # Section-specific images
Each page can include optional front matter:
---
title: My Page Title
description: A brief description for search engines.
---
# My Page Title
Content supports:
- **Admonitions** — `!!! note`, `!!! warning`, `!!! tip`
- **Code blocks** — syntax highlighting + copy button
- **Mermaid diagrams** — inside ```mermaid``` fenced blocks
- **PlantUML diagrams** — via the `plantuml_markdown` extension
- **Tabbed content** — `=== "Tab 1"` syntaxCreate a .pages file in your section folder:
# docs/my_section/.pages
nav:
- index.md
- my-guide.mdmkdocs serve # Preview at http://127.0.0.1:8000
git add .
git commit -m "docs: add my_section"
git push origin mcpdocsPlace your OpenAPI/Swagger JSON spec in docs/APIs/ and create a Markdown file:
---
title: My API
---
# My API
<swagger-ui src="my-api-spec.json"/>| File | What it controls |
|---|---|
theme_overrides/assets/stylesheets/actian-landing.css |
Landing page, CSS variables, dark mode |
docs/assets/stylesheets/style.css |
Header, tabs, search bar, general overrides |
docs/stylesheets/dx_style.css |
Search enhancements, syntax highlighting |
- Site logo: Replace
docs/assets/dx_logo.png - Favicon: Replace
docs/assets/favicon.png - Landing page images: Add to
docs/assets/homepage-images/
| File | Purpose |
|---|---|
theme_overrides/main.html |
Header, scripts |
theme_overrides/home.html |
Landing page layout |
theme_overrides/home-blocks.html |
Hero banner and content blocks |
theme_overrides/404.html |
Custom 404 error page |
Key sections:
site_name— Documentation titlesite_url— Production URL --repo_url— GitHub repo linktheme.palette— Light/dark mode (light is default)theme.features— Navigation behaviour togglesplugins— Search, versioning, minification, etc.extra_css/extra_javascript— Custom stylesheets and scripts
# Deploy current docs as version "1.0" aliased as "latest"
mike deploy --push --update-aliases 1.0 latest
# List all deployed versions
mike list
# Set the default version redirect
mike set-default latest
# Serve versioned docs locally
mike serve| Command | Description |
|---|---|
mkdocs serve |
Start live-reload dev server |
mkdocs serve --dirtyreload |
Faster dev server (rebuilds only changed pages) |
mkdocs build |
Build the static site to site/ |
mkdocs build --strict |
Build with strict mode (fail on warnings) |
mike deploy <version> |
Deploy a versioned build to gh-pages |
mike serve |
Serve versioned docs locally |
- MkDocs Documentation
- Material for MkDocs
- Material Reference
- Awesome Pages Plugin
- mike — Versioning
- Model Context Protocol
Every page on the published documentation site has a pencil (✏️) edit icon in the top-right corner (next to the page title). Use it to suggest corrections, report errors, or improve content directly.
-
Click the edit icon on any documentation page.
You will be taken directly to the source.mdfile for that page in GitHub, on themainbranch. -
Edit the file in GitHub's web editor:
- Click Edit (pencil icon) in GitHub's file toolbar.
- Make your changes to the Markdown content.
-
Commit your changes:
- Scroll down to the Commit changes section.
- Add a short commit message describing what you changed.
- Choose "Create a new branch" if you do not have write access to
main, then open a Pull Request. - If you have write access, you can commit directly to
main.
-
Open a Pull Request (if on a feature branch):
- Target branch:
main - Add a description of your change and assign a reviewer.
- Target branch:
The edit button points to:
https://github.com/ActianCorp/mcp-server-docs/edit/main/docs/{page-path}
Tip: If the edit icon is not visible, ensure you are viewing the published HTML portal (served via mike or the deployed site), not a local
mkdocs servepreview.
- Clone the repository and check out the
mcpdocsbranch - Create a feature branch:
git checkout -b feature/my-update - Make your changes in the
docs/directory - Preview locally with
mkdocs serve - Commit and push to Bitbucket
- Open a Pull Request targeting
mcpdocs
Note: Only edit files in
docs/unless you are intentionally modifying the theme, build hooks, or CI pipeline.