docs: host the docs at green-tea.expressive-tea.io/docs
The site hangs off the expressive-tea.io cPanel as green-tea.expressive-tea.io. A four-level docs.green-tea.expressive-tea.io subdomain reads badly and would need its own AutoSSL cert (the *.expressive-tea.io wildcard stops one level up). A /docs subfolder needs no extra host, DNS, or cert — it's a path — and is what most projects do. So the docs site now builds with base: '/docs' (its dist/ contents drop into the subdomain's docs/ folder in cPanel), the 77 hard-coded content links are prefixed, and the two hero actions Starlight doesn't rewrite are fixed by hand. Verified: /docs/ serves, / 404s, no unprefixed internal href remains. README points at the new docs URL. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
23 files changed
+78
-77
No files matched your search
@@ -3,7 +3,8 @@ import starlight from '@astrojs/starlight';
|
||||
|
||||
// Docs site for @green-tea/core. Content lives in src/content/docs/**.
|
||||
export default defineConfig({
|
||||
site: 'https://docs.green-tea.dev',
|
||||
site: 'https://green-tea.expressive-tea.io',
|
||||
base: '/docs',
|
||||
integrations: [
|
||||
starlight({
|
||||
title: 'Green Tea.',
|
||||
|
||||
Reference in new issue
Block a user