This repository is for the tldr group website
This repo has been written such that to add new content (publications, projects, team members), only the corresponding .json files need to be edited, commited and merged onto main.
git checkout -b new_branch_nameThe .jsons are in the src/content folder:
- New project:
src/content/projects.json - New paper/preprint:
src/content/publications.json - New team member:
src/content/team.json - New video:
src/content/videos.json
When adding a new entry, it must have all the fields (e.g, "titles", "desc", ...) for that type of content - look at other examples in the file for which fields are needed. If adding new images/gifs, these need to be placed in public/content/images and referenced correctly in the .json.
Do this either via the terminal or by creating a pull request on github.com. NB: this requires approval. Once merged, a GitHub Actions will trigger which will build and deploy the site. This typically takes ~10s
Check out docs/ for explanations of how the website works!
- install
nvm&yarn
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
nvm install 24
npm install --global yarn- install packages from root directory:
yarn install- run frontend
cd src/
yarn start-
test merge rule
-
For Sheares:
- add Sheares!
- add new publications: prompt to protocol
- add new projects: isb/isg