rust/src/librustdoc/html
Michael Howell 5b44bfda7f rustdoc-search: shard the search result descriptions
The descriptions are, on almost all crates[^1], the majority
of the size of the search index, even though they aren't really
used for searching. This makes it relatively easy to separate
them into their own files.

This commit also bumps us to ES8. Out of the browsers we support,
all of them support async functions according to caniuse.

https://caniuse.com/async-functions

[^1]:
    <https://microsoft.github.io/windows-docs-rs/>, a crate with
    44MiB of pure names and no descriptions for them, is an outlier
    and should not be counted.
2024-03-16 22:07:30 -07:00
..
highlight Add regression test for inclusion of whitespace characters in rustdoc highlighting 2024-02-28 16:08:46 +01:00
length_limit Remove from librustdoc and clippy too 2023-01-27 20:44:19 -08:00
markdown Fix non_local_definitions lint in rustdoc 2024-02-17 13:59:46 +01:00
render rustdoc-search: shard the search result descriptions 2024-03-16 22:07:30 -07:00
static rustdoc-search: shard the search result descriptions 2024-03-16 22:07:30 -07:00
templates rustdoc: do not preload fonts when browsing locally 2024-03-12 15:00:22 -07:00
toc Format the world 2019-12-22 17:42:47 -05:00
url_parts_builder Document and test UrlPartsBuilder::push_fmt 2022-01-14 12:05:35 -08:00
escape.rs rustdoc: do not escape quotes in body text 2023-12-01 15:15:45 -07:00
format.rs inline 2024-03-14 15:07:30 +01:00
highlight.rs Prevent inclusion of whitespace character after macro_rules ident 2024-02-27 17:40:29 +01:00
layout.rs rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
length_limit.rs Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
markdown.rs Rename DiagnosticMessage as DiagMessage. 2024-03-05 12:14:49 +11:00
mod.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
sources.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
static_files.rs rustdoc: avoid whole page layout on each frame 2023-10-11 10:28:54 -07:00
tests.rs rustdoc: avoid many Symbol to String conversions. 2022-01-14 11:57:18 -08:00
toc.rs fix clippy perf lints 2022-05-24 13:35:54 -04:00
url_parts_builder.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00