Appearance
Deploy & Publish
Docs build/publish (repo-wide)
- VitePress sources live under:
- Common:
docs/common - UAS:
uservice/uas/docs(this folder) - USM/OFM/MRS/PVM:
uservice/<svc>/docs
- Common:
- Build (all services at once):
BUILD_MAJOR=MONDAY BUILD_MINOR=$(date -u +%s) npm run docs:build- Outputs to
dist/docswith per-service folders (dist/docs/uas,dist/docs/usm, etc). - Mirrors service
PROTOCOL.mdfiles into the doc output and stamps the build footer.
- Outputs to
- Publish docs (CloudFront + S3):
npm run docs:publish- Syncs
dist/docsto the doc site S3 bucket and invalidates the CloudFront distribution. - Requires
AWS_PROFILE,AWS_REGION,DOC_BUCKET, andDOC_CF_DISTRIBUTION_IDenvironment variables.
- Syncs
MCP protocol doc (unauthenticated)
- Source:
uservice/uas/mcp/PROTOCOL.md - Target host:
mcp.g3nretailstack.comvia API Gateway custom domain. - Publish (CloudFront + S3):
npm run mcp:publish- Requires
AWS_PROFILE,AWS_REGION,MCP_BUCKET, andMCP_CF_DISTRIBUTION_IDenvironment variables. - Exposes protocol markdown as static content; keep it free of secrets/PII.
- Requires
Reminders
- Use the correct AWS profile and region for your environment.
- After publish, verify
https://doc.g3nretailstack.com/uas/andhttps://mcp.g3nretailstack.com/uas/PROTOCOL.md.