Skip to content

docs: fix 8 broken internal links pointing at section paths - #36

Open
Dusk1e wants to merge 1 commit into
FhenixProtocol:masterfrom
Dusk1e:docs/fix-broken-section-links
Open

docs: fix 8 broken internal links pointing at section paths#36
Dusk1e wants to merge 1 commit into
FhenixProtocol:masterfrom
Dusk1e:docs/fix-broken-section-links

Conversation

@Dusk1e

@Dusk1e Dusk1e commented Aug 12, 2026

Copy link
Copy Markdown

Problem

Eight internal links point at /fhe-library and /client-sdk/quick-start. Neither is a page — they are section prefixes. Neither exists as an .mdx file, and neither appears as a nav entry in docs.json, so all eight 404:

File Link text Target
fhe-library/introduction/best-practices.mdx:205 encrypted data types /fhe-library
fhe-library/introduction/best-practices.mdx:206 FHE operations /fhe-library
fhe-library/introduction/best-practices.mdx:207 access control mechanisms /fhe-library
fhe-library/introduction/best-practices.mdx:208 common pitfalls /fhe-library
fhe-library/introduction/quick-start.mdx:324 FHE Library documentation /fhe-library
fhe-library/introduction/quick-start.mdx:327 access control mechanisms /fhe-library
client-sdk/introduction/overview.mdx:96 Quick Start (Card) /client-sdk/quick-start
client-sdk/introduction/installation.mdx:119 Quick Start /client-sdk/quick-start

All eight sit in "Next steps" / "What's next" blocks — the exact place a reader clicks after finishing a page, so this is the worst spot for a dead end. best-practices.mdx is the clearest case: four consecutive bullets with four different link texts all resolving to the same non-existent path.

Change

Retargeted each link by its own link text, to the page whose existing title/description already matches — no page was renamed, added, or reworded:

Link text New target Why that page
encrypted data types /fhe-library/reference/fhe-sol/overview its description is "Encrypted data types, imports, and general usage of the FHE Solidity library"
FHE operations /fhe-library/core-concepts/encrypted-operations titled "FHE Encrypted Operations"
access control mechanisms /fhe-library/core-concepts/access-control titled "Access Control"
common pitfalls /fhe-library/core-concepts/common-errors titled "Common Errors"
FHE Library documentation /fhe-library/introduction/overview the FHE Library section's own landing page
Quick Start (both) /client-sdk/quick-start/javascript first page of the "Quick Start" nav group in docs.json

Link targets only — 8 lines across 4 files, no prose changes.

Verification

  • Re-ran a scan over every href="/..." and ](/...) across all 113 .mdx pages: no broken internal links remain.
  • All six new targets exist on disk and are nav entries in docs.json (checked both, since a page can exist without being routed).
  • Also swept docs.json the other way — every nav entry resolves to a real page, so there is nothing of the Fix broken navigation reference to deleted FHERC20 permit page #17 kind outstanding.

This is the same class of fix as #15 ("Fix 11 broken internal links across docs") and #17; these eight accumulated after those landed.

Note on overlap

client-sdk/introduction/installation.mdx is also touched by #35, but that PR only edits the version pins around lines 14–40 while this touches line 119, so the two do not conflict. Happy to drop that one file if you would rather keep the PRs fully disjoint.

Eight links pointed at `/fhe-library` and `/client-sdk/quick-start`. Neither is
a page: both are section prefixes, and neither exists as an .mdx file or as a
nav entry in docs.json, so all eight 404.

Retargeted each one by its own link text, to the page whose title/description
already matches:

  "encrypted data types"        -> /fhe-library/reference/fhe-sol/overview
                                  ("Encrypted data types, imports, and general
                                   usage of the FHE Solidity library")
  "FHE operations"              -> /fhe-library/core-concepts/encrypted-operations
                                  ("FHE Encrypted Operations")
  "access control mechanisms"   -> /fhe-library/core-concepts/access-control
                                  ("Access Control")
  "common pitfalls"             -> /fhe-library/core-concepts/common-errors
                                  ("Common Errors")
  "FHE Library documentation"   -> /fhe-library/introduction/overview
  "Quick Start" (x2)            -> /client-sdk/quick-start/javascript
                                  (first page of the "Quick Start" nav group)

Verified by re-running a link scan over every href= and ](...) in all 113
pages: no broken internal links remain, all six new targets exist on disk and
are nav entries in docs.json, and every docs.json nav entry resolves to a real
page.
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