CoqdocJS

Saarland University Computer Science

CoqdocJS is a little script to dynamically improve the coqdoc output. The result can be seen here:

https://www.ps.uni-saarland.de/autosubst/doc/Ssr.POPLmark.html

It offers the following features:

All of this works with the ordinary coqdoc, by asking coqdoc to use a header file including the javascript files and some custom CSS.

Usage

Set-up a new project

This repository is a complete setup with a generic Makefile. Just add your Coq files in the same folder as the Makefile. Execute make to build the Coqdoc website in the folder html. Specify the name of your package in the file _CoqProject. Optionally, you can list your source files in _CoqProject. Then the makefile will only build these files and the documentation will list them in the specified order.

Integrate into existing project

Make sure that your Makefile passes header.html and footer.html as command-line arguments to coqdoc and copies the content of extra/resources to the folder containing the built website. Confer the Makefile for details.

Files

Download

Download it from Github.


Webmaster, Wed Dec 4 17:04:03 2019