fix(dashboard): the docs link opens the docs, not a 404 #364

Merged
sharang merged 1 commits from fix/docs-link into main 2026-09-24 12:07:59 +00:00
Owner

The "Dokumentation" link in the sidebar opened an error page. It pointed to /docs, but the Orca route that sends the docs to their container matches /docs/*. Plain /docs therefore reached the dashboard, which answered with a 404 "Failed to parse route". /docs/ works (checked on staging).

Change

  • Dockerfile.dashboard: DOCS_URL defaults to /docs/.
  • components/sidebar.rs: the fallback is /docs/ as well.

Each has a comment on why the slash matters. CI passes no DOCS_URL, so the Dockerfile default is what staging and production get.

Checked

cargo fmt --all --check; clippy with the CI flags for server and web. On staging, /docs/ answers 200 and /docs answers 404.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p

The "Dokumentation" link in the sidebar opened an error page. It pointed to `/docs`, but the Orca route that sends the docs to their container matches `/docs/*`. Plain `/docs` therefore reached the dashboard, which answered with a 404 "Failed to parse route". `/docs/` works (checked on staging). ## Change - `Dockerfile.dashboard`: `DOCS_URL` defaults to `/docs/`. - `components/sidebar.rs`: the fallback is `/docs/` as well. Each has a comment on why the slash matters. CI passes no `DOCS_URL`, so the Dockerfile default is what staging and production get. ## Checked `cargo fmt --all --check`; clippy with the CI flags for `server` and `web`. On staging, `/docs/` answers 200 and `/docs` answers 404. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang added 1 commit 2026-09-24 10:33:59 +00:00
fix(dashboard): the docs link opens the docs, not a 404
CI / Check (push) Skipped
CI / Check (pull_request) Successful in 6m29s
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
9637d6b554
The sidebar linked /docs, but the docs route matches /docs/*, so the
link reached the dashboard and its "route not found" page. The default
DOCS_URL (Dockerfile and sidebar fallback) is now /docs/.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang merged commit d7316dc403 into main 2026-09-24 12:07:59 +00:00
Sign in to join this conversation.