Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
exclude: ^assets/fontawesome/

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-added-large-files
- id: check-merge-conflict
- id: mixed-line-ending
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-pillow.org
python-pillow.org
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Pillow Website

This website is hosted at [python-pillow.org](https://python-pillow.org/)
(also reachable at [python-pillow.github.io](https://python-pillow.github.io/)).

It's a static site — plain HTML, CSS, and a touch of vanilla JS, with no build
step or framework. GitHub Pages serves it directly from the `main` branch.

## Structure

- `index.html` — the entire site (single page)
- `assets/css/pillow.css` — all styles
- `assets/js/back-to-top.js` — the "back to top" button behavior
- `assets/images/` — logos, hero art, and other images
- `assets/fontawesome/` — vendored Font Awesome icons

## Local preview

Since there's no build step, any static file server works, for example:

```
python3 -m http.server 8000
```

Then open http://localhost:8000/ in a browser.

## Contributing

This repo uses [pre-commit](https://pre-commit.com/) for basic hygiene
checks (trailing whitespace, end-of-file, YAML/JSON validation, etc.). Install
it and run against all files with:

```
pre-commit run --all-files
```

or, if you have [just](https://github.com/casey/just) installed:

```
just precommit
```
4 changes: 0 additions & 4 deletions README.rst

This file was deleted.

Loading