You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Links in documentation comments works correctly in the odoc static html results. On the opam-wide website however, they don't point to a valid url as the links are relative (and so don't point to ocaml.org).
For example Stdlib.List.flatten has the description Same as {!concat} but the link to concat is broken (... the links are rendered in black with css to avoid the user clicking them!). We would probably need some support from odoc html rendering to specify a base url... or we could hack the odoc generated html to fix the links.
The text was updated successfully, but these errors were encountered:
I have tried to add a test for this : #22
However the links are not include in the docstring when it is rendered by odoc for the search. How do you get them on www sherlodoc ?
Thanks for the test! Indeed hm, perhaps the links on doc.sherlocode.com are coming from my dirty rebase of odoc.search for odoc 2.2.0 to run on the voodoo generated files... I'll try again without my hacks once ocaml-doc/voodoo#128 is live and close this issue :)
Links in documentation comments works correctly in the odoc static html results. On the opam-wide website however, they don't point to a valid url as the links are relative (and so don't point to ocaml.org).
For example
Stdlib.List.flatten
has the descriptionSame as {!concat}
but the link to concat is broken (... the links are rendered in black with css to avoid the user clicking them!). We would probably need some support from odoc html rendering to specify a base url... or we could hack the odoc generated html to fix the links.The text was updated successfully, but these errors were encountered: