I want to add a little bit of CSS (below) to my coqdoc HTML output. What's the best way to do this in a way compatible with coq_makefile
(i.e, in a way that won't be clobbered when I or others run make html
)?
#main .doc pre { line-height: 16px; }
you might want to use the --with-header
option like here
Thanks, looks like a good starting point.
Is the --with-header
option documented anywhere?
coqdoc --help
One line with a typo :neutral:. I'm confused, though, because you can't just concatenate things onto an HTML file and expect a reasonable result.
I guess coqdoc
has a default value for --with-header
, and I have to copy a lot of that to add the bit I want.
https://github.com/coq-community/coqdocjs has a concrete example. Concatenation works because header and footer aren't complete HTMLs
Last updated: Sep 30 2023 at 06:01 UTC