rust/util/gh-pages
bors 6a795887c4 Auto merge of #13539 - GuillaumeGomez:allow-no-js, r=Alexendoo
Allow to go through clippy lints page without javascript

Fixes #13536.

This is the follow-up of https://github.com/rust-lang/rust-clippy/pull/13269.

This PR makes it possible to expand/collapse lints (individually) without JS. To achieve this result, there are two ways:
1. Use `details` and `summary` tags. Problem with this approach is that the web browser search may open the `details` tags automatically if content matching it is inside. From a previous discussion with `@Alexendoo,` it seems to not be a desired behaviour.
2. Use a little trick where you use a `label` and a checkbox where the checkbox is in fact hidden. Then it's just a matter of CSS.

r? `@Alexendoo`

changelog: Allow to go through clippy lints page without JS
2024-10-18 19:24:16 +00:00
..
index_template.html Auto merge of #13539 - GuillaumeGomez:allow-no-js, r=Alexendoo 2024-10-18 19:24:16 +00:00
script.js Allow to go through clippy lints page without javascript 2024-10-18 18:03:16 +02:00
style.css Allow to go through clippy lints page without javascript 2024-10-18 18:03:16 +02:00
theme.js Move theme handling JS into its own file to make theme being applied before first rendering 2024-10-03 11:12:19 +02:00
versions.html Generate versions HTML directly 2024-09-18 18:51:54 +00:00