Documentation site for WSO2 Cloud, built with Docusaurus.
Node.js 20 or above.
npm installnpm startStarts a dev server on http://localhost:3000 with live reload.
Static assets in
static/are copied at startup. Restart the server after changing them.
npm run build
npm run servenpm run build writes a static site to build/. Use npm run serve to preview
it: the site is configured with baseUrl: '/docs-wso2cloud/', so serving
build/ from a plain web root will not resolve assets.
npm run typecheckThe site uses the standard Docusaurus classic theme: navbar, docs sidebar and
footer. The home page redirects to docs/intro. Pages live in docs/, and the
sidebar is generated from that folder.
Search uses
@easyops-cn/docusaurus-search-local.
The index is built at npm run build time, so search returns no results under
npm start. Use npm run build && npm run serve to test it.
npm run deployPublishes to GitHub Pages, per organizationName and projectName in
docusaurus.config.ts.
Apache License 2.0. See LICENSE.