Repository navigation
Conversation
Author
|
Before this can be merged, I need to have an overlay in reporepo with oi-docs! |
added 2 commits
May 20, 2026 14:57
When a project's solve includes the oi-docs conf-package, every package's
build runs `odoc_driver_voodoo --blessed` after Apply_install_file and
captures the resulting odoc/{html,odoc}/p/<pkg>/<ver>/... tree into the
same layer's fs/.
Currently only per-package docs are created, no overall index.
The end result is visible at _oi/prefix/odoc/html/
This package serves as a boolean 'build-docs' switch. If it's in the dependencies, build the docs. If not, don't. This means that this branch can now be merged and it won't break anything due to an unknown package.
Author
|
Rather than requiring an overlay with the 'oi-docs' package, this now embeds the package. This means docs should be available without requiring any overlay. There is still a need to add odoc-driver, sherlodoc and odoc-md to the toolchain package though. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a project's solve includes the oi-docs conf-package, every package's build runs
odoc_driver_voodoo --blessedafter Apply_install_file and captures the resulting odoc/{html,odoc}/p///... tree into the same layer's fs/.Currently only per-package docs are created, no overall index.
The end result is visible at _oi/prefix/odoc/html/