Skip to content

Commit c7c8724

Browse files
committed
Auto merge of #13187 - GuillaumeGomez:settings-menu, r=Alexendoo
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 #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
2 parents 94099f4 + 2ae6a49 commit c7c8724

File tree

4 files changed

+471
-406
lines changed

4 files changed

+471
-406
lines changed

.github/deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ mkdir out/master/
1010
cp util/gh-pages/index.html out/master
1111
cp util/gh-pages/script.js out/master
1212
cp util/gh-pages/lints.json out/master
13+
cp util/gh-pages/style.css out/master
1314

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

0 commit comments

Comments
 (0)