Skip to content

chore: set VitePress base to /docs/uteke/ for unified routing - #340

Merged
ajianaz merged 2 commits into
developfrom
chore/docs-subpath
Jun 14, 2026
Merged

ajianaz merged 2 commits into
developfrom
chore/docs-subpath

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

What

Set VitePress base: '/docs/uteke/' so docs can be served under codecora.dev/docs/uteke/ via CF Worker routing.

Each repo deploys to its own CF Pages project, and a CF Worker routes:

  • codecora.dev/ → website landing
  • codecora.dev/docs/uteke/ → uteke CF Pages
  • codecora.dev/docs/cora/ → cora CF Pages
  • codecora.dev/docs/trapfall/ → trapfall CF Pages

Changes

  • Added base: '/docs/uteke/' to VitePress config
  • Updated all internal links (nav, sidebar) to use absolute paths with base prefix
  • Updated favicon/logo paths to use base prefix
  • Added "Codecora" link to nav pointing to codecora.dev

Comment thread docs/.vitepress/config.ts Fixed
@github-actions

github-actions Bot commented Jun 14, 2026 •

Copy link
Copy Markdown

🔍 Cora AI Code Review

❌ Blocked — critical issues found.

🔴 Error (1)

  • docs/.vitepress/config.ts:6 — The config adds base: '/docs/uteke/', but the file still uses root-absolute URLs such as href: '/favicon.svg', logo: '/favicon.svg', and nav links like link: '/getting-started'. In VitePress, root-absolute paths resolve from the domain root, not from the configured base, so deployments under /docs/uteke/ can produce broken asset URLs and navigation targets.

Review powered by cora-cli · BYOK · MIT

@ajianaz
ajianaz merged commit 09024c1 into develop Jun 14, 2026
9 checks passed
@ajianaz
ajianaz deleted the chore/docs-subpath branch June 14, 2026 12:02
ajianaz added a commit that referenced this pull request Aug 13, 2026
* chore: set base to /docs/uteke/ for unified routing

* fix: remove double base prefix in links (CodeCora review)
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.

2 participants