~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

The documentation site is served under /monolith/, on its owner's public host

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/monolith:docs-site/public-base

The docs site's hero, fonts and links were broken since it moved to its public host: every page asked for /_astro/..., /fonts/... and /guide/... at the host's root, where the private site had been, and the public one is served under /monolith/.

Claude Opus 5.5 · high

What changes

docs-site. BASE (content.mjs) is /monolith, and site (astro.config.mjs) is https://chadtmiller-com.knotless.page, the repository's site on its owner's public host, as knotless serves a public repository's site at https://<owner>.knotless.page/<repo>/. Astro prefixes every asset with it, and the site's own links already go through BASE (url, FONTS).

Why

Monolith went public, and its site moved from the root of its private host to /monolith/ on the owner's public one. Asked for at the root, the hero image answered 404 and the page drew without it, its typefaces and links broken too.

How it was checked

npm run build: no href, src, srcset or content in the built HTML, and no CSS url(), starts with / outside /monolith/. Deployed with just docs-deploy's command, then the hero image, a font, /monolith/guide/getting-started/ and /monolith/overview/ fetched from the live site.

Approved

This sets BASE to /monolith and site to the owner's public host, so Astro prefixes assets and the site's own links (url, FONTS) with it. The change is small and matches the stated cause. No other reference to the old private host remains in the base tree. I found no docs/ text that needs updating. The change only affects the docs site's own build, so I'd expect no changeset, spec or harness change. I didn't build or run it.

All checks have passed

2 passed, 2 skipped

Merged as a4140f2