rust/src/librustdoc/html
Dylan DPC 31f532092c
Rollup merge of #83478 - jyn514:fine-grained-files, r=Mark-Simulacrum
rustdoc: Add unstable option to only emit shared/crate-specific files

The intended use case is for docs.rs, which can now copy exactly the
files it cares about, rather than having to guess based on whether they
have a resource suffix or not. In particular, some files have a resource
suffix but cannot be shared between crates: https://github.com/rust-lang/docs.rs/pull/1312#issuecomment-798783688

The end goal is to fix rust-lang/docs.rs#1327 by reverting rust-lang/docs.rs#1324.

This obsoletes `--print=unversioned-files`, which I plan to remove as
soon as docs.rs stops using it.

I recommend reviewing this one commit at a time.

r? ``@GuillaumeGomez`` cc ``@Nemo157`` ``@pietroalbini``
2021-04-02 19:57:30 +02:00
..
highlight rustdoc tweaking 2021-01-30 01:02:18 +00:00
markdown Treat header as first paragraph for shortened markdown descriptions 2021-03-09 17:48:14 -07:00
render Rollup merge of #83478 - jyn514:fine-grained-files, r=Mark-Simulacrum 2021-04-02 19:57:30 +02:00
static Rollup merge of #83721 - GuillaumeGomez:copy-use, r=Nemo157 2021-04-02 21:28:21 +09:00
toc Format the world 2019-12-22 17:42:47 -05:00
escape.rs rustdoc tweaking 2021-01-30 01:02:18 +00:00
format.rs Rework rustdoc const type 2021-03-24 21:48:34 +01:00
highlight.rs rustdoc tweaking 2021-01-30 01:02:18 +00:00
layout.rs Rollup merge of #82732 - GuillaumeGomez:remove-theme-file, r=Nemo157 2021-03-23 10:15:40 +09:00
markdown.rs Rollup merge of #83721 - GuillaumeGomez:copy-use, r=Nemo157 2021-04-02 21:28:21 +09:00
mod.rs rustdoc: Note why rustdoc::html::markdown is public 2021-01-31 19:22:37 -08:00
sources.rs rustdoc: Use diagnostics for error when including sources 2021-03-23 19:29:49 -07:00
static_files.rs Update Source Code Pro and include italics 2021-03-07 09:13:27 +01:00
toc.rs clippy fixes for librustdoc 2021-01-01 21:19:10 +01:00