docs: turn on broken-anchor checking and fix what it finds
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- node.js, typescript
- Domain
- documentation
Research direction
Start with docusaurus.config.ts and enable broken-anchor checking so the build reports affected links. Run npm run build, correct each flagged anchor in the documentation, and rerun the build; done means the build passes with checking enabled.
Written by the indexing model from the issue text.
Description
Summary
docusaurus.config.ts sets onBrokenLinks: 'throw', so a link to a page that does not
exist fails the build. Anchors within a page are not covered by that setting, and several
cross-page links here point at specific headings — the deployment guide's operational note,
the attestation model's blast-radius section, individual API endpoints.
If one of those headings is ever renamed, the link keeps working but silently drops the
reader at the top of the page instead.
Acceptance criteria
-
onBrokenAnchorsis set to fail the build rather than warn. - Every anchor link that the build then flags is corrected, and
npm run buildpasses.
Getting started
Fork this repository, clone your fork, and add this repo as upstream:
git clone https://github.com/<your-username>/canopychain-docs.git
cd canopychain-docs
git remote add upstream https://github.com/Canopychain/canopychain-docs.git
Create a branch for this issue:
git checkout -b docs/check-broken-anchors
Suggested commit message:
docs: enable broken-anchor checking
Preview your changes with npm start, and run npm run build before pushing — the build
is what catches broken links. Then open a pull request from your fork against main and
link this issue. See the
contributing guide
for the full contribution guide.
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Canopychain/canopychain-docs
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
accessibility documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
All issues in Canopychain/canopychain-docs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
cline/cline#15327 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
LogicLabs-OU/OpenArchiver#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
bigcapitalhq/bigcapital#1545 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day