Skip to content

fix(sidebars): drop recipes/web/setup_guide until PR #186 merges#255

Merged
BrianSeong99 merged 1 commit into
mainfrom
brian/fix-sidebar-setup-guide
Apr 23, 2026
Merged

fix(sidebars): drop recipes/web/setup_guide until PR #186 merges#255
BrianSeong99 merged 1 commit into
mainfrom
brian/fix-sidebar-setup-guide

Conversation

@BrianSeong99
Copy link
Copy Markdown
Contributor

Summary

PR #254 enumerated the new recipes/web/* entries in the sidebar, including setup_guide — but that file only exists on 0xMiden/tutorials#186 (kbg/chore/v14-migration). That PR has not merged into tutorials main yet, and deploy-docs.yml ingests tutorials from main, so every push-to-main build since #254 has aborted in Docusaurus's sidebar validator:

Invalid sidebar file at "sidebars.ts".
These sidebar document ids do not exist:
  - builder/tutorials/recipes/web/setup_guide

See failing run: 24820901856.

Fix

Remove the single offending line from sidebars.ts with an inline TODO to re-add once 0xMiden/tutorials#186 lands upstream. The setup_guide page will still appear in the v0.14 release branch (which explicitly pins the tutorials ingest to refs/pull/186/head).

Verification

Reproduced the CI failure locally by ingesting tutorials from main:

[ERROR] Loading of version failed for version current
  [cause]: Error: Invalid sidebar file at "sidebars.ts".
    These sidebar document ids do not exist:
      - builder/tutorials/recipes/web/setup_guide

Applied the fix, re-ran the same ingest + build: [SUCCESS] Generated static files in "build", exit 0.

Follow-up

Re-add "builder/tutorials/recipes/web/setup_guide" in a separate one-line PR once 0xMiden/tutorials#186 merges into tutorials main. The v0.14 release branch (brian/v0.14-release, in progress) will carry the entry since it ingests PR #186's tree directly.

The sidebar enumeration landed in PR #254 references
'builder/tutorials/recipes/web/setup_guide', but that file only exists
on 0xMiden/tutorials#186 (kbg/chore/v14-migration branch) — which has
not merged into tutorials main yet.

deploy-docs.yml ingests tutorials from its main branch for the live
/next/ deploy, so every push-to-main build since PR #254 has crashed
in loadVersion with:

  Invalid sidebar file at "sidebars.ts".
  These sidebar document ids do not exist:
    - builder/tutorials/recipes/web/setup_guide

Remove the entry with a TODO to re-add after PR #186 merges. The
setup_guide page will re-appear on the v0.14 release branch (which
explicitly pins tutorials to the PR #186 ref).
@BrianSeong99 BrianSeong99 merged commit 2a28349 into main Apr 23, 2026
4 checks passed
@BrianSeong99 BrianSeong99 deleted the brian/fix-sidebar-setup-guide branch April 23, 2026 07:11
BrianSeong99 added a commit that referenced this pull request Apr 23, 2026
debugging.md exists on miden-client v0.14.4 (captured in the v0.14
snapshot's versioned_sidebars/version-0.14-sidebars.json) but was
deleted from the miden-client 'next' branch. Since deploy-docs.yml
ingests tutorials + client docs from 'next' for the live /next/ build,
leaving the id in the current sidebars.ts would reproduce exactly the
setup_guide-style failure we hit in PR #255 — 'Invalid sidebar file:
doc id does not exist'.

Remove from the current sidebar with an inline note. The v0.14 snapshot
sidebar is unchanged — readers browsing /v0.14/ still see the debugging
page.

Verified by simulating the CI ingest locally: cloned every vendor at
the exact refs deploy-docs.yml uses (protocol/node/miden-client/
miden-vm/compiler @ next, tutorials @ kbg/chore/v14-migration), ran
the workflow's aggregate step, then npm run build → [SUCCESS] exit 0,
10 broken-link warnings (no new ones).
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.

1 participant