pip install -r requirements.txt
Building the bibliography requires bibtool
.
In order to rebuild the CSS from SCSS, you also need:
The website relies on several components which are built in other repositories:
mathlib_stats
lean-web-editor
mathlib_docs
(built by CI in doc-gen)
- Build CSS if needed:
sass scss/lean.scss > css/lean.css
- Build site using
make_site.py
. Use option--local
for local viewing (internal url will be prefixed by local file path). Use option--reload
to continuously build when templates are changed (this won't work for watching changes indata/
).
- Better integration with Zulip archive
- Better integration with API docs
- Use webpack or similar to bundle all the javascript?
The files and history for the old leanprover-community website can be found in the
oldsite
branch of this repo.