-
Notifications
You must be signed in to change notification settings - Fork 96
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
Driver: New hierarchy #1236
Driver: New hierarchy #1236
Conversation
This will allow to avoid circular dependencies when generation function call landing page generation function (which depend on the type defs) The code is untouched (apart from being moved).
This will be useful for landing pages outside of the hierarchy.
In particular, the package list page does not have one.
dc0b86f
to
64ec490
Compare
src/driver/odoc_driver.ml
Outdated
@@ -614,6 +614,8 @@ let run libs verbose packages_dir odoc_dir odocl_dir html_dir stats nb_workers | |||
if voodoo then | |||
match Util.StringMap.to_list all with | |||
| [ (_, p) ] -> | |||
(* TODO: check whether the [doc] layer should be removed (due to new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be fine to remove the 'doc' dir.
This looks good, except that there's some code in the voodoo module to determine libraries based on their paths which we need to figure out: https://github.com/ocaml/odoc/blob/master/src/driver/voodoo.ml#L277-L280 |
I'm working on a fix for voodoo mode. |
Then, I pushed only the fix regarding your other comment. Is there anything more to do than removing the "lib" intermediate directory in your linked file? I'll wait and see your fix! |
Seems voodoo mode is broken for more reasons, let's just merge this and I'll fix it in another PR. |
Based on #1233.
Implement the new hierarchy in the driver. This time, properly split in commits!