Skip to main content

Host the documentation site

This site is a static build produced by Docusaurus.

Build locally

cd documentation
npm install
npm run build

Output: documentation/build/ — upload contents to any static host (S3 + CloudFront, Netlify, Vercel, Nginx, etc.).

Production domain

Point document.ravisarode.com DNS to your host and serve the build/ folder over HTTPS.

Example (conceptual) S3 + CloudFront:

  1. Create an S3 bucket for static website hosting or origin for CloudFront.
  2. Sync build/ to the bucket (aws s3 sync build/ s3://your-bucket --delete).
  3. Attach CloudFront with TLS certificate for document.ravisarode.com.
  4. Create Route 53 alias record document → CloudFront distribution.

CI/CD

Add a pipeline step on main:

cd documentation && npm ci && npm run build

Then deploy artifacts to your hosting target.

  • This site assumes it is served at the root of document.ravisarode.com (routeBasePath: '/' in docusaurus.config.ts).
  • The console is separate: console.ravisarode.com.