Skip to content

fix(docs): route the dashboard tour page - #19

Merged
ValgulNecron merged 1 commit into
mainfrom
claude/website-dashboard-tour-4dd4ub
Oct 15, 2026
Merged

ValgulNecron merged 1 commit into
mainfrom
claude/website-dashboard-tour-4dd4ub

Conversation

@ValgulNecron

@ValgulNecron ValgulNecron commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Before: /docs/dashboard-tour/ returned a 404, while the sidebar on every docs page, the "Next" card on Install with Helm, the "Previous" card on Comparison, the docs index and two Features rows all linked to it.

After: the Dashboard tour page is built and every one of those links opens it.

src/pages/docs/[slug].astro filtered dashboard-tour out of getStaticPaths() (left over from the docs shell scaffold), so the page was never generated even though getOrderedDocs() kept it in the navigation. This takes option 1 from the issue: the filter is removed and the route is generated like every other doc.

How: getStaticPaths() now maps every ordered doc directly, using the map index for prev/next instead of a findIndex lookup. The page content was checked against the Screen/Docs — Dashboard Tour frame (website-export/json/X0DeYH.json): same sections, lists, quick reference and covers, so no design change is needed. npm run build now emits dist/docs/dashboard-tour/index.html (99 pages); npm run check reports 0 errors.

Not changed here: [slug].astro still ignores the next: frontmatter override, so the tour's "Next" card points at Comparison (sequence order) rather than Create your first server as in the design. That is handled in #20.

Fixes #8

🤖 Generated with Claude Code

The [slug] route filtered dashboard-tour out of getStaticPaths while the
sidebar, docs index, prev/next cards and Features page still linked to it,
so /docs/dashboard-tour/ returned a 404. Generate it like every other doc.

Fixes #8

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@ValgulNecron ValgulNecron self-assigned this Oct 15, 2026
@coderabbitai

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f01caf1d-3378-40e2-b972-ee15dda36e1d
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ValgulNecron
ValgulNecron merged commit 8f8eb24 into main Oct 15, 2026
2 checks passed
@ValgulNecron
ValgulNecron deleted the claude/website-dashboard-tour-4dd4ub branch October 15, 2026 17:59
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.

Docs: dashboard-tour page is linked sitewide but never routed (404)

2 participants