-
Notifications
You must be signed in to change notification settings - Fork 94
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
New model #439
New model #439
Conversation
I thought it might be useful to have the results of this run on core_kernel to see what it looks like. Highlights:
Still to resolve:
|
Just making notes as I flick through the (new and vastly improved) generated docs:
|
There are a few rendering issues in firefox as well.
That's generated by odig, not odoc. |
Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
The get inlined if the decl can't be rendered well, and the current behaviour of rendering the decl anyway is triggering warnings of unresolved paths. Also don't try to output anything for hidden pages again, where we were previously rending placeholder pages Signed-off-by: Jon Ludlam <jon@recoil.org>
Build the minimal one. Signed-off-by: Jon Ludlam <jon@recoil.org>
Still renders it as 'sig' though Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
This reverts commit 897f879.
Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
This was breaking async_kernel. Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
Add "typed_module", "functor_parameter" and "direct_module" ident and identifier types that are smaller than the corresponding "module_" type. They are used in `Lang` and `Component`.
Was: functor () sig ... end Now: functor () -> sig ... end Fixes ocaml#410 Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
- Use esy 0.6.4 to ensure travis's older osx works - Add a comment explaining why we're not testing on 4.11 any more Signed-off-by: Jon Ludlam <jon@recoil.org>
This PR contains the new model that's been in development for a while.
Largely this follows the design doc on the wiki - https://github.com/ocaml/odoc/wiki/Model-design
although to ensure backward compatibility with existing tools (dune and odig) the link
phase is done by the
html
command.This new version is quite memory hungry on larger projects (e.g. Core_kernel), which will require some tweaking before release.