-
Notifications
You must be signed in to change notification settings - Fork 661
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
Javascript-powered per-lemma proof visibility toggling in coqdoc HTML output. #2201
Comments
Comment author: @Eelis Currently one can pass -g to coqdoc to hide proofs. For the HTML output, I think we can do better than this "all or nothing" approach. There, it should be possible to add a little button next to each lemma that toggles its proof's visibility (alternatively, the lemma itself could be the "button"). This should require only a modicum of Javascript. As a finishing touch, there could be "hide all" / "show all" buttons at the top of each .html. |
Comment author: @pirbo Poor Yann, he should have never say that he'll rewrite coqdoc ... |
Does this fulfill your expectations? https://www.ps.uni-saarland.de/~ttebbi/coqdocjs/ |
Looks like an alternative to proviola. Anyways, I wish people would submit their patches to improve coqdoc instead of making their own extensions. |
@Zimmi48 It would be cool if you as a Coq dev encouraged the author(s) here https://github.com/tebbi/coqdocjs/issues |
@Hc10b why don't you create a PR with your changes? The resulting HTML is pretty nice to me! And the changes seems reasonable (a few extra files). |
@gares I don't think @Hc10b was claiming this work was their own. From the link that @anton-trunov gave, it looks like the author is @tebbi. |
Right. I have used coqdocjs once and stumbling about this open issue, I just want to leave a hint for people looking for something similar. |
Note: the issue was created automatically with bugzilla2github tool
Original bug ID: BZ#2201
From: @Eelis
Reported version: unspecified
CC: @pirbo
The text was updated successfully, but these errors were encountered: