rust/src/librustdoc
Guillaume Gomez 6ac83e1808
Rollup merge of #85722 - GuillaumeGomez:trait-toggle, r=jsha
Fix trait methods' toggle

A `<details>` tag wasn't closed on trait methods, which created broken DOM. I also used this occasion to only generate the toggle in case there is documentation on the method.

r? `@jsha`
2021-05-27 20:08:17 +02:00
..
clean rustdoc: render <Self as X>::Y type casts properly 2021-05-19 19:38:37 +02:00
doctest Fix injected errors when running doctests on a crate named after a keyword 2021-02-11 17:16:43 -05:00
formats Minimize amount of fake DefIds used in rustdoc 2021-05-15 13:21:35 +02:00
html Rollup merge of #85722 - GuillaumeGomez:trait-toggle, r=jsha 2021-05-27 20:08:17 +02:00
json rustdoc: render <Self as X>::Y type casts properly 2021-05-19 19:38:37 +02:00
passes Fix rebase conflicts 2021-05-17 23:33:04 -04:00
theme Add test to check if minified theme are handled correctly 2020-02-12 15:49:39 +01:00
Cargo.toml Upgrade minifier version to 0.0.41 2021-05-20 16:51:44 +02:00
config.rs Use parse_target_triple in rustdoc 2021-05-24 19:53:44 +02:00
core.rs Auto merge of #85178 - cjgillot:local-crate, r=oli-obk 2021-05-17 01:42:03 +00:00
docfs.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
doctest.rs Auto merge of #83813 - cbeuw:remap-std, r=michaelwoerister 2021-05-12 11:05:56 +00:00
doctree.rs compute where_outer on demand, remove it from Module 2021-05-01 15:33:49 +02:00
error.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
externalfiles.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
fold.rs rustdoc: Remove unnecessary StripItem wrapper 2021-05-04 21:56:27 -04:00
lib.rs remove cfg(bootstrap) 2021-05-24 11:07:48 -04:00
lint.rs Rename INVALID_RUST_CODEBLOCK{,S} 2021-05-17 21:31:04 -04:00
markdown.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
theme.rs Change librustdoc write(.. \n) to writeln(..); fix comment in grammar 2021-05-03 02:19:57 -05:00
visit_ast.rs Add type to differentiate between fake and real DefId's 2021-05-04 19:34:12 +02:00
visit_lib.rs Remove the dummy cache in DocContext 2021-03-01 00:30:30 -05:00

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