Zulip Chat Archive

Stream: lean4

Topic: running doc-gen4 on lean4


Siddharth Bhat (Feb 14 2022 at 18:50):

It seems that doc-gen4 cannot be run on the lean4 repo. I was wondering if this is supposed to work in the first place.

Siddharth Bhat (Feb 14 2022 at 18:51):

(deleted)

Henrik Böving (Feb 14 2022 at 19:00):

doc-gen4 is supposed to run on repos that use lake as a build system...since lean4 does not do that no it is not. Note however that it will generate documentation for the compiler along with any other project that has the compiler included in the sources it can load (which is really any lake project).

Siddharth Bhat (Feb 14 2022 at 19:01):

Ah, interesting. So a way to generate docs for just the compiler would be to have a dummy project? Thanks!

Henrik Böving (Feb 14 2022 at 19:04):

I honestly haven't tried it on anything besides itself and mathlib yet but that should work yes.


Last updated: Dec 20 2023 at 11:08 UTC