GithubHelp home page GithubHelp logo

abentkamp / leanprover-community.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leanprover-community/leanprover-community.github.io

0.0 0.0 0.0 92.13 MB

Hosts the website for mathlib and other Lean community infrastructure.

Home Page: https://leanprover-community.github.io/

License: MIT License

Shell 0.16% Python 10.47% CSS 54.95% TeX 20.75% HTML 11.66% SCSS 2.01%

leanprover-community.github.io's Introduction

Lean prover community website

The deployed website lives on the master branch of this repository. To make changes to the website, please make a PR against the lean4 branch. Once your PR is merged, CI will automatically deploy the changes to the master branch.

Dependencies

  • 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:

Building

  • 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 in data/).

If you want to retrieve the list of Zulip users to get the users map, the environment variable ZULIP_KEY should be set with the Zulip API key of the map scraper bot.

If you want to work on a new feature, there are several helpful tricks to know.

First you will very quickly hit the GitHub API rate limit without authentication. You can create a personal access token and run GITHUB_TOKEN=my_token_copied_from_github ./make_site --local during your experiments.

You can also run the script once normally and then run NODOWNLOAD=1 ./make_site --local to build the website using the information previously downloaded. This information is stored into the data_cache folder. If you need the script to download something but not everything you can temporarily change the relevant if DOWNLOAD: into a if not DOWNLOAD:.

You can also choose to render only certain templates using ./make_site --local --only my_template.html. This argument can actually be a regular expression, but giving one template name is the most common use case.

TODO

  • Better integration with API docs
  • Use webpack or similar to bundle all the javascript?

Lean 3 website

The files and history for the leanprover-community Lean 3 website can be found in the lean3 branch of this repo.

Old website

The files and history for the old leanprover-community website can be found in the oldsite branch of this repo.

leanprover-community.github.io's People

Contributors

robertylewis avatar patrickmassot avatar bryangingechen avatar jcommelin avatar gebner avatar eric-wieser avatar semorrison avatar alexjbest avatar fpvandoorn avatar raitobezarius avatar urkud avatar vierkantor avatar sgouezel avatar hrmacbeth avatar jalex-stark avatar julian avatar remydegenne avatar boltonbailey avatar j-loreaux avatar riccardobrasca avatar kbuzzard avatar paulvanwamelen avatar madvorak avatar jsm28 avatar avigad avatar mcdoll avatar cipher1024 avatar pitmonticone avatar mattrobball avatar twofx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.