rust/src/librustdoc
Matthias Krüger 1d4397ba70
Rollup merge of #107964 - notriddle:notriddle/title-line-height, r=GuillaumeGomez
rustdoc: use tighter line height in h1 and h2

This keeps the line height for body text the same, as required by WCAG, but for headers, it makes sense to have wrapped lines be a bit tighter packed.

## Before

![image](https://user-images.githubusercontent.com/1593513/218332683-88a02467-7811-4e6b-81f8-67dded691465.png)

## After

![image](https://user-images.githubusercontent.com/1593513/218332698-a1b2a265-0658-4306-8473-b835f663172d.png)
2023-02-12 22:29:50 +01:00
..
clean Rollup merge of #107897 - GuillaumeGomez:reexported-macros-docs, r=notriddle 2023-02-11 17:18:44 +01:00
doctest Rename TestOptions to GlobalTestOptions 2021-12-12 17:46:19 -08:00
formats rustdoc: Use DefId(Map,Set) instead of FxHash(Map,Set) 2023-01-22 02:12:05 +04:00
html Rollup merge of #107964 - notriddle:notriddle/title-line-height, r=GuillaumeGomez 2023-02-12 22:29:50 +01:00
json Fix small debug typo 2023-02-08 17:31:54 +01:00
passes Auto merge of #107933 - petrochenkov:rmdlc, r=GuillaumeGomez 2023-02-12 14:28:43 +00:00
theme Correctly handle parens 2022-09-15 13:53:20 +02:00
askama.toml Move back templates into html folder 2022-01-19 11:13:24 +01:00
Cargo.toml Resolve documentation links in rustc and store the results in metadata 2023-02-10 09:34:13 +04:00
config.rs Fix typo in comment 2023-01-21 17:34:30 -05:00
core.rs rustdoc: Remove cache for preprocessed markdown links 2023-02-11 22:27:02 +04:00
docfs.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
doctest.rs rustdoc: Stop using HirIds 2023-01-26 16:45:49 +04:00
error.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
externalfiles.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
fold.rs clean: Always store enum disriminant. 2023-01-01 18:11:53 +00:00
lib.rs Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk 2023-02-11 12:10:16 +00:00
lint.rs Change default lint level of INVALID_HTML_TAGS to warning 2022-10-10 18:28:29 +02:00
markdown.rs Turn MarkdownWithToc into a struct with named fields 2023-02-06 16:31:17 +01:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
scrape_examples.rs Revert crate_types change, add new bin_crate field 2022-12-07 09:08:43 -08:00
theme.rs Correctly handle parens 2022-09-15 13:53:20 +02:00
visit.rs clean: Always store enum disriminant. 2023-01-01 18:11:53 +00:00
visit_ast.rs Correctly handle reexports for macros 2023-02-10 18:32:18 +01:00
visit_lib.rs rustdoc: Collect rustdoc-reachable items during early doc link resolution 2023-01-25 23:14:09 +04:00

For more information about how librustdoc works, see the rustc dev guide.