rustdoc: use src consistently over source in CSS/JS#113709
Merged
bors merged 3 commits intorust-lang:masterfrom Jul 15, 2023
Merged
rustdoc: use src consistently over source in CSS/JS#113709bors merged 3 commits intorust-lang:masterfrom
bors merged 3 commits intorust-lang:masterfrom
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.
Collaborator
|
r? @jsha (rustbot has picked a reviewer for you, use r? to override) |
Collaborator
|
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. |
GuillaumeGomez
approved these changes
Jul 15, 2023
Member
|
Unification of terms doesn't hurt indeed. Thanks! @bors r+ rollup |
Collaborator
Collaborator
|
🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened. |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Jul 15, 2023
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The two terms have been used, inconsistently, in closely related spots like the
src/directory vssource-files.js, and with things likesrc-sidebar-togglevs thesource-sidebar. This PR changes most use ofsourcetosrcinstead (except the localStorage configuration variables, which would be very complicated to migrate).It also renames
.srclinkto.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.modstylesheet rules, but there's also amodclass put on the body tag).