rustdoc: clean up `#toggle-all-docs` This change converts the element from an `<a>` link to a button. It's pretty much directly trading slightly more CSS for slightly less HTML, and it's also semantically correct (so you don't get a broken "bookmark" option when you right click on it). While doing this, I also got rid of the unnecessary `class="inner"` attribute on the inner span. There was a style targeting `.collapse-toggle > .inner`, but no CSS ever targeted the `#toggle-all-docs > .inner`. Preview: https://notriddle.com/notriddle-rustdoc-test/button-toggle-all-docs/index.html |
||
|---|---|---|
| .. | ||
| highlight | ||
| length_limit | ||
| markdown | ||
| render | ||
| static | ||
| templates | ||
| toc | ||
| url_parts_builder | ||
| escape.rs | ||
| format.rs | ||
| highlight.rs | ||
| layout.rs | ||
| length_limit.rs | ||
| markdown.rs | ||
| mod.rs | ||
| sources.rs | ||
| static_files.rs | ||
| tests.rs | ||
| toc.rs | ||
| url_parts_builder.rs | ||