Closed mattam82 closed 3 years ago
Ah, good catch, thanks! Do you have a list of these special assertions?
I think there's only (** printing
and (** remove printing
Should be fixed, I hope; can you check?
Yep, it works fine now!
Remaining problem: (* begin hide *) (* end hide *)
are not recognized, that would be very helpful to me to understand it as (* . none *)
On a related note, there is also (* begin details *)
((* begin details : Summary of the section *)
is also valid) that has been added recently to coqdoc
.
One problem with begin hide … end hide is that it doesn't respect sentences, so you can hide half of a sentence — Alectryon doesn't support that.
Could we have a leniency option that doesn't support "inline" hide? I'm not using that feature afaik.
Sure. I won't have time to implement it right away, but it should be easy. Look in cli.py, though maybe some of that code should move to a separate coqdoc.py..
Just use a
.v
file withcoqdoc uses it to configure itself, so it doesn't appear in the output, while alectryon understands it as a comment. This produces a
Coqdoc mismatch
assertion failure.