Skip to content

docs: link to apiref, not gh, remove stale include code markers#22649

Merged
nventuro merged 2 commits into
merge-train/fairiesfrom
nv/fix-doc-links
Apr 21, 2026
Merged

docs: link to apiref, not gh, remove stale include code markers#22649
nventuro merged 2 commits into
merge-train/fairiesfrom
nv/fix-doc-links

Conversation

@nventuro

Copy link
Copy Markdown
Contributor

This fixes some links in the docsite that point to gh files to instead point to apiref pages. I also removed hundred of stale include code markers that are not being included anywhere - remnants of deleted tutorials.

I applied the link fixes to the 4.2.0 docs too.

@nventuro nventuro requested review from a team and LeilaWang as code owners April 17, 2026 21:10
@nventuro nventuro added backport-to-v4-next claudebox Owned by claudebox. it can push to this PR. labels Apr 17, 2026
@nventuro nventuro requested review from critesjosh and removed request for a team and LeilaWang April 20, 2026 14:47
@nventuro nventuro enabled auto-merge (squash) April 20, 2026 14:47
@nventuro nventuro merged commit d84d562 into merge-train/fairies Apr 21, 2026
26 checks passed
@nventuro nventuro deleted the nv/fix-doc-links branch April 21, 2026 19:09
@AztecBot

Copy link
Copy Markdown
Collaborator

❌ Failed to cherry-pick to v4-next due to conflicts. (🤖) View backport run.

nventuro added a commit that referenced this pull request Apr 21, 2026
#22708)

Backport of #22649 to v4-next.

## Original PR

#22649 — "docs: link to apiref, not gh, remove stale include code
markers"
Swaps GitHub-file links for apiref pages and strips ~hundreds of `//
docs:start:*` / `// docs:end:*` markers that no longer feed any
`#include_code` macro (remnants of deleted tutorials).

## Cherry-pick conflicts

The automatic cherry-pick produced 3 content conflicts and 37
modify/delete conflicts. Resolution follows
`.claude/claudebox/backport.md`: commit 1 records the cherry-pick with
conflict markers intact; commit 2 resolves them.

**Content conflicts (3)** — upstream renamed
`developer_versioned_docs/version-v4.1.0-rc.2/` → `version-v4.2.0/`; on
v4-next only `v4.1.0-rc.2` exists, so the files stay at the original
path but the body of each conflict takes the upstream (apiref) side:
-
`docs/developer_versioned_docs/version-v4.1.0-rc.2/docs/aztec-nr/framework-description/advanced/protocol_oracles.md`
-
`docs/developer_versioned_docs/version-v4.1.0-rc.2/docs/aztec-nr/testing_contracts.md`
- `docs/examples/ts/recursive_verification/index.ts` — kept `import
assert from "node:assert"` (still used on line 118), dropped the stale
`// docs:end:imports` marker.

**Modify/delete conflicts (37)** — `docs/examples/webapp-tutorial/*` and
`docs/examples/solidity/example_swap/*` were removed on v4-next but
modified by #22649. Resolution: keep them deleted.

## Sanity check

Grepped all `#include_code` references still live in `docs-developers/`
and `developer_versioned_docs/` against the markers #22649 removed:
every marker name that shows up in both lists still exists in the
referenced source file after the backport, so no docs build should
break.

Docs-only change — no compile step, no third "build fixes" commit
needed.

ClaudeBox log: https://claudebox.work/s/3a184859f1383af3?run=1
dipkakwani pushed a commit to dipkakwani/aztec-packages that referenced this pull request Apr 22, 2026
BEGIN_COMMIT_OVERRIDE
fix(aztec): fail fast when nc is not installed in aztec test (AztecProtocol#22692)
docs: link to apiref, not gh, remove stale include code markers (AztecProtocol#22649)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v4-next claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants