0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/special/docs
Hannu Hartikainen c9ffb6f734 std docs: enhance search browser history UX
Before this change every keypress in the search field causes a browser
history entry, which makes navigating back annoying.

On first keypress in the search field, a new history entry is created.
On subsequent keypresses, the most recent history entry is replaced.
Therefore a typical history after searching and navigating to an entry
might look like

1. documentation root
2. search page "print"
3. docs for `std.debug.print`


Co-authored-by: Žiga Željko <ziga.zeljko@gmail.com>
History 2021-04-04 16:25:47 -07:00
..
index.html make visited links readable in the stdlib docs warning bar 2021-04-02 20:22:02 +02:00
main.js std docs: enhance search browser history UX 2021-04-04 16:25:47 -07:00