Skip to content

docs: fix broken anchors and stale HarperDB org URLs - #649

Merged
Ethan-Arrowood merged 1 commit into
mainfrom
docs/link-hygiene
Aug 28, 2026
Merged

docs: fix broken anchors and stale HarperDB org URLs#649
Ethan-Arrowood merged 1 commit into
mainfrom
docs/link-hygiene

Conversation

@Ethan-Arrowood

Copy link
Copy Markdown
Member

Link hygiene on main — not tied to an issue.

Broken anchors

The build's anchor check reported exactly two broken anchors on main. Both are fixed:

1. reference/backups/overview.md linked to ../cli/commands.md#backing-up-with-volume-snapshots, which does not exist. Repointed at #how-backups-work — the existing #### How Backups Work heading in reference/cli/commands.md, whose section opens by saying to use volume snapshots for LMDB databases and then states "The rest of this section covers the volume-snapshot approach." That is exactly what the linking sentence ("For LMDB databases, use get_backup or volume snapshots") is pointing the reader to, so no reword was needed.

No heading was added to reference/cli/commands.md — that file is owned by open PR #624, and this change does not touch it.

2. release-notes/v5-lincoln/5.1.md used a same-page #deployment-operations anchor while the sentence itself says the target is the Operations API reference. Repointed at /reference/v5/operations-api/operations#deployment-operations, matching the ### Deployment Operations heading there and the versioned absolute-link convention used elsewhere in release-notes/.

Stale github.com/HarperDB/ URLs

The GitHub org was renamed HarperDB -> HarperFast. The old URLs still resolve via redirect, but relying on redirects is not acceptable, so these now point at canonical targets. Every HarperFast/* target was verified to exist with gh repo view:

File Change
reference/components/overview.md HarperDB/{status-check,prometheus-exporter,acl-connect} -> HarperFast/*
reference/components/applications.md HarperDB/status-check (shorthand + URL) and two HarperDB/application-template#semver:v1.0.0 refs -> HarperFast/*
reference/fastify-routes/overview.md HarperDB/application-template -> HarperFast/application-template
learn/developers/harper-applications-in-depth.mdx HarperDB/{nextjs,status-check} -> HarperFast/*

npm package names are deliberately unchanged. @harperdb/status-check, @harperdb/prometheus-exporter, @harperdb/acl-connect, and @harperdb/nextjs are the canonically published npm names (the @harperfast equivalents are unpublished), so only the github.com/... links moved. Link text and the package="@harperdb/status-check" npm example were left alone.

Intentionally left alone

  • reference/cli/operations-api-commands.md (HarperDB/application-template URL, ~line 207) — skipped; owned by open PR docs(cli): object and array-of-object params do work via CLI #646.
  • reference/components/applications.md:126git+ssh://git@github.com:HarperDB/secret-app.git, and reference/operations-api/operations.md:821HarperDB/app#semver:v1.0.0. Both are fictional placeholder repos; neither HarperFast/secret-app nor HarperFast/app exists, so per the verify-before-switching rule these were left as-is. Worth a follow-up if the placeholders should read HarperFast for consistency.

Follow-up: onBrokenAnchors

docusaurus.config.ts sets onBrokenLinks: 'throw' but never sets onBrokenAnchors, which therefore defaults to warn — which is why both anchors above survived on main. With these two fixed, the build is anchor-clean, so onBrokenAnchors: 'throw' is now safe to enable as a follow-up (being folded into #356 separately; no config change here).

Verification

  • npm run format:write then npm run format:check — clean.
  • npm run build — succeeds.
  • Baseline build with these changes stashed reported Docusaurus found broken anchors! listing exactly the two above; the build with them applied reports zero broken-anchor warnings.

🤖 Generated with Claude Code

@Ethan-Arrowood
Ethan-Arrowood requested a review from a team as a code owner August 27, 2026 20:56

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several documentation files to correct repository URLs, migrating the GitHub organization from HarperDB to HarperFast for various templates and packages. It also fixes outdated or broken internal links. I have no feedback to provide as there are no review comments.

@github-actions
github-actions Bot temporarily deployed to pr-649 August 27, 2026 20:59 Inactive
@github-actions

Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-649

This preview will update automatically when you push new commits.

@dawsontoth dawsontoth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was fast! 🥳 🥁

@kriszyp kriszyp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice
🤖 Reviewed with Codex

- **Omit** `package` to package and deploy the current local directory
- **npm package**: `package="@harperdb/status-check"`
- **GitHub**: `package="HarperDB/status-check"` or `package="https://github.com/HarperDB/status-check"`
- **GitHub**: `package="HarperFast/status-check"` or `package="https://github.com/HarperFast/status-check"`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This canonical URL is correct, but the deployment example at reference/cli/operations-api-commands.md:207 still uses https://github.com/HarperDB/application-template. That command continues to rely on the old organization redirect, leaving this cleanup incomplete and vulnerable if the redirect disappears. Please update the current-v5 example to https://github.com/HarperFast/application-template as well; archived v4 content can remain unchanged per repository policy.

Two broken anchors surfaced by the build's anchor check:

- reference/backups/overview.md linked to a nonexistent
  ../cli/commands.md#backing-up-with-volume-snapshots. Repointed at
  #how-backups-work, the existing heading whose section covers the
  volume-snapshot approach for LMDB databases.
- release-notes/v5-lincoln/5.1.md used a same-page #deployment-operations
  anchor for a target that lives in the Operations API reference.
  Repointed at /reference/v5/operations-api/operations#deployment-operations.

The GitHub org was renamed HarperDB -> HarperFast. Old URLs still resolve
via redirect, but the canonical targets are now used directly. Every
HarperFast/* target was verified to exist. npm package names
(@harperdb/status-check, @harperdb/prometheus-exporter,
@harperdb/acl-connect, @harperdb/nextjs) are unchanged - those scopes are
the canonically published names and only the github.com links moved.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Ethan-Arrowood
Ethan-Arrowood merged commit ef9921b into main Aug 28, 2026
9 of 10 checks passed
@Ethan-Arrowood
Ethan-Arrowood deleted the docs/link-hygiene branch August 28, 2026 17:21
@github-actions

Copy link
Copy Markdown

🧹 Preview Cleanup

The preview deployment for this PR has been removed.

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.

3 participants