Collection of scripts to improve the output of coqdoc [maintainers=@chdoc,@palmskog]
39
stars
49
commits
JavaScript
primary language
Oct 21, 2025
updated
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.
Makefile, or copy it as, e.g., Makefile.coq.local;make coqdoc to build documentations.A minimal example is shown here.
| Name | Usage | Default |
|---|---|---|
COQDOCFLAGS | Override the flags passed to coqdoc | see Makefile.doc |
COQDOCEXTRAFLAGS | Extend the flags passed to coqdoc | empty |
COQDOCJS_LN | If set to true then symlink resource files; otherwise copy | false |
COQDOCJS_DIR | Folder containing CoqdocJS | coqdocjs |
COQMAKEFILE | Makefile generated by coq_makefile | Makefile.coq |
JavaScript
45.9%
CSS
42.6%
HTML
8.0%
Makefile
2.3%
Rocq Prover
1.1%
Collection of scripts to improve the output of coqdoc [maintainers=@chdoc,@palmskog]
39
stars
49
commits
JavaScript
primary language
Oct 21, 2025
updated
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.
Makefile, or copy it as, e.g., Makefile.coq.local;make coqdoc to build documentations.A minimal example is shown here.
| Name | Usage | Default |
|---|---|---|
COQDOCFLAGS | Override the flags passed to coqdoc | see Makefile.doc |
COQDOCEXTRAFLAGS | Extend the flags passed to coqdoc | empty |
COQDOCJS_LN | If set to true then symlink resource files; otherwise copy | false |
COQDOCJS_DIR | Folder containing CoqdocJS | coqdocjs |
COQMAKEFILE | Makefile generated by coq_makefile | Makefile.coq |
JavaScript
45.9%
CSS
42.6%
HTML
8.0%
Makefile
2.3%
Rocq Prover
1.1%