rustdoc: Footnotes don't work well when used on multiple doc comments that share page. #131901
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
T-rustdoc-frontend
Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Not only is this ugly, but both footnotes use the same link/number, despite being seperate in the source code.
I think the right thing to do here is to show all footnotes for a page in one place (at the bottom). This may have some subtle interactions with when markdown content appears on multiple pages (eg summaries, trait methods), but I've not looked into the details yet.
Origionly inspired by this output:
The text was updated successfully, but these errors were encountered: