Skip to content

fix(docs): simplify TypeScript API reference links (backport #22232)#22369

Merged
critesjosh merged 3 commits into
backport-to-v4-next-stagingfrom
claudebox/backport-22232-docs-links
Apr 7, 2026
Merged

fix(docs): simplify TypeScript API reference links (backport #22232)#22369
critesjosh merged 3 commits into
backport-to-v4-next-stagingfrom
claudebox/backport-22232-docs-links

Conversation

@AztecBot

@AztecBot AztecBot commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

Backport of #22232 to v4-next.

  • Removes dynamic version resolution components (ApiLink, ApiFile, ApiPath, useApiVersion) from typescript_api_reference.mdx in favor of static pathname:/// links
  • Simplifies CopyIcon component to take direct paths instead of computing them from API version
  • Updates validation script to skip unresolved preprocessor macros
  • Fixes pre-existing nargo fmt issue in allow_phase_change doc comment that was failing CI on all v4-next PRs

Cherry-pick conflicts

Conflicts occurred in both typescript_api_reference.mdx files (source and v4.1.0-rc.2 versioned copy) because the v4-next branch had slightly different useApiVersion implementations. Resolved by taking the incoming simplified CopyIcon component and removing all dynamic version components, matching the PR's intent.

Commit structure

  1. Cherry-pick with conflicts — original cherry-pick attempt with conflict markers preserved
  2. Conflict resolution — resolved by accepting the simplified component definitions
  3. Build fix — apply nargo fmt to allow_phase_change doc comment (pre-existing issue on v4-next branch)

Codespace and others added 2 commits April 7, 2026 15:37
Resolved conflicts in both typescript_api_reference.mdx files by taking the
simplified CopyIcon component (removing dynamic useApiVersion, ApiLink, ApiPath
components) as intended by the original PR #22232.
@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels Apr 7, 2026
@critesjosh critesjosh marked this pull request as ready for review April 7, 2026 16:30
@critesjosh critesjosh enabled auto-merge April 7, 2026 16:30
The noir formatter wraps this line differently, causing CI prep to fail
on all PRs targeting the v4-next branch.
@AztecBot AztecBot requested a review from nventuro as a code owner April 7, 2026 17:38
@critesjosh critesjosh merged commit 920b7a1 into backport-to-v4-next-staging Apr 7, 2026
9 checks passed
@critesjosh critesjosh deleted the claudebox/backport-22232-docs-links branch April 7, 2026 17:59
AztecBot added a commit that referenced this pull request Apr 8, 2026
BEGIN_COMMIT_OVERRIDE
fix: pippenger edge case (#22256)
cherry-pick: fix: separate fisherman StatefulSet from rpc-node and stop
archiver pollution (#22183) — WITH CONFLICTS
fix: separate fisherman StatefulSet from rpc-node and stop archiver
pollution (backport #22183) (#22284)
fix: preserve DeployAccountMethod type in with() method chaining
(#22322)
docs: backport docs build/release infrastructure from #22106 and #22144
(#22223)
chore(docs): remove v5 nightly and devnet versioned docs (backport
#22193) (#22236)
chore: improve release-docs skill and add release-network-docs skill
(#22328)
chore: remove dead to_be_bytes fn (#22243)
fix: correct args length in `#[authorize_once]` (#22209)
chore: fix inconsistent usage of contract class hash fn (#22248)
chore: delete old field comparison fns in favor of lt (#22249)
fix: all account overrides + gas limits (#22173)
feat: allow for runtime length arrays of sorts and selects (#22250)
chore: remove dead pub global vars reexport (#22244)
chore: changed default wait behavior (#22325)
chore: apply code consistency consolidation (#22251)
fix(docs): simplify TypeScript API reference links (backport #22232)
(#22369)
fix: remove detailed revert codes (#22380)
fix: backport #21673 — prevent HA peer proposals from blocking
equivocation in duplicate proposal test (#21693)
fix: subfield note selectors (#22211)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants