Skip to content
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

Fix unvendorable [%blob] path #1

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ let cmd_jsoo =
in
let emit_js_dep filename =
let close, h = if filename = "" then false, stdout else true, open_out filename in
output_string h [%blob "jsoo/sherlodoc.js"] ;
output_string h [%blob "../jsoo/sherlodoc.js"] ;
if close then close_out h
in
Cmd.v info Term.(const emit_js_dep $ target)
Expand Down
2 changes: 1 addition & 1 deletion index/index.ml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let index_odoc_index_file register filename =
| Error (`Msg msg) -> Format.printf "FILE ERROR %s: %s@." filename msg
| Ok file ->
(match Odoc_odoc.Odoc_file.load_index file with
| Ok entries -> Odoc_model.Paths.Identifier.Hashtbl.Any.iter register (snd entries)
| Ok entries -> Odoc_model.Paths.Identifier.Hashtbl.Any.iter register entries.index
| Error (`Msg msg) -> Format.printf "Odoc warning or error %s: %s@." filename msg)

let main
Expand Down