]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #41112 - ollie27:rustdoc_pull, r=GuillaumeGomez
authorCorey Farwell <coreyf@rwell.org>
Thu, 6 Apr 2017 18:55:08 +0000 (14:55 -0400)
committerGitHub <noreply@github.com>
Thu, 6 Apr 2017 18:55:08 +0000 (14:55 -0400)
commitf129c0c62b765408672d1fec3c0c7933423cf881
tree76db617675a019d94f802eb6e8c1e52727099c20
parent202be73aefd784f0337fae16afae9b1104298dc4
parentf9fb381b2a13260c3fcdae2f6d9546ab2c87e717
Rollup merge of #41112 - ollie27:rustdoc_pull, r=GuillaumeGomez

rustdoc: Use pulldown-cmark for Markdown HTML rendering

Instead of rendering all of the HTML in rustdoc this relies on
pulldown-cmark's `push_html` to do most of the work. A few iterator
adapters are used to make rustdoc specific modifications to the output.

This also fixes MarkdownHtml and link titles in plain_summary_line.

https://ollie27.github.io/rust_doc_test/ is the docs built with this change and #41111.

Part of #40912.

cc @GuillaumeGomez

r? @steveklabnik