Auto updating website that tracks closed & open issues/PRs on scipy/scipy.
- Setup a virtual environment.
- Install requirements
pip install -r requirements
-
Create a personal access token and set it to
GITHUB_TOKEN
. -
Run the following to call the GitHub API for repo information, cache the results into
cache.json
, and place the website into adist
directory.
python make.py cache.json dist
- Open
dist/index.html
to see the rendered page.
- Add your logo into
assets
directory. You can use another logo as long as it is in theassets
directory. - Pass in
--repo
into themake.py
command. Use--logo
if your logo has a different filename.
python make.py cache.json dist \
--repo scikit-learn/scikit-learn --logo logo.svg
- Extra. To use Github Actions to auto generate the webpage update
.github/workflows/build.yaml
by passing in your--repo
.
If you already called the GitHub API once and cached the results, then you can pass
--cache-only
to build without querying the GitHub API:
python make.py cache.json dist --only-cache
This repo is under the MIT License.