Documentation source for WSO2 Integrator, built with Docusaurus.
docs-integrator/en- Docusaurus site sourceissue_template.md- issue templatepull_request_template.md- PR template
- Node.js
>= 20(project is tested with Node 20) - npm
>= 10
cd en
npm install
npm run startThen open the local URL printed in the terminal (usually http://localhost:3000).
Run these from en:
npm run start # local dev server (hot reload)
npm run build # production build in ./build
npm run serve # serve built site locally
npm run typecheck # TypeScript checks
npm run clear # clear Docusaurus cachegit checkout -b docs/<short-topic>Typical files:
- Markdown docs:
docs-integrator/en - Site config:
docs-integrator/en/docusaurus.config.ts - Sidebar structure:
docs-integrator/en/sidebars.ts - Styling overrides:
docs-integrator/en/src/css/custom.css
cd en
npm run typecheck
npm run buildUse npm run start while editing for quick preview.
Use clear, scoped commit messages.
Examples:
docs(api): clarify OAuth token rotation stepsdocs(nav): reorganize integration examples sidebarstyle: improve table readability on mobile
- Fill in
pull_request_template.md - Link related issue(s)
- Add screenshots for UI/styling changes
- Call out breaking or structural doc changes
Before opening a PR, confirm:
- Links work and are not broken
- Headings are consistent and scannable
- Code snippets are complete and tested where possible
- New pages are added to sidebar/navigation if needed
- Build and type checks pass
AI-assisted contributions are welcome.
- Treat AI output as a draft; a human reviewer remains responsible
- Verify technical accuracy against source code and official docs
- Do not commit secrets, tokens, or internal-only data
- Keep changes small and reviewable
- Include a short "AI usage note" in the PR description
Task: <what to change>
Scope: <exact files/folders allowed>
Constraints: <style, terminology, version, formatting>
Validation: run `npm run typecheck` and `npm run build`
Output: summarize changed files and rationale
AI-assisted: Yes
Tool: <Codex/Claude/Copilot/Other>
How used: <drafting/editing/refactoring/checking>
Human verification: <what you manually validated>
npm run devfails: this project usesnpm run startfor local development.- Dependency issues: delete
node_modulesandpackage-lock.json, then runnpm install. - Node version mismatch: run
nvm use 20.
Apache 2.0. See LICENSE.