Source for the Ultimate Multisite documentation site.
Built with Docusaurus and deployed automatically on push to main.
docs/- Documentation content (Markdown/MDX)docs/user-guide/- End-user documentationdocs/developer/- Developer docs, hooks reference, REST APIdocs/addons/- Addon-specific documentation
i18n/- Translated content (auto-generated)scripts/- Build and translation toolingsrc/- Custom Docusaurus components and pagesstatic/- Static assets (images, favicon)
npm install
npm start # Local dev server at localhost:3000
npm run build # Production buildDocumentation is translated using an OpenAI-compatible API. Translations are generated via a GitHub Actions workflow:
# Trigger translation for all configured locales
gh workflow run translate.yml
# Translate specific languages
gh workflow run translate.yml -f languages=es,fr
# Force re-translation of all files
gh workflow run translate.yml -f force=true| Secret | Description |
|---|---|
OPENAI_API_KEY |
API key for the translation model |
OPENAI_API_BASE |
Base URL for the API (e.g. https://api.openai.com/v1) |
OPENAI_MODEL |
Model to use (e.g. gpt-4o-mini) |
Pushes to main trigger the Deploy Documentation workflow, which builds the site and deploys via rsync.