Place module list on its own line (take 2)
See eb05f4f643
and
https://github.com/ocaml/dune/pull/367#issuecomment-352209790.
This commit is contained in:
parent
271063891b
commit
f29ff0945d
|
@ -411,8 +411,8 @@ module Gen (S : sig val sctx : SC.t end) = struct
|
|||
Buffer.add_string b (
|
||||
sprintf
|
||||
"{1 Library %s}\n\
|
||||
This library exposes the following toplevel modules: \
|
||||
{!modules:%s}.\n"
|
||||
This library exposes the following toplevel modules:\n\
|
||||
{!modules:%s}\n"
|
||||
(Lib.name lib)
|
||||
(modules
|
||||
|> List.sort ~compare:(fun x y ->
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
|
||||
$ $JBUILDER build @foo-mld -j1 --display short --root .
|
||||
{1 Library foo}
|
||||
This library exposes the following toplevel modules: {!modules:Foo}.
|
||||
This library exposes the following toplevel modules:
|
||||
{!modules:Foo}
|
||||
{1 Library foo.byte}
|
||||
This library exposes the following toplevel modules: {!modules:Foo_byte}.
|
||||
This library exposes the following toplevel modules:
|
||||
{!modules:Foo_byte}
|
||||
|
|
Loading…
Reference in New Issue