about summary refs log tree commit diff
path: root/src/test/run-make/emit-shared-files
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-47/+0
2022-10-29rustdoc: add hash to filename of toolchain filesJacob Hoffman-Andrews-6/+6
All static files used by rustdoc are now stored in static.files/ and include a hash of their contents. They no longer include the contents of the --resource-suffix flag. This clarifies caching semantics. Anything in static.files can use Cache-Control: immutable because any updates will show up as a new URL. Invocation-specific files like crates-NN.js, search-index-NN.js, and sidebar-items-NN.js still get the resource suffix. The --disable-minification flag is removed because it would vary the output of static files based on invocation flags. Instead, for rustdoc development purposes it's preferable to symlink static files to a non-minified copy for quick iteration.
2022-08-23Diagnose missing includes in run-make testsTomasz Miąsko-1/+1
2022-04-21Update run-make test front-files from .woff to .woff2Guillaume Gomez-3/+3
2021-04-05change SourceSerifPro to SourceSerif4 in emit-shared-files testTrevor Spiteri-3/+3
2021-03-31Fix `--external-css` to be invocation-specific and note main.js should be ↵Joshua Nelson-7/+17
invocation specific
2021-03-31Rename CrateSpecific -> InvocationSpecificJoshua Nelson-11/+11
2021-03-31Enforce that Toolchain files are static and Crate files are dynamicJoshua Nelson-1/+5
This also changes custom themes from Toolchain to Crate files.
2021-03-25Add unstable option to only emit shared/crate-specific filesJoshua Nelson-0/+33
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 https://github.com/rust-lang/docs.rs/issues/1327 by reverting https://github.com/rust-lang/docs.rs/pull/1324. This obsoletes `--print=unversioned-files`, which I plan to remove as soon as docs.rs stops using it.