devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

Erlang documentation is not correctly indexed

Open qwfy opened this issue 7 years ago • 2 comments

As of commit d48396d, the Erlang documentation is not correctly indexed and/or not correctly searched:

There are two problems, since they may be related, I put both of them here:

  1. Search with lists:sum should show documentation about the function lists:sum, but empty results are returned instead. (not all are badly indexed, for example, search gen_server:call works as expected.

image

  1. Some functions of the lists module is missing in the export list. See the below two screenshots.

Wrong behaviour (only one export is shown) image

Expected behaviour (many exports are shown) image

qwfy avatar Apr 17 '18 14:04 qwfy

So this is coming up on 2 years, and still seems to be a problem. I'm gonna add on and say what is there isn't formatted well either, with Types being much larger than the actual function itself.

ABuffSeagull avatar Apr 12 '20 21:04 ABuffSeagull

Same issues for me. I assume it's because most languages use . to delimit module/object from method/function. Whereas Erlang uses :. Also, specifying arity isn't supported either. Happy to contribute a PR if there is a solution to these problems.

Stratus3D avatar Feb 16 '22 16:02 Stratus3D