MkDocs logo
Documentation Platforms

MkDocs

AI answers for MkDocs and Material for MkDocs sites

What is MkDocs?

MkDocs is a Python-based static site generator for project documentation. The Material for MkDocs theme is widely used in open-source and enterprise projects to produce professional documentation from Markdown files.

Integration

How Kelu works with MkDocs

Everything you can do once the integration is connected.

01

Sitemap-aware discovery

Kelu reads the MkDocs-generated sitemap.xml to discover all pages, including those in nested nav sections.

02

Clean content extraction

The crawler strips Material for MkDocs's navigation, sidebar, and footer, extracting only the documentation content for indexing.

03

Multi-language sites

Add each language variant of your MkDocs site as its own source. To keep languages apart, give each its own knowledge base and widget.

04

Automatic re-crawls

Kelu re-crawls your MkDocs site every 24 hours. Click Sync Now after a deploy to refresh the index at once.

Setup

How to set it up

  1. 1

    Enter your MkDocs site URL in Kelu. The crawler will use the sitemap.xml to index all pages.

  2. 2

    Review the crawled page list and configure any URL exclusions for pages you do not want indexed.

  3. 3

    Add a small js/kelu-widget.js file that loads the Kelu widget script, and list it under extra_javascript in mkdocs.yml to embed AI chat.

Got questions?

MkDocs — Frequently Asked Questions

Common questions about connecting Kelu to MkDocs.

Ready to connect MkDocs?

Start free. No credit card required.