nim-lang / Nim

Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
https://nim-lang.org
Other
16.44k stars 1.47k forks source link

docsearch not searching for `foo`:idx: entries #9477

Open timotheecour opened 5 years ago

timotheecour commented 5 years ago

when a doc comment for a symbol (eg ospaths.lastPathPart) refers to a idx entry, eg baseName:idx:

proc lastPathPart*(path: string): string =
  ## like ``extractFilename``, but ignores trailing dir separator; aka: `baseName`:idx: in some other languages.

it (correctly) ends up in an entry in https://nim-lang.github.io/Nim/theindex.html however, docsearch can't find these idx entries. /cc @rayman22201

Possible Solution

Additional Information

rayman22201 commented 5 years ago

I think this is another issue that theindex.json will fix. A lot of data has to be left out because the search code can't differentiate the data in html format.