Skip to content

fix(doc): resolve inherited member links - #15798

Merged
mablr merged 3 commits into
masterfrom
mablr/fix-issue-9506
Jul 21, 2026
Merged

fix(doc): resolve inherited member links#15798
mablr merged 3 commits into
masterfrom
mablr/fix-issue-9506

Conversation

@mablr

@mablr mablr commented Jul 16, 2026

Copy link
Copy Markdown
Member

Motivation

Close #9506.

Index members from the linearized base contracts so bare NatSpec cross-references link to the declaring page.

Index members from the linearized base contracts so bare NatSpec
cross-references link to the declaring page.
mattsse
mattsse previously approved these changes Jul 16, 2026

@mattsse mattsse 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.

lgtm

Comment thread crates/doc/src/hir_ext.rs
Drop dollar signs when generating documentation anchor slugs so inherited member links match the IDs rendered by Vocs.
@mablr
mablr requested a review from mattsse July 17, 2026 20:10
@mablr
mablr enabled auto-merge (squash) July 17, 2026 21:47
@mablr
mablr merged commit bbe4885 into master Jul 21, 2026
20 checks passed
@mablr
mablr deleted the mablr/fix-issue-9506 branch July 21, 2026 14:02
@github-project-automation github-project-automation Bot moved this to Done in Foundry Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

forge doc: links to functions or objects in other files don't work

4 participants