This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
(library
|
||||
(public_name foo))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.10)
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
This test generates documentation for non-hidden modules only for a library:
|
||||
|
||||
$ dune build @doc
|
||||
|
||||
Hidden modules should be compiled
|
||||
$ find _build/default -name '*.odoc' | sort -n
|
||||
_build/default/.foo.objs/byte/foo.odoc
|
||||
_build/default/.foo.objs/byte/foo__.odoc
|
||||
_build/default/.foo.objs/byte/foo__Bar.odoc
|
||||
_build/default/_doc/_odoc/pkg/foo/page-index.odoc
|
||||
|
||||
Hidden modules should not be linked
|
||||
$ find _build/default -name '*.odocl' | sort -n
|
||||
_build/default/_doc/_odocls/foo/foo.odocl
|
||||
_build/default/_doc/_odocls/foo/page-index.odocl
|
||||
|
||||
We don't expect html for hidden modules
|
||||
$ find _build/default -name '*.html' | sort -n
|
||||
_build/default/_doc/_html/foo/Foo/index.html
|
||||
_build/default/_doc/_html/foo/index.html
|
||||
_build/default/_doc/_html/index.html
|
||||
Loading…
Add table
Add a link
Reference in a new issue