Skip to content

Commit abaed8e

Browse files
committed
Merge remote-tracking branch 'origin/main' into pr/erikvansebille/14
2 parents fcbe420 + beb38f7 commit abaed8e

30 files changed

+2260
-887
lines changed

.all-contributorsrc

Lines changed: 52 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,54 @@
11
{
2-
"projectName": "CLAM",
3-
"projectOwner": "CLAM Contributors",
4-
"repoType": "github",
5-
"repoHost": "https://github.com",
6-
"files": [
7-
"README.md",
8-
"docs/index.md"
9-
],
10-
"imageSize": 100,
11-
"commit": false,
12-
"commitConvention": "angular",
13-
"contributors": [],
14-
"contributorsPerLine": 7,
15-
"skipCi": true,
16-
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](#contributors)"
2+
"projectName": "CLAM-community.github.io",
3+
"projectOwner": "CLAM-community",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": ["README.md", "docs/index.md"],
7+
"imageSize": 100,
8+
"commit": false,
9+
"commitConvention": "angular",
10+
"contributors": [
11+
{
12+
"login": "VeckoTheGecko",
13+
"name": "Nick Hodgskin",
14+
"avatar_url": "https://avatars.githubusercontent.com/u/36369090?v=4",
15+
"profile": "https://github.com/VeckoTheGecko",
16+
"contributions": ["steering", "code"]
17+
},
18+
{
19+
"login": "erikvansebille",
20+
"name": "Erik van Sebille",
21+
"avatar_url": "https://avatars.githubusercontent.com/u/14315062?v=4",
22+
"profile": "https://www.uu.nl/staff/EvanSebille",
23+
"contributions": ["steering"]
24+
},
25+
{
26+
"login": "jimena-medinarubio",
27+
"name": "Jimena Medina",
28+
"avatar_url": "https://avatars.githubusercontent.com/u/101462540?v=4",
29+
"profile": "https://github.com/jimena-medinarubio",
30+
"contributions": ["design"]
31+
},
32+
{
33+
"login": "sruehs",
34+
"name": "sruehs",
35+
"avatar_url": "https://avatars.githubusercontent.com/u/33282992?v=4",
36+
"profile": "https://github.com/sruehs",
37+
"contributions": ["content"]
38+
}
39+
],
40+
"contributorsPerLine": 7,
41+
"skipCi": true,
42+
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](#contributors)",
43+
"types": {
44+
"steering": {
45+
"symbol": "🚣",
46+
"description": "Current or previous members of the project steering team."
47+
},
48+
"moderation": {
49+
"symbol": "💫",
50+
"description": "Current or previous members of the project moderation team."
51+
}
52+
},
53+
"commitType": "docs"
1754
}

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Build test mkdocs site
1+
name: CI
22
on:
33
pull_request:
44

