Built with MkDocs Material · Light/dark theme · Hosted on GitHub Pages
Repository: https://github.com/ActianCorp/ai-analyst-docs
Branch: main
Live site: https://docs.wobby.ai/
This repository contains the MkDocs-based documentation portal for Actian AI Analyst — a natural language analytics tool that lets you ask questions about your data and get instant, accurate answers.
| Feature | Description |
|---|---|
| MkDocs Material 9.7+ | Modern Material Design theme with light/dark toggle |
| Navigation | Tabs, sections, breadcrumbs, instant loading, custom sidebar |
| Search | Enhanced search with highlighting, suggestions, and sharing |
| Diagrams | Mermaid 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 the main branch on GitHub |
ai-analyst-docs/
├── mkdocs.yml # Main MkDocs configuration
├── requirements.txt # Python dependencies
├── makefile # Shortcuts for common tasks
├── 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 (nav, DX styles, extra)
│ ├── javascripts/ # Custom JS (nav, search, mermaid)
│ ├── quick-start/ # Getting started guides
│ ├── account/ # Account & 2FA settings
│ ├── agent/ # Creating and working with agents
│ ├── ai-analysts/ # AI Analyst creation and monitoring
│ ├── connections/ # Data source connections and catalog
│ ├── semantic-layer/ # Semantic layer, metrics, SemQL
│ ├── steward-ai-agent/ # Steward AI agent docs
│ ├── settings/ # Billing, members, integrations, etc.
│ ├── governance/ # Audit logs, data handling, security
│ └── public-api/ # API reference and keys
├── 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
│ └── custom_lexers.py # Custom syntax highlighters
└── site/ # Built output (auto-generated, do not edit)
git clone https://github.com/ActianCorp/ai-analyst-docs.git
cd ai-analyst-docspip 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 |
mkdocs serve -a localhost:8000Opens a live-reload development server at http://localhost: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
- **Tabbed content** — `=== "Tab 1"` syntaxCreate a .pages file in your section folder:
# docs/my_section/.pages
nav:
- index.md
- my-guide.mdmkdocs serve -a localhost:8000 # Preview at http://localhost:8000
git add .
git commit -m "docs: add my_section"
git push origin main| 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 |
docs/stylesheets/comprehensive-nav.css |
Custom sidebar navigation styles |
- Site logo:
docs/assets/images/actian-logo.svg - Favicon:
docs/assets/favicon.png - Landing page images:
docs/assets/homepage-images/ - Content images:
docs/assets/gitbook/
| 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 URLrepo_url— GitHub repo link (drives the repo icon in the header)edit_uri— Path used to build the "Edit on GitHub" linkstheme.palette— Light/dark mode configurationtheme.features— Navigation behaviour togglesplugins— Search, versioning, minification, etc.extra_css/extra_javascript— Custom stylesheets and scripts
Every page on the documentation site has a pencil (✏️) edit icon in the top-right corner. Clicking it takes you directly to the corresponding .md source file on GitHub, so you can propose corrections without cloning the repo.
-
Click the edit icon on any documentation page.
You are taken to the source.mdfile on GitHub (mainbranch). -
Edit the file in GitHub's web editor:
- Click the pencil icon in the file toolbar.
- Make your changes to the Markdown content.
-
Commit your changes:
- Scroll down to Commit changes.
- Add a short description of your change.
- Select "Create a new branch and open a pull request" if you do not have write access to
main. - If you have write access, you can commit directly to
main.
-
Open a Pull Request (if on a feature branch):
- Target branch:
main - Describe your change and assign a reviewer.
- Target branch:
The edit button points to:
https://github.com/ActianCorp/ai-analyst-docs/edit/main/docs/{page-path}
# 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 -a localhost:8000 |
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 |
- Fork or clone the repository
- Create a feature branch:
git checkout -b feature/my-update - Make your changes in the
docs/directory - Preview locally with
mkdocs serve -a localhost:8000 - Commit and push to GitHub
- Open a Pull Request targeting
main
Note: Only edit files in
docs/unless you are intentionally modifying the theme, build config, or hooks.