Skip to content

Commit

Permalink
Auto merge of rust-lang#13187 - GuillaumeGomez:settings-menu, r=Alexe…
Browse files Browse the repository at this point in the history
…ndoo

Add settings menu on clippy lints page

It looks like this (when the menu is expanded):

![Screenshot from 2024-08-06 21-36-41](https://github.com/user-attachments/assets/c464aef3-b21e-48cc-8e3a-c32a134f995e)

Follow-up of rust-lang/rust-clippy#13178.

Someone pointed out that they should be able to disable the shortcuts on this page like it's the case for rustdoc and docs.rs. So here we go.

The first commit moves the style into its own file: it's much better for a web browser because it can then cache it.

The second one actually adds the new settings menu you can see above.

r? `@Alexendoo`

changelog: Add settings menu on clippy lints page
  • Loading branch information
bors committed Aug 11, 2024
2 parents 94099f4 + 2ae6a49 commit c7c8724
Show file tree
Hide file tree
Showing 4 changed files with 471 additions and 406 deletions.
1 change: 1 addition & 0 deletions .github/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ mkdir out/master/
cp util/gh-pages/index.html out/master
cp util/gh-pages/script.js out/master
cp util/gh-pages/lints.json out/master
cp util/gh-pages/style.css out/master

if [[ -n $TAG_NAME ]]; then
echo "Save the doc for the current tag ($TAG_NAME) and point stable/ to it"
Expand Down
Loading

0 comments on commit c7c8724

Please sign in to comment.