mirror of
https://github.com/Z3Prover/z3
synced 2025-12-21 19:53:43 +00:00
updated with env ocaml
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
89e5e294fc
commit
1cccbfdcf3
1 changed files with 2 additions and 1 deletions
3
.github/workflows/docs.yml
vendored
3
.github/workflows/docs.yml
vendored
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y doxygen graphviz python3 python3-pip
|
sudo apt-get install -y doxygen graphviz python3 python3-pip
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
bubblewrap m4 libgmp-dev pkg-config ninja-build ccache
|
bubblewrap m4 libgmp-dev pkg-config
|
||||||
|
|
||||||
- name: Install required opam packages
|
- name: Install required opam packages
|
||||||
run: opam install -y ocamlfind zarith
|
run: opam install -y ocamlfind zarith
|
||||||
|
|
@ -61,6 +61,7 @@ jobs:
|
||||||
- name: Generate Documentation (from doc directory)
|
- name: Generate Documentation (from doc directory)
|
||||||
working-directory: doc
|
working-directory: doc
|
||||||
run: |
|
run: |
|
||||||
|
eval $(opam env)
|
||||||
python3 mk_api_doc.py --mld --output-dir=api --z3py-package-path=../build/python/z3
|
python3 mk_api_doc.py --mld --output-dir=api --z3py-package-path=../build/python/z3
|
||||||
mkdir api/html/ml
|
mkdir api/html/ml
|
||||||
ocamldoc -html -d api/html/ml -sort -hide Z3 -I $( ocamlfind query zarith ) -I ../build/api/ml ../build/api/ml/z3enums.mli ../build/api/ml/z3.mli
|
ocamldoc -html -d api/html/ml -sort -hide Z3 -I $( ocamlfind query zarith ) -I ../build/api/ml ../build/api/ml/z3enums.mli ../build/api/ml/z3.mli
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue