Docusaurus
Sync your Docusaurus documentation site into AI SmartTalk's knowledge base. Your AI will learn from every page in your sitemap—perfect for support bots that answer technical questions.
Overview
The Docusaurus integration enables you to:
- Import all pages from your sitemap automatically
- Keep docs synced when you publish updates
- Answer questions about your documentation conversationally
- Reduce support load by letting AI handle common questions
Fun fact: AI SmartTalk's own documentation uses Docusaurus, and this integration powers our support chatbot!
Prerequisites
Before you begin, ensure you have:
- An active AI SmartTalk account
- A Docusaurus site with a valid
sitemap.xml - Your site must be publicly accessible (or provide authentication)
Step-by-Step Setup
Step 1: Locate Your Sitemap
Docusaurus automatically generates a sitemap. Find it at:
https://your-docs-site.com/sitemap.xml
Verify it loads in your browser and contains your documentation pages.
Step 2: Add the Docusaurus Integration
- Log into your AI SmartTalk account
- Navigate to Settings → Integrations
- Find Docusaurus and click Connect
- Enter your sitemap URL
- Click Validate
Step 3: Configure Import Settings
After validation, configure your import:
| Setting | Description |
|---|---|
| Sitemap URL | Full URL to your sitemap.xml |
| Include patterns | Only sync pages matching patterns (optional) |
| Exclude patterns | Skip specific pages or sections (optional) |
Step 4: Start the Import
- Click Import Pages
- AI SmartTalk crawls each URL in your sitemap
- Content is extracted and added to your knowledge base
- Wait for the import to complete (progress shown)
Step 5: Verify the Import
- Go to Knowledge in AI SmartTalk
- Your documentation pages should appear
- Test your AI by asking questions about your docs
What Gets Synced
| Content | How It's Processed |
|---|---|
| Page title | Used as document identifier |
| Page content | Full text extracted from HTML |
| Headings | Preserved for structure |
| Code blocks | Included as-is |
| Tables | Converted to readable format |
| URLs | Page URL stored for reference |
Content Extraction
AI SmartTalk extracts the main content area and ignores:
- Navigation menus
- Sidebars
- Footers
- Scripts and styles
Սինխրոնացման վարք
Հրապարակային ներմուծում
Սեղմեք Ներմուծել ինտեգրման կարգավորումներում, որպեսզի.
- Վերցնեք վերջին կայքի քարտեզը
- Ավելացրեք նոր էջեր
- Թարմացրեք փոխված էջերը
- Հեռացրեք ջնջված էջերը
Փաստաթղթերի թարմ պահելը
Ամեն ժամանակ արդիական փաստաթղթերի համար.
- Հրապարակային թարմացում: Սեղմեք Ներմուծել թարմացումների հրապարակումից հետո
- Ժամանակացույցով սինխրոնացում: Օգտագործեք SmartFlow ավտոմատ ներմուծման համար
SmartFlow Ժամանակացույցով Ներմուծում
Workflow: Docusaurus Auto-Sync
Trigger: Scheduled (Daily at 3:00 AM)
Actions:
- Sync Connector:
Type: Docusaurus
Sitemap: https://docs.example.com/sitemap.xml
URL Պատկերներ
Ավելացնել Պատկերներ
Միայն սինխրոնացրեք հատուկ բաժիններ.
| Պատկեր | Արդյունք |
|---|---|
/docs/api/* | Միայն API փաստաթղթավորում |
/docs/guides/* | Միայն ուղեցույցների բաժին |
/blog/* | Միայն բլոգի գրառումներ |
Հեռացնել Պատկերներ
Թողեք որոշ էջեր.
| Պատկեր | Արդյունք |
|---|---|
/docs/internal/* | Թողեք ներքին փաստաթղթերը |
/changelog | Թողեք փոփոխությունների օրագիրը |
*/draft-* | Թողեք նախնական էջերը |