Zulip Chat Archive

Stream: general

Topic: protected in the docs


Yaël Dillies (Aug 16 2021 at 12:49):

Should we somehow show in the docs whether a declaration is protected?

Eric Wieser (Aug 16 2021 at 13:55):

and noncomputable while we're playing that game

Bryan Gin-ge Chen (Aug 16 2021 at 14:56):

I've just created doc-gen#135 and doc-gen#136.

Yaël Dillies (Aug 16 2021 at 16:16):

Adding them on the same line as lemma/ theorem sounds a bit odd, so I think we could add them as is on the attributes' line.

Rob Lewis (Aug 16 2021 at 16:29):

It's possible to show if a declaration is protected, but I don't think info about (non)computability is exposed to meta code

Eric Wieser (Oct 30 2021 at 11:01):

Gabriel Ebner said:

I vote for yellow-black danger stripes, these are surprisingly easy to do in CSS:
noncomputable_bg.png

I assume this formatting was not a serious suggestion; what do we actually want to do in leanprover-community/doc-gen#141?


Last updated: Dec 20 2023 at 11:08 UTC