-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustdoc: use src consistently over source in CSS/JS #113709
Conversation
The CSS uses an inconsistent mix of both. This commit switches it to always use `src`.
Since the directory that contains source files is called `src`, it makes sense to name the scripts that way, too.
This is a separate commit to keep Git happy.
r? @jsha (rustbot has picked a reviewer for you, use r? to override) |
Some changes occurred in GUI tests. A change occurred in the Ayu theme. cc @Cldfire Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha Some changes occurred in HTML/CSS themes. |
Unification of terms doesn't hurt indeed. Thanks! @bors r+ rollup |
🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened. |
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#113625 (Structurally normalize in selection) - rust-lang#113644 (misc bootstrap cleanups) - rust-lang#113663 (Implement "items do not inherit unsafety" note for THIR unsafeck) - rust-lang#113683 (remove outdated `FIXME`s in bootstrap internals) - rust-lang#113709 (rustdoc: use src consistently over source in CSS/JS) - rust-lang#113724 (Migrate GUI colors test to original CSS color format) r? `@ghost` `@rustbot` modify labels: rollup
The two terms have been used, inconsistently, in closely related spots like the
src/
directory vssource-files.js
, and with things likesrc-sidebar-toggle
vs thesource-sidebar
. This PR changes most use ofsource
tosrc
instead (except the localStorage configuration variables, which would be very complicated to migrate).It also renames
.srclink
to.src
. This is mostly aiming to cut out one of those many little peanut-butter bits of bloat, and is consistent with how other link classes are done (like how you havea.mod
stylesheet rules, but there's also amod
class put on the body tag).