mdbook/src/renderer/html_handlebars
Eric Huss 33da0c26c4 Some updates to the help popup
This makes a few changes to the help popup:

- Move css to chrome.css, since this is a UI element.
- Move HTML code to index.hbs instead of generated in JavaScript.
  In general I prefer to keep HTML out of JavaScript when possible,
  and I didn't see a particular reason to avoid it.
- Added a click handler to dismiss the popup.
- Make sure handlers get removed when dismissed.
- Use `mdbook-` prefixes for IDs to avoid collisions with headers.
- Don't show search if it isn't enabled.
- Add the new `/` shortcut.
- Use flex layout for better positioning.
- Dim out the surrounding text using an overlay.
- Various other styling tweaks.
- Add a GUI test.
2025-05-14 18:17:16 -07:00
..
helpers Fix clippy::redundant_slicing 2025-04-20 19:25:50 -07:00
hbs_renderer.rs Some updates to the help popup 2025-05-14 18:17:16 -07:00
mod.rs Fix some missing docs 2025-04-20 19:42:45 -07:00
search.rs Replace once_cell::sync::Lazy with std::sync::LazyLock 2025-05-11 11:46:12 +02:00
static_files.rs Replace once_cell::sync::Lazy with std::sync::LazyLock 2025-05-11 11:46:12 +02:00