Skip to content

docs: deploy OSS docs to mozilla-ai.github.io/clawbolt#949

Draft
njbrake wants to merge 1 commit intomainfrom
docs/split-oss-and-premium-docs
Draft

docs: deploy OSS docs to mozilla-ai.github.io/clawbolt#949
njbrake wants to merge 1 commit intomainfrom
docs/split-oss-and-premium-docs

Conversation

@njbrake
Copy link
Copy Markdown
Collaborator

@njbrake njbrake commented Apr 14, 2026

Description

Splits docs hosting so that clawbolt.ai is freed up for the premium app on Railway. The OSS docs now live at the default GitHub Pages project URL (mozilla-ai.github.io/clawbolt) instead of using the clawbolt.ai custom domain.

This is one of two related PRs:

  1. This PR (OSS): Move OSS docs off clawbolt.ai to GitHub Pages default URL.
  2. mozilla-ai/clawbolt-premium#TODO: Bake user-facing docs into the premium app, served at clawbolt.ai/docs/.

Why

Premium currently links to clawbolt.ai/guide/ for help docs, but clawbolt.ai is just the OSS docs site. The OSS docs update independently of premium releases, creating a version-mismatch risk where premium users see docs for features that may not be in their premium build. Splitting the deployment lets premium ship its own version-locked user docs while OSS retains the full developer-facing docs.

Changes

  • Delete docs/public/CNAME so GitHub Pages stops serving at clawbolt.ai
  • Update astro.config.mjs site/base for project site URL (mozilla-ai.github.io + /clawbolt)
  • Convert absolute Markdown links in content to relative paths. Starlight auto-prefixes the base path on sidebar/nav links but not on raw Markdown links in content, so absolute links like [Memory](/guide/memory/) would 404 under the new /clawbolt base.
  • Update getDocsUrl() in OSS frontend to point at the new docs URL.

Post-merge

After merge, clear the clawbolt.ai custom domain config in the GitHub Pages settings (or DNS provider) so the domain can be repointed to Railway for the premium app.

Type

  • Documentation

Checklist

  • Built docs locally with CI=true npm run build and verified all internal links resolve under /clawbolt/ base
  • Tests pass (no test changes in this PR)

AI Usage

  • AI-assisted (Claude Code)

Splits docs hosting so that clawbolt.ai is freed up for the premium app.
The OSS docs now live at the default GitHub Pages project URL
(mozilla-ai.github.io/clawbolt) instead of using the clawbolt.ai custom
domain.

Changes:
- Delete docs/public/CNAME so GitHub Pages stops serving at clawbolt.ai
- Update astro.config.mjs site/base for project site URL
- Convert absolute Markdown links in content to relative paths.
  Starlight auto-prefixes the base path on sidebar/nav links but not
  on raw Markdown links in content, so absolute links like
  [Memory](/guide/memory/) would break under the new /clawbolt base.
- Update getDocsUrl() in OSS frontend to point at the new docs URL

After merge, the clawbolt.ai DNS / GitHub Pages custom domain config
should be cleared so the domain can be repointed to Railway for the
premium app.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant