Skip to content

Fix three broken heading anchors in operator and onboarding docs - #27927

Draft
jessiemongeon1 wants to merge 1 commit into
MystenLabs:mainfrom
jessiemongeon1:jessiemongeon1/docs/broken-anchors
Draft

Fix three broken heading anchors in operator and onboarding docs#27927
jessiemongeon1 wants to merge 1 commit into
MystenLabs:mainfrom
jessiemongeon1:jessiemongeon1/docs/broken-anchors

Conversation

@jessiemongeon1

Copy link
Copy Markdown
Contributor

Description

Three #fragment links point at anchors that do not exist on their target pages, so they drop the reader at the top of the page with no indication anything went wrong. Docusaurus does not validate fragments, so the strict build does not catch these.

One is a content gap rather than a typo: snapshots.mdx promised a list of RocksDB snapshot bucket names on available-data-stores, but that page documents checkpoint stores and formal snapshot stores only, and no page in the docs lists RocksDB bucket names (snapshots.mdx itself uses <BUCKET_NAME> placeholders). I removed the dead link rather than redirect it somewhere unrelated. If those bucket names should be published, that is worth a follow-up.

Test plan

Found with a checker that resolves every #fragment link in docs/content against the headings of its target page. After the fix, the only remaining reports are 9 links into generated framework reference pages, which declare anchors as <h2 id="..."> HTML rather than markdown headings; I spot-checked those against the rendered pages and they resolve correctly.

Release notes

Check each box that your change affects. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

A checker comparing every `#fragment` link against the headings on its
target page found three links pointing at anchors that do not exist.
Each silently drops the reader at the top of the page instead.

- `libpq-req.mdx` linked to `#start-the-local-network`. The heading is
  "Starting the local network", so the slug is `#starting-the-local-network`.

- `sui-full-node.mdx` linked to `#pruning-quickstart` on `managing-data`.
  That page has no quickstart section; the relevant heading is `#pruning`.
  The link is in a troubleshooting row for a full disk, so the pruning
  section is the right destination.

- `snapshots.mdx` linked to `#rocksdb-buckets` on `available-data-stores`.
  That page documents checkpoint stores and formal snapshot stores only,
  and no page lists RocksDB bucket names, so the sentence promised a list
  that does not exist anywhere. Dropped the dead link rather than pointing
  it somewhere unrelated.

Also removed a trailing space from the "Pruning" heading in
`managing-data.mdx` so the slug does not depend on the generator
trimming it.
@jessiemongeon1
jessiemongeon1 deployed to sui-typescript-aws-kms-test-env September 8, 2026 23:33 — with GitHub Actions Active
@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sui-docs Ready Ready Preview Sep 8, 2026 11:36pm UTC
2 Skipped Deployments
Project Deployment Actions Updated
multisig-toolkit Ignored Ignored Preview Sep 8, 2026 11:36pm UTC
sui-kiosk Ignored Ignored Preview Sep 8, 2026 11:36pm UTC

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant