-
Because Makefile.coq's "make clean" removes the entire html directory, we cannot store the reference copy of index.html there. Instead, index.html is in the root directory, and copied into the html directory by "make html2".
-
Edit index.html as you see fit. Do not edit any files of the form html/LAProof.*, as these are automatically generated by coqdoc.
-
Edit the comments in any of the .v files, using Coqdoc markup.
-
make html2creates all the Coqdoc output in the html/ directory. Browse and review these local files (by doingopen filein your browser) and edit the .v files until this looks the way you want it. -
make publishsends all those html files (including index.html if you have edited it) to the Github pages site at https://verinum.org/LAProof/. The way it does this is by committing them to the special gh-pages branch of this repo, which contains only a docs directory with those HTML files. After you domake publish, it will take several minutes before the changes appear at verinum.org/LAProof. -
Don't forget to git-commit and git-push all your changes in the main branch (or whatever branch you're working in).
-
Edit comments in those .c and .h files that are mentioned in line CDOCS line of Makefile.coq.local. Write comments in a form that can be processed by Quarto.
-
If you add a new .c and/or .h file, update the CDOCS line, and add a link in html/index.html in the
C programssection. -
Build the HTML from C by doing
make cdocs. This puts individual .html files in thecdocsdirectory. You can inspect them there usingopen filein your browser. Unfortunately, when viewing this way, the links in theC programssection go to the wrong place; themake publishcommand will put them in the right place when publishing. -
make publishhandles the cdoc files as well as the coqdoc files (as described above).