]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #85833 - willcrichton:example-analyzer, r=jyn514
authorMatthias Krüger <matthias.krueger@famsik.de>
Sat, 23 Oct 2021 12:58:39 +0000 (14:58 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Oct 2021 12:58:39 +0000 (14:58 +0200)
commitdcf9242795fdd0be3873492fb36f77533dbf017c
tree15474e950bd74b1db9c7cd5f62681b11fa2944ff
parent55ccbd090d96ec3bb28dbcb383e65bbfa3c293ff
parentfd5d614b7708c2bbd0a7c796af3c3b63f31a19ac
Rollup merge of #85833 - willcrichton:example-analyzer, r=jyn514

Scrape code examples from examples/ directory for Rustdoc

Adds support for the functionality described in https://github.com/rust-lang/rfcs/pull/3123

Matching changes to Cargo are here: https://github.com/rust-lang/cargo/pull/9525

Live demo here: https://willcrichton.net/example-analyzer/warp/trait.Filter.html#method.and
12 files changed:
src/librustdoc/clean/mod.rs
src/librustdoc/html/highlight.rs
src/librustdoc/html/markdown.rs
src/librustdoc/html/render/context.rs
src/librustdoc/html/render/mod.rs
src/librustdoc/html/render/print_item.rs
src/librustdoc/html/render/write_shared.rs
src/librustdoc/html/static/css/rustdoc.css
src/librustdoc/html/static/css/themes/ayu.css
src/librustdoc/html/static/css/themes/dark.css
src/librustdoc/html/static_files.rs
src/librustdoc/lib.rs