55
jobs:
6-
test:
6+
build:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.ipynb_checkpoints/
22
!docs/talks/assets
33
__pycache__
4+
.DS_Store

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
TODO
1+
TODO

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# CLAM Website
2+
23
[![All Contributors](https://img.shields.io/github/all-contributors/CLAM-community/CLAM-community.github.io?color=ee8449&style=flat-square)](#contributors)
34

45
**All the information about the CLAM Community (i.e., community mission, instructions to join the Zulip Community, contributing, governance) is visible on the [CLAM Community Website](https://clam-community.github.io).**
@@ -8,15 +9,29 @@
89
This website codebase uses `uv` and `mkdocs`. To get started (assuming you have `uv` installed):
910

1011
- clone this repo and `cd` into it
11-
- run `uv run mkdocs serve` to set up the environment and run the development server
12+
- run `uv run python -m mkdocs serve` to set up the environment and run the development server
1213

1314
This project also uses `pre-commit` which you can optionally run locally (though not required as it's run in the cloud anyway).
1415

1516
## Contributors
1617

18+
We have contributors of all types - from those who've contributed to the direction of the project, code, design, feedback, and more. See below our awesome contributors ✨
19+
1720
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
1821
<!-- prettier-ignore-start -->
1922
<!-- markdownlint-disable -->
23+
<table>
24+
<tbody>
25+
<tr>
26+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/VeckoTheGecko"><img src="https://avatars.githubusercontent.com/u/36369090?v=4?s=100" width="100px;" alt="Nick Hodgskin"/><br /><sub><b>Nick Hodgskin</b></sub></a><br /><a href="#steering-VeckoTheGecko" title="Current or previous members of the project steering team.">🚣</a> <a href="https://github.com/CLAM-community/CLAM-community.github.io/commits?author=VeckoTheGecko" title="Code">💻</a></td>
27+
<td align="center" valign="top" width="14.28%"><a href="https://www.uu.nl/staff/EvanSebille"><img src="https://avatars.githubusercontent.com/u/14315062?v=4?s=100" width="100px;" alt="Erik van Sebille"/><br /><sub><b>Erik van Sebille</b></sub></a><br /><a href="#steering-erikvansebille" title="Current or previous members of the project steering team.">🚣</a></td>
28+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jimena-medinarubio"><img src="https://avatars.githubusercontent.com/u/101462540?v=4?s=100" width="100px;" alt="Jimena Medina"/><br /><sub><b>Jimena Medina</b></sub></a><br /><a href="#design-jimena-medinarubio" title="Design">🎨</a></td>
29+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/sruehs"><img src="https://avatars.githubusercontent.com/u/33282992?v=4?s=100" width="100px;" alt="sruehs"/><br /><sub><b>sruehs</b></sub></a><br /><a href="#content-sruehs" title="Content">🖋</a></td>
30+
</tr>
31+
</tbody>
32+
</table>
33+
2034
<!-- markdownlint-restore -->
2135
<!-- prettier-ignore-end -->
36+
2237
<!-- ALL-CONTRIBUTORS-LIST:END -->

data/people.yaml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
person:
2-
- name: Erik van Sebille
3-
roles: [steering, project-parcels]
4-
preferred_method_of_contact: Email
5-
socials:
6-
- platform: github
7-
url: https://github.com/erikvansebille
8-
9-
- name: Nick Hodgskin
10-
roles: [steering, project-parcels]
11-
preferred_method_of_contact: Zulip
12-
socials:
13-
- platform: github
14-
url: https://github.com/VeckoTheGecko
2+
- name: Erik van Sebille
3+
roles: [steering, project-parcels]
4+
preferred_method_of_contact: Email
5+
socials:
6+
- platform: github
7+
url: https://github.com/erikvansebille
158

9+
- name: Nick Hodgskin
10+
roles: [steering, project-parcels]
11+
preferred_method_of_contact: Zulip
12+
socials:
13+
- platform: github
14+
url: https://github.com/VeckoTheGecko
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SCM syntax highlighting & preventing 3-way merges
2+
pixi.lock merge=binary linguist-language=YAML linguist-generated=true

docs/assets/branding/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# pixi environments
2+
.pixi/*
3+
!.pixi/config.toml

docs/assets/branding/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Branding assets
2+
3+
## Font
4+
5+
The logo uses the [Summary Notes Font](https://www.cufonfonts.com/font/summary-notes).
6+
7+
## Colour Palette
8+
9+
TODO (CLAM doesn't yet have a full colour palette)
10+
11+
## Logos
12+
13+
Different variants of the CLAM logo are provided which are suitable on both light and dark backgrounds. You can see these in the `svg` folder (these are the "source of truth" assets). **Make sure to re-generate the pngs when making changes to the SVGs**.
14+
15+
## Re-generating PNG assets from SVG
16+
17+
You can find the PNG assets in the `png` folder.
18+
19+
These are automatically generated from the `svg` assets using `pixi run python convert-png.py` when cd'ed into this folder. You need to have [Pixi](https://pixi.sh/dev/) installed.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
from pathlib import Path
2+
3+
from cairosvg import svg2png
4+
5+
FOLDER_SVG = Path("./svg")
6+
FOLDER_PNG = Path("./png")
7+
DPI = 96 # default
8+
DPI *= 3
9+
FOLDER_PNG.mkdir(exist_ok=True)
10+
11+
12+
def main():
13+
for file in FOLDER_SVG.glob("*.svg"):
14+
with open(file) as f:
15+
svg_content = f.read()
16+
17+
output_file = FOLDER_PNG / (file.stem + ".png")
18+
svg2png(bytestring=svg_content, write_to=str(output_file), dpi=DPI)
19+
20+
21+
if __name__ == "__main__":
22+
main()

0 commit comments

Comments
 (0)