Skip to content

Commit 5172ece

Browse files
aclark4lifeCopilot
andcommitted
Address Hugo's review feedback
- Bump pre-commit-hooks to v6.0.0 - Convert README.rst to README.md - Drop target="_blank" from all links site-wide (open in same tab); drop the now-unneeded noopener/noreferrer, keep rel="me" on Mastodon - Correct History timeline: Debian/Ubuntu adopted Pillow in 2013, not 2011, per Debian/Ubuntu changelog records Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a5e184c commit 5172ece

4 files changed

Lines changed: 83 additions & 83 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ exclude: ^assets/fontawesome/
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v5.0.0
5+
rev: v6.0.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer

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 & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)