art-w / sherlodoc

Fuzzy type search for OCaml documentation
MIT License
73 stars 6 forks source link

Do not duplicate code from odoc #19

Open EmileTrotignon opened 8 months ago

EmileTrotignon commented 8 months ago

Currently, the code in jsoo/odoc_html_frontend.ml is duplicated from odoc. It has a slightly different type that allows for smaller js_of_ocaml executable size. We should remove this duplication once the optim are upstreamed in odoc : https://github.com/ocaml/odoc/pull/1072