rust/src/librustdoc
Guillaume Gomez a1593a678f
Rollup merge of #121590 - GuillaumeGomez:rustdoc-js-changed, r=notriddle
Correctly handle if rustdoc JS script hash changed

It's something that annoyed me for quite some time: I have nightly docs open (for both std and compiler). And often, I don't look at the page for some days. Then when I come back to it, I make a search... except nothing happens. Took me a while to figure out that it was because the hash of one of the JS files we load for the search (either `search.js` or `search-index.js`) was updated in the meantime, preventing the search to be done. To go around it, I added to press `ENTER` to make the form submitted (which would reload the same page but with the correct hashes this time and the search being run).

r? `@notriddle`
2024-02-26 10:27:42 +01:00
..
2024-02-22 12:51:05 +11:00
2024-02-22 08:03:47 +11:00
2023-12-10 10:56:22 +08:00
2024-02-22 08:03:47 +11:00
2024-01-10 07:33:06 +11:00

For more information about how librustdoc works, see the rustc dev guide.