Camunda Documentation Site
February 19, 2026 ยท View on GitHub
Welcome to the Camunda documentation site! This is a Docusaurus-powered website that transforms our markdown documentation into a beautiful, searchable web experience.
What's This?
This site automatically generates documentation from markdown files in the ../docs directory and serves them as a modern web interface with search, navigation, and responsive design.
Key Components:
- ๐ Content: Documentation lives in
../docs(shared across the project) - โ๏ธ Configuration: This directory contains Docusaurus setup and themes
- ๐ Output: Generates a complete documentation website
๐ Published Camunda Platform Developer Documentation
This documentation site is automatically published to GitHub Pages:
๐ Live Documentation
- Main Branch: https://camunda.github.io/camunda/
- PR Previews:
https://camunda.github.io/camunda/pr-preview/pr-<PR_NUMBER>/
How It Works
- Every PR gets its own preview site for reviewing documentation changes
- Main branch publishes the Camunda Platform Developer Documentation automatically
- Real-time updates - changes are deployed within minutes of merging
Quick Start
First time setup:
-
Install dependencies:
cd monorepo-docs-site npm install -
Start local development:
npm start๐ Your docs site will open at
http://localhost:3000/camunda/with live reload! -
Build for production:
npm run build
Requirements
- Node.js v20.0 or higher
- npm
๐ Adding New Documentation
Want to add a new page to the docs? Here's how:
Step 1: Create Your Markdown File
Add your new file to ../docs/monorepo-docs/your-page-name.md:
Step 2: Add to Navigation
Important: New pages won't show up automatically! You must add them to the sidebar.
Edit sidebars.js and add your file to the tutorialSidebar array:
const sidebars = {
tutorialSidebar: [
'index',
'ci',
'release',
'your-page-name', // โ Add your file here (no .md extension)
],
};
Step 3: Test Your Changes
npm start
Check that your page appears in the navigation and renders correctly.
๐๏ธ Organizing Content
Simple Pages
'filename', // References filename.md
Creating Sections
{
type: 'category',
label: 'Development Guides',
items: ['getting-started', 'testing', 'deployment'],
},
External Links
{
type: 'link',
label: 'GitHub Repository',
href: 'https://github.com/camunda/camunda',
}
๐ Migrating from GitHub Wiki
Need to move content from the GitHub wiki to this documentation site? Here's a comprehensive approach:
Quick Migration Steps
-
Extract wiki content:
# Replace 'PageName' with your actual wiki page curl "https://raw.githubusercontent.com/wiki/camunda/camunda/PageName.md" \ -o "../docs/monorepo-docs/migrated-page.md" -
Fix links: Convert wiki-style links to standard markdown (see detailed section below)
-
Update sidebar: Add your migrated page to
sidebars.js -
Test locally: Run
npm startto verify everything works
Comparing Wiki vs Documentation Content
To ensure your migrated content is up-to-date, compare it with the current wiki version:
./scripts/compare-wiki-content.sh "Your-Wiki-Page" "../docs/monorepo-docs/your-file.md"
Fixing Broken Links with AI Assistance
Use these Copilot prompts to efficiently fix link issues in your migrated content:
๐ Converting Wiki Links
๐ค Copilot Prompt: "Find all wiki-style links in this markdown file that look like [[Page Name]] or [[Page Name|Display Text]] and convert them to standard markdown links like [Display Text](./page-name.md). Make the filename lowercase and use hyphens instead of spaces."
๐ Fixing Absolute URLs
๐ค Copilot Prompt: "Replace all absolute GitHub wiki URLs in this file (like https://github.com/camunda/camunda/wiki/Page-Name) with relative markdown links (like [Page Name](./page-name.md)). Keep the display text readable."
โ Validating Internal Links
๐ค Copilot Prompt: "Check all internal markdown links in this file (like [text](./file.md)) and verify they point to files that exist in the ../docs/monorepo-docs/ directory. Flag any broken links and suggest corrections."
๐ผ๏ธ Fixing Image References
๐ค Copilot Prompt: "Find all image references in this markdown file and update their paths to use the ../docs/assets/ directory. Convert any wiki-style image syntax to standard markdown image syntax."
๐ Cross-Reference Validation
๐ค Copilot Prompt: "Scan this file for any references to other documentation pages (either in links or mentioned in text) and create a list of related pages that should also be migrated from the wiki to ensure complete documentation coverage."
Advanced Link Patterns to Fix
| Wiki Format | Docusaurus Format | Example |
|---|---|---|
[[Page Name]] | [Page Name](./page-name.md) | [[Installation Guide]] โ [Installation Guide](./installation-guide.md) |
[[Page|Custom]] | [Custom](./page.md) | [[Setup|Quick Setup]] โ [Quick Setup](./setup.md) |
https://github.com/camunda/camunda/wiki/API-Reference | [API Reference](./api-reference.md) | Full URL โ relative link |
../wiki/Page-Name | ./page-name.md | Relative wiki path โ docs path |
 |  | Wiki uploads โ docs assets |
Validation Checklist
- Content extracted and frontmatter added
- All internal links converted to relative paths
- Page added to sidebar navigation
- Site builds without errors (
npm run build) - Content appears correctly in browser
โ๏ธ Configuration & Features
Key Files
docusaurus.config.js- Main site configurationsidebars.js- Controls page navigation (manual setup required)src/css/custom.css- Camunda styling and themespackage.json- Dependencies and build scripts
What's Included
- ๐ Smart Search - Full-text search with Lunr
- ๐จ Code Highlighting - GitHub-style code blocks
- ๐ Diagrams - Mermaid diagram support
- ๐ฏ Camunda Branding - Custom colors and styling
- ๐ฑ Mobile Friendly - Responsive design
Useful Commands
| Command | Purpose |
|---|---|
npm start | Start development server with hot reload |
npm run build | Build static site for production |
npm run serve | Preview the built site locally |
npm run clear | Clear Docusaurus cache (if things act weird) |
๐ Deployment
The documentation site is automatically deployed using GitHub Pages:
๐ Deployment Details
- Main Camunda Platform Developer Documentation: https://camunda.github.io/camunda/
- Deploys automatically on push to
mainbranch - Official documentation for users and contributors
- Deploys automatically on push to
- Camunda Platform Developer Documentation PR Preview:
https://camunda.github.io/camunda/pr-preview/pr-<PR_NUMBER>/- Each pull request gets its own preview URL
- Perfect for reviewing documentation changes before merging
- Automatically cleaned up when PR is closed
โ๏ธ Configuration
- Base URL:
/camunda/(customizable viaBASE_URLenv var) - Repository:
camunda/camunda - GitHub Pages: Configured for automatic deployment
๐ Troubleshooting
Page not showing in navigation?
- Check if you added it to
sidebars.js - Verify the filename matches exactly (case-sensitive)
Build failing?
- Run
npm run clearto clear cache - Check for broken markdown links
- Ensure all referenced images exist in
../docs/assets/
Need help?
- Check the Docusaurus documentation
- Look at existing pages in
../docs/monorepo-docs/for examples