Integrations
MkDocs Integration
Integrate Ask0's AI search into your MkDocs documentation. Add intelligent chat assistance to MkDocs sites with Material theme.
Add Ask0 to your MkDocs documentation site.
Installation
Override Template
Create a custom template:
{% extends "base.html" %}
{% block scripts %}
{{ super() }}
<script
src="https://assets.ask0.ai/scripts/ask.js"
data-project-id="{{ config.extra.ask0_project_id }}"
></script>
{% endblock %}Configuration
theme:
name: material
custom_dir: docs/overrides
extra:
ask0_project_id: YOUR_PROJECT_IDMaterial Theme
For MkDocs Material theme:
extra_javascript:
- https://assets.ask0.ai/scripts/ask.js
extra:
ask0:
project_id: YOUR_PROJECT_ID
position: bottom-right
theme: autoThen add initialization:
document.addEventListener('DOMContentLoaded', function() {
const script = document.querySelector('[src*="ask0.ai"]');
if (script) {
script.setAttribute('data-project-id', 'YOUR_PROJECT_ID');
}
});MkDocs Tips:
- Use template overrides for custom HTML
- Store project ID in mkdocs.yml extra section
- Works with Material theme
- Test with
mkdocs servebefore deploying
Next Steps
VitePress Integration
Integrate Ask0 into your VitePress documentation site. Easy setup for adding semantic search and chat to VitePress docs.
Mintlify Integration
Add Ask0's AI assistant to your Mintlify documentation platform. Learn how to integrate intelligent search and chat features into your Mintlify-powered docs.