-
Notifications
You must be signed in to change notification settings - Fork 414
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add test to demostrate that dune doesn't generate docs for hidden mod…
…ules Signed-off-by: lubegasimon <[email protected]>
- Loading branch information
1 parent
022380a
commit 56981b4
Showing
5 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(library | ||
(public_name foo)) |
1 change: 1 addition & 0 deletions
1
test/blackbox-tests/test-cases/odoc/odoc-wrapped-lib.t/dune-project
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
(lang dune 1.10) |
Empty file.
20 changes: 20 additions & 0 deletions
20
test/blackbox-tests/test-cases/odoc/odoc-wrapped-lib.t/run.t
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
This test generates documentation for non-hidden modules only using odoc for a library: | ||
|
||
$ dune build @doc | ||
$ ls -R _build/default/_doc/_html | ||
foo | ||
highlight.pack.js | ||
index.html | ||
odoc.css | ||
|
||
_build/default/_doc/_html/foo: | ||
Foo | ||
index.html | ||
|
||
_build/default/_doc/_html/foo/Foo: | ||
Bar | ||
index.html | ||
|
||
_build/default/_doc/_html/foo/Foo/Bar: | ||
index.html | ||
|