Zulip Chat Archive

Stream: general

Topic: Download Mathlib Docs


Marcus Rossel (Jun 02 2021 at 16:18):

Is there a way to get a version of the Mathlib documentation offline?

Bryan Gin-ge Chen (Jun 02 2021 at 16:20):

You could try cloning https://github.com/leanprover-community/mathlib_docs though it's quite large (probably you just want to do a shallow clone, as we do a lot of force-pushing to that repo). Otherwise you could follow the build instructions at https://github.com/leanprover-community/doc-gen

Huỳnh Trần Khanh (Jun 02 2021 at 17:23):

Alternatively, you could also clone... mathlib, surprise surprise! Documentation is just comments and mathlib source code is _surprisingly_ readable.

Huỳnh Trần Khanh (Jun 02 2021 at 17:25):

Note: you might want to run git pull and leanproject get-cache regularly (read: every 12 hours) to download updates.


Last updated: Dec 20 2023 at 11:08 UTC