Fix html generation for private libs
private-doc should collect html rather than odoc aliases Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
parent
794b2c696b
commit
da43480dfc
|
@ -534,7 +534,7 @@ module Gen (S : sig val sctx : SC.t end) = struct
|
|||
| _ -> None
|
||||
))
|
||||
|> List.map ~f:(fun (lib : Lib.t) ->
|
||||
Build_system.Alias.stamp_file (Dep.alias (Lib lib)))
|
||||
Build_system.Alias.stamp_file (Dep.html_alias (Lib lib)))
|
||||
|> Path.Set.of_list
|
||||
)
|
||||
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
This test checks that there is no clash when two private libraries have the same name
|
||||
|
||||
$ dune build --display short @doc-private
|
||||
odoc _doc/_html/odoc.css
|
||||
ocamldep a/test.ml.d
|
||||
ocamlc a/.test.objs/test.{cmi,cmo,cmt}
|
||||
odoc _doc/_odoc/lib/test@a/test.odoc
|
||||
odoc _doc/_html/test@a/Test/.jbuilder-keep,_doc/_html/test@a/Test/index.html
|
||||
ocamldep b/test.ml.d
|
||||
ocamlc b/.test.objs/test.{cmi,cmo,cmt}
|
||||
odoc _doc/_odoc/lib/test@b/test.odoc
|
||||
odoc _doc/_html/test@b/Test/.jbuilder-keep,_doc/_html/test@b/Test/index.html
|
||||
|
|
Loading…
Reference in New Issue