You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This avoids copying shared files for crates other than the empty
library. This
a) Allows removing `copy_doc_dir`, which allows crates to add their own custom CSS (with `--theme` or otherwise), and
b) Avoids unnecessary disk IO.
Here are the files generated for a build of regex 1.4.1:
```
cratesfyi=# select path from files where path like '%regex/1.4.1%' and path not like '%regex/1.4.1/%/%';
path
-----------------------------------------------------------------------
sources/regex/1.4.1/PERFORMANCE.md
rustdoc/regex/1.4.1/.lock
sources/regex/1.4.1/Cargo.toml
sources/regex/1.4.1/.cargo_vcs_info.json
sources/regex/1.4.1/LICENSE-APACHE
rustdoc/regex/1.4.1/source-files-20210402-1.53.0-nightly-138fd56cf.js
rustdoc/regex/1.4.1/settings.html
rustdoc/regex/1.4.1/search-index-20210402-1.53.0-nightly-138fd56cf.js
rustdoc/regex/1.4.1/crates-20210402-1.53.0-nightly-138fd56cf.js
sources/regex/1.4.1/CHANGELOG.md
sources/regex/1.4.1/LICENSE-MIT
sources/regex/1.4.1/rustfmt.toml
sources/regex/1.4.1/HACKING.md
sources/regex/1.4.1/test
sources/regex/1.4.1/Cargo.toml.orig
sources/regex/1.4.1/UNICODE.md
sources/regex/1.4.1/.gitignore
sources/regex/1.4.1/Cargo.lock
sources/regex/1.4.1/README.md
(19 rows)
```
Note in particular that search-index.js and crates.js are included, but
not shared files like `storage.js` or `rustdoc.css`.
0 commit comments