Skip to content

Commit ff0a2c3

Browse files
authored
Merge pull request #50 from python-pillow/update
Refresh site design, content, and layout
2 parents 4d65301 + f4e27b6 commit ff0a2c3

13 files changed

Lines changed: 1138 additions & 131 deletions

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
exclude: ^assets/fontawesome/
2+
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v6.0.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- id: check-json
11+
- id: check-added-large-files
12+
- id: check-merge-conflict
13+
- id: mixed-line-ending

CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python-pillow.org
1+
python-pillow.org

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Pillow Website
2+
3+
This website is hosted at [python-pillow.org](https://python-pillow.org/)
4+
(also reachable at [python-pillow.github.io](https://python-pillow.github.io/)).
5+
6+
It's a static site — plain HTML, CSS, and a touch of vanilla JS, with no build
7+
step or framework. GitHub Pages serves it directly from the `main` branch.
8+
9+
## Structure
10+
11+
- `index.html` — the entire site (single page)
12+
- `assets/css/pillow.css` — all styles
13+
- `assets/js/back-to-top.js` — the "back to top" button behavior
14+
- `assets/images/` — logos, hero art, and other images
15+
- `assets/fontawesome/` — vendored Font Awesome icons
16+
17+
## Local preview
18+
19+
Since there's no build step, any static file server works, for example:
20+
21+
```
22+
python3 -m http.server 8000
23+
```
24+
25+
Then open http://localhost:8000/ in a browser.
26+
27+
## Contributing
28+
29+
This repo uses [pre-commit](https://pre-commit.com/) for basic hygiene
30+
checks (trailing whitespace, end-of-file, YAML/JSON validation, etc.). Install
31+
it and run against all files with:
32+
33+
```
34+
pre-commit run --all-files
35+
```
36+
37+
or, if you have [just](https://github.com/casey/just) installed:
38+
39+
```
40+
just precommit
41+
```

README.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)