I propose (1) a simple "scroll to top" button aligned on the right side of the page or (2) automatic scrolling behavior to the top when typing in the search box.
There may be other ways to accomplish this, via a different design choice, but it seems like this is the best option.
In my case I'm using a magic keyboard without keypad, so no.
Actually, instead of adding extra things I would prefer a hook-like argument for injecting additional CSS/JS scripts. Not sure if this is already possible.
nim doc lovely.nim --assets:"./some/jsfile.js"
In devel the results are positioned so they are always visible (e.g. search for something here https://nim-lang.github.io/Nim/re.html#%3D~.t%2Cstring%2CRegex) Although imo the current floating design doesn't look good.
@georgelemon you can create a nimdoc.cfg file and override the doc.file setting
even if fn + up does the same thing
Didn't know this trick. Thanks for this.
In devel the results are positioned so they are always visible (e.g. search for something here https://nim-lang.github.io/Nim/re.html#%3D~.t%2Cstring%2CRegex)
Thanks didn't realize this was the case. Will use the devel docs from now, since I'm using a devel nim compiler.