New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG][Doc] Many broken links in js_of_ocaml documentation #961
Comments
Likely the consequence of switching to odoc as well as splitting the project in multiple libraries. https://ocsigen.org/js_of_ocaml/latest/api/js_of_ocaml/Js_of_ocaml/Dom_html I'm guessing the links come from the doc of other ocsigen projects (like eliom) |
path generated by odoc are different in the following way:
We should be able to fix html_of_wiki to support odoc. We need a way a decide what api structure to use (odoc vs ocamldoc). Should we introduce a new extentions or just allow new parameters in the Other than that, Here is an example of what we could get
@balat, what do you think ? |
We're planning on adding a CLI util to odoc to map from a reference (ie., what you'd find in a doc comment, like |
@jonludlam, I think this will be useful long term |
@balat, I've started some experiment in https://github.com/ocsigen/html_of_wiki/tree/hhugo-odoc-support |
Great news! Thank you for experimenting that! I don't really have a preference. I suppose that one day we will switch completely to odoc, as supporting the two backends will complicate things. I'd be happy to switch the whole website to odoc, even if it makes all URLs change ... |
I currently don't know how to well integrate the odoc api with the current website, see #855 for a possible solution. Regarding feature parity, I don't have a good grasp on what they are. |
I've fixed links in js_of_ocaml, eliom, tyxml, tuto |
A lot of links (all ?) to js_of_ocaml documentation are broken:
https://ocsigen.org/js_of_ocaml/latest/api/Dom_html
https://ocsigen.org/js_of_ocaml/latest/api/Js#VALstring
https://ocsigen.org/js_of_ocaml/latest/api/Dom_events#VALlisten
https://ocsigen.org/js_of_ocaml/latest/api/Js_of_ocaml_lwt.Lwt_js_events
https://ocsigen.org/js_of_ocaml/latest/api/Lwt_js_events#VALclick
https://ocsigen.org/js_of_ocaml/latest/api/Lwt_js_events#VALclicks
https://ocsigen.org/js_of_ocaml/latest/api/Lwt_js_events#VALmousedowns
The text was updated successfully, but these errors were encountered: