Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dafny doc #68

Merged
merged 2 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/dafny/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Using the Dafny-VMC library in a Dafny application.
<br>
<a href="dafny-doc/index.html">Dafny documentation</a>
<br>
<a href="ExamplesFoundational.dfy">Example using the foundational uniform sampler</a>
<br>
<a href="ExamplesExternUniform.dfy">Example using the extern uniform sampler</a>
3 changes: 3 additions & 0 deletions scripts/gendoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ then
exit 1
fi

echo Generating Dafny documentation...
$DAFNY doc src/Dafny-VMC.dfy --output docs/dafny/dafny-doc/

echo Generating Java documentation...
$DAFNY translate java src/Dafny-VMC.dfy
cp $DAFNYSOURCE/Source/DafnyRuntime/DafnyRuntimeJava/src/main/java/dafny/*.java src/Dafny-VMC-java/dafny/
Expand Down