about summary refs log tree commit diff
path: root/src/test/rustdoc/static-root-path.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-18/+0
2022-10-29Make --static-root-path point to static.filesJacob Hoffman-Andrews-3/+3
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-13Update `@!has` name in testsNoah Lev-5/+5
2022-08-13Rename `@hastext` to `@hasraw` (same for `matches`)Noah Lev-5/+5
I think `@hasraw` is slightly clearer than `@hastext` since it is actually matching against the raw HTML, not the text nodes.
2022-08-13Update tests: arity-2 `@{has,matches}` -> `...text`Noah Lev-5/+5
2021-11-24Consistentize the system for image URLs in CSS.Jacob Hoffman-Andrews-1/+1
2019-04-15use --static-root-path for settings.jsQuietMisdreavus-0/+4
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-20split extra_scripts to handle root_path shenanigansQuietMisdreavus-0/+6
2018-12-20new --static-root-path flag for controlling static file locationsQuietMisdreavus-0/+18