Currently it only copies the dochack file [when the index is built](https://github.com/nim-lang/Nim/blob/devel/compiler/docgen.nim#L1801) (i.e. having `--project` or `--buildIndex`).
Honestly should probably generate it every time since it is used for more than searching now