@echo off SETLOCAL call ..\tools\ocaml\win32\setup.cmd rd 2>NUL /s /q doc md doc cd doc set MLDIR=.. set DOCDIR=..\%1 ocamldoc.opt.exe -hide Z3,Z3.V3,Test_mlapi -html -css-style z3_ml.css -I %MLDIR% %MLDIR%\test_mlapi.ml %MLDIR%\z3.mli ..\sed.exe "s|
val\(.*\)
|
val\1
|g;s|
type\(.*\)
|
type\1
|g;s|type\(.*\) = |
type\1 =
|g" Z3.html > Z3.new.html move >NUL Z3.new.html Z3.html ..\sed.exe "s|
val\(.*\)
|
val\1
|g" Test_mlapi.html > Test_mlapi.new.html move >NUL Test_mlapi.new.html Test_mlapi.html ..\sed.exe "s|

Index of values

|

OCaml: Index

|" Index_values.html > Index_values.new.html move >NUL Index_values.new.html Index_values.html copy >NUL %DOCDIR%\tabs.css copy >NUL %DOCDIR%\z3.png copy >NUL %DOCDIR%\z3_ml.css ..\sed.exe "1,23d" Test_mlapi.html | ..\sed.exe "$d" > Test_mlapi.new.html type 2>NUL %DOCDIR%\test_mlapi_header.html Test_mlapi.new.html %DOCDIR%\mldoc_footer.html >Test_mlapi.html ..\sed.exe "1,37d" Z3.html > Z3.new.html type 2>NUL %DOCDIR%\z3_mlapi_header.html Z3.new.html >Z3.html exit /B 0 ENDLOCAL