fix(docs): repair broken and cross-space docs links sitewide - #127
Draft
ewgenius wants to merge 4 commits into
Draft
fix(docs): repair broken and cross-space docs links sitewide#127ewgenius wants to merge 4 commits into
ewgenius wants to merge 4 commits into
Conversation
Cross-space relative paths were resolving to GitHub 404s or dead /broken/pages refs on the Home and /docs landing pages.
ewgenius
marked this pull request as ready for review
July 27, 2026 02:44
Replace /broken/pages stubs with current docs targets or unlink removed historical content, and convert Help/API/Changelog/SDK cross-space relatives to absolute docs.spice.ai URLs.
ewgenius
marked this pull request as draft
July 27, 2026 02:52
…URLs Absolute production URLs break GitBook preview hosts; keep cross-space links as /path so previews and production both resolve on the current site origin.
Contributor
Author
|
Follow-up: Replaced all |
GitBook treats leading-slash targets as repository paths, so /docs/monitoring/monitoring became a GitHub fallback. Use real markdown file paths (e.g. cloud/monitoring/) that resolve on preview and production.
Contributor
Author
|
Fix: Root-relative site paths like All of those are now repo-relative markdown paths (e.g. Home Monitoring card → |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes broken docs links across Home, Documentation (
/docs), API, Help, Changelog, SDKs, and related pages.GitBook multi-space relatives and stale
/broken/pages/...content-refs were resolving to GitHub 404s or dead cards.Link style: cross-space targets use repo-relative markdown paths (e.g.
cloud/monitoring/,../cloud/portal/apps/api-keys.md) — not absolutehttps://docs.spice.aiURLs and not leading-slash site paths like/docs/....Leading-slash paths are treated by GitBook as repository paths, so
/docs/monitoring/monitoringbecame a GitHub fallback todocs/monitoring/monitoring/README.md.Audit report
Method
/docs, API, Changelog, Help (+ key subpages)/broken/pages/and cross-space../linksllms.txt+ HTTP checks of published pathsConfirmed issues (pre-fix)
Home (
/)Documentation (
/docs)/broken/pages/...(non-clickable):rocket:shortcodes on cardsBroader
/broken/pages/...refs (Changelog + API heavy)../portal/../api/sql-queryrelatives → GitHub (wrong; portal lives undercloud/)cloud/api/(site/api/runtime-apis/...)/broken/pages/...Root cause
Multi-space GitBook layout + incorrect link forms:
/broken/pages/...https://docs.spice.ai/...→ breaks preview hosts/docs/...→ resolved as repo paths, not site routesWhat was fixed
Landing pages
README.md— Get Started (cloud/getting-started/...), Monitoring (cloud/monitoring/), Quick Start, API (cloud/api/sql-query/), Paid plans (cloud/pricing/plans.md), Help (help/)cloud/README.md— feature/use-case cards via../features/...and../use-cases/..., API/Help, emoji icons/broken/pages/cleanupCross-space links (preview-safe)
../cloud/portal/...,../cloud/pricing/...,../cloud/api/...,../features/...https://docs.spice.ai/...link targets (OSS docs remain ondocs.spiceai.orgwhere intentional)Test plan
/docslanding: all 6 cards + Use Cases navigate correctlyrg '/broken/pages/'→ no matchesrg 'https://docs\.spice\.ai/'→ no matches in link targets