Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand test
Browse files Browse the repository at this point in the history
emillon committed Jul 18, 2023
1 parent fcedc22 commit 187b597
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions test/blackbox-tests/test-cases/odoc/doc-json.t
Original file line number Diff line number Diff line change
@@ -16,9 +16,24 @@
> end
> EOF

$ dune build @doc-json
$ list_docs () {
> find _build/default/_doc/_html/ -name '*.html' -o -name '*.html.json' | sort
> }

$ find _build/default/_doc/_html/ -name '*.html' -o -name '*.html.json'
$ dune build @doc-json
$ list_docs
_build/default/_doc/_html/l/L/M/index.html.json
_build/default/_doc/_html/l/L/index.html.json
_build/default/_doc/_html/l/index.html.json

@doc will continue generating doc as usual:

$ dune build @doc
$ list_docs
_build/default/_doc/_html/index.html
_build/default/_doc/_html/l/L/M/index.html
_build/default/_doc/_html/l/L/M/index.html.json
_build/default/_doc/_html/l/L/index.html
_build/default/_doc/_html/l/L/index.html.json
_build/default/_doc/_html/l/index.html
_build/default/_doc/_html/l/index.html.json

0 comments on commit 187b597

Please sign in to comment.