rust/src/librustdoc/html/templates
Michael Howell eeb59f16a5 rustdoc: dedup search form HTML
This change constructs the search form HTML using JavaScript, instead of plain HTML. It uses a custom element because

- the [parser]'s insert algorithm runs the connected callback synchronously, so we won't get layout jank
- it requires very little HTML, so it's a real win in size

[parser]: https://html.spec.whatwg.org/multipage/parsing.html#create-an-element-for-the-token

This shrinks the standard library by about 60MiB, by my test.
2024-05-05 08:15:08 -07:00
..
STYLE.md accept review suggestion 2023-06-28 18:34:35 +02:00
item_info.html Fix union fields display 2023-06-21 17:25:19 +02:00
item_union.html Bump `askama` version 2024-01-24 01:04:34 +00:00
page.html rustdoc: dedup search form HTML 2024-05-05 08:15:08 -07:00
print_item.html rustdoc: load icons from css instead of inline 2024-04-09 19:35:23 -07:00
short_item_info.html Fix improper escaping of deprecation reasons 2023-03-20 05:21:51 +00:00
sidebar.html rustdoc: load icons from css instead of inline 2024-04-09 19:35:23 -07:00
source.html rustdoc: avoid including line numbers in Google SERP snippets 2023-04-05 15:43:09 -07:00
type_layout.html rustdoc: remove small from `small-section-header` 2023-11-29 13:40:07 -07:00
type_layout_size.html rustdoc: use a separate template for type layout size 2023-04-18 10:21:04 -07:00