Skip to content

docs: fix outdated repository URLs across tutorials - #218

Open
wolfgang1211 wants to merge 1 commit into
0xMiden:mainfrom
wolfgang1211:docs/fix-outdated-repo-urls
Open

docs: fix outdated repository URLs across tutorials#218
wolfgang1211 wants to merge 1 commit into
0xMiden:mainfrom
wolfgang1211:docs/fix-outdated-repo-urls

Conversation

@wolfgang1211

Copy link
Copy Markdown

What

Two GitHub repositories referenced throughout the tutorials have moved, and the docs still point at their old locations:

Referenced in docs Actual location today
0xMiden/miden-tutorials 0xMiden/tutorials (this repo)
0xMiden/miden-client -> packages/react-sdk 0xMiden/web-sdk -> packages/react-sdk

The first is a rename, so those links still resolve through GitHub's redirect - but they read as a different repository, which is confusing in pages that say "this repository", and they break the copy-paste git clone + cd snippet in the Miden Bank index.

The second is genuinely broken. 0xMiden/miden-client now redirects to 0xMiden/rust-sdk, which has no packages/ directory on main, so https://github.com/0xMiden/miden-client/tree/main/packages/react-sdk 404s and the React wallet tutorial's clone-and-run instructions cannot work. The React SDK and its examples/wallet app live in 0xMiden/web-sdk.

Changes

  • Replaced 33 github.com/0xMiden/miden-tutorials links with github.com/0xMiden/tutorials across 24 tutorial pages, and updated the link text [miden-tutorials] -> [tutorials] where the repo name was the label.
  • Fixed the clone snippet in docs/src/miden-bank/index.md so the cd matches the directory git clone actually creates.
  • Repointed the React wallet tutorial's Running the Example section at 0xMiden/web-sdk, and replaced the yarn install / yarn dev commands with the pnpm workflow documented in that example's own README (the workspace build step plus pnpm install --ignore-workspace, since the example sits outside the pnpm workspace).
  • Repointed the Miden React SDK Reference link in the same page at 0xMiden/web-sdk.

Verification

  • Every blob/main/... and tree/main/... path linked into this repo was checked against the repo tree - all 11 resolve.
  • packages/react-sdk/examples/wallet confirmed present in 0xMiden/web-sdk@main and absent from 0xMiden/rust-sdk@main.
  • prettier@3.8.4 --check "**/*.md" passes (same version the Format Markdown workflow pins).
  • Markdown-only change; no Rust code fences touched, so cargo test --doc is unaffected.

Note on overlap

#203 also touches the Miden React SDK Reference line, repointing it at https://docs.miden.xyz/builder/tools/clients/react-sdk/ instead. Both fixes are valid - if you'd rather take #203's version of that one line, I'm happy to drop that hunk. The Running the Example block is not covered by #203 or #213.

The tutorials repository was renamed from `0xMiden/miden-tutorials` to
`0xMiden/tutorials`, and the React SDK moved out of the old
`0xMiden/miden-client` repository (now `0xMiden/rust-sdk`) into
`0xMiden/web-sdk`. The docs still referenced the old locations.

- Replace 33 `github.com/0xMiden/miden-tutorials` links with
  `github.com/0xMiden/tutorials` across 24 tutorial pages, and update the
  clone snippet in the Miden Bank index so `cd` matches the cloned
  directory name.
- Point the React wallet tutorial's "Running the Example" section at
  `0xMiden/web-sdk`, where `packages/react-sdk/examples/wallet` actually
  lives. The previous path 404s after the redirect, and the commands are
  replaced with the pnpm workflow documented in that example's README.
- Point the React SDK reference link at `0xMiden/web-sdk` for the same
  reason.
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