rust/src/librustdoc/html/render
Yuki Okushi 96753eb0e0
Rollup merge of #103650 - notriddle:notriddle/line-anchors, r=GuillaumeGomez
rustdoc: change `.src-line-numbers > span` to `.src-line-numbers > a`

Example: https://notriddle.com/notriddle-rustdoc-demos/line-anchors/test_dingus/fn.test.html

This allows people to treat them like real links, such as right-click to copy URL, and makes the line numbers in a scraped example work at all, when before this commit was added, they had the clickable pointer cursor but did not actually do anything when clicked.
2022-11-13 16:41:44 +09:00
..
context.rs rustdoc: use javascript to layout notable traits popups 2022-11-07 22:45:24 -07:00
mod.rs Rollup merge of #103650 - notriddle:notriddle/line-anchors, r=GuillaumeGomez 2022-11-13 16:41:44 +09:00
print_item.rs rustdoc: use javascript to layout notable traits popups 2022-11-07 22:45:24 -07:00
search_index.rs avoid cloning and then iterating 2022-08-13 16:16:52 +02:00
span_map.rs Make hir::PathSegment::hir_id non-optional. 2022-09-05 14:20:25 +10:00
tests.rs Corrected imports for render tests and mod files 2021-03-04 10:25:00 -08:00
write_shared.rs Generate static file hashes once 2022-10-29 12:48:08 -07:00