mirror of https://github.com/rust-lang/rust
9be97ae8e2
Unify scraped examples with other code examples Fixes #129763. This first PR both fixes #129763 but also unifies buttons display for code examples: ![image](https://github.com/user-attachments/assets/c8475945-dcc3-4c25-8d7d-1659f85301c8) You can test it [here](https://rustdoc.crud.net/imperio/unify-code-examples/doc/scrape_examples/fn.test.html) and [here](https://rustdoc.crud.net/imperio/unify-code-examples/doc/scrape_examples/fn.test_many.html). I'm planning to send a follow-up to make the buttons generated in JS directly (or I can do it in this PR directly if you prefer). cc ```@willcrichton``` r? ```@notriddle``` |
||
---|---|---|
.. | ||
STYLE.md | ||
item_info.html | ||
item_union.html | ||
page.html | ||
print_item.html | ||
scraped_source.html | ||
short_item_info.html | ||
sidebar.html | ||
source.html | ||
type_layout.html | ||
type_layout_size.html |