I'm trying to learn docgen and produce documentation for a new library I'm developing.
When I run nim doc target.nim, a directory called 'htmldocs' is created with the associated HTML and CSS file (this works fine). However, I noticed the theme wasn't changing when selecting Dark mode.
It looks like there's a javascript file called 'dochack.js' that apparently isn't generated along with the other resources.
Why? Is this a bug? What are the steps needed to take to produce the js file?
I've tried this from v1.6.8-2.0.2 for context.
Currently it only copies the dochack file when the index is built (i.e. having --project or --buildIndex).
Honestly should probably generate it every time since it is used for more than searching now