From e717645319ebc6146ac56ca3e4c8952b7682cf6b Mon Sep 17 00:00:00 2001 From: Xarlos <57622136+Xarlos89@users.noreply.github.com> Date: Sat, 10 Oct 2026 15:33:03 +0200 Subject: [PATCH 01/11] incorrect domain references --- README.md | 2 +- docs/CNAME | 2 +- scripts/refresh_member_count.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 057595a..fe388c7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# practical-python.org +# practicalpython.org The website and documentation space for the Practical Python Discord community. diff --git a/docs/CNAME b/docs/CNAME index 45fffbc..610a669 100644 --- a/docs/CNAME +++ b/docs/CNAME @@ -1 +1 @@ -practical-python.org +practicalpython.org diff --git a/scripts/refresh_member_count.py b/scripts/refresh_member_count.py index dddcfeb..89f2266 100644 --- a/scripts/refresh_member_count.py +++ b/scripts/refresh_member_count.py @@ -22,7 +22,7 @@ TIMEOUT = 10 USER_AGENT = ( - "practical-python-dot-org/1.0 (+https://practical-python.org; deploy script)" + "practical-python-dot-org/1.0 (+https://practicalpython.org; deploy script)" ) MEMBER_COUNT_LINE = re.compile(r'^(member_count\s*=\s*)"[^"]*"', re.MULTILINE) From 6b096af6c809ab3c08bd7449d9cef451ce8f2041 Mon Sep 17 00:00:00 2001 From: Xarlos <57622136+Xarlos89@users.noreply.github.com> Date: Sat, 10 Oct 2026 15:35:35 +0200 Subject: [PATCH 02/11] trigger ci on all PRs --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 278879d..42294cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,6 @@ name: CI on: pull_request: - branches: [main] push: branches: [main] From ab677a27a687da7b812a5238ebb5e586335ae940 Mon Sep 17 00:00:00 2001 From: Xarlos <57622136+Xarlos89@users.noreply.github.com> Date: Sat, 10 Oct 2026 15:38:06 +0200 Subject: [PATCH 03/11] indentation errors --- docs/rules/channels.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/rules/channels.md b/docs/rules/channels.md index 284a146..87b26a5 100644 --- a/docs/rules/channels.md +++ b/docs/rules/channels.md @@ -47,10 +47,10 @@ Commands work in most channels, but check before filling a help channel with bot /ticket ``` -!!! tip "It's a long list..." + !!! tip "It's a long list..." - The full list, with permissions and arguments, is in the - [Eos documentation](../projects/our-projects/eos.md). + The full list, with permissions and arguments, is in the + [Eos documentation](../projects/our-projects/eos.md). === "Run code in the chat!" From a85f12a4958a812a184ca126d87ed854b768308b Mon Sep 17 00:00:00 2001 From: Xarlos <57622136+Xarlos89@users.noreply.github.com> Date: Sat, 10 Oct 2026 15:44:56 +0200 Subject: [PATCH 04/11] dropping commas so PHONY works --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 27ea20c..9c90c59 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: run, strict, pre-commit +.PHONY: run strict pre-commit all: run From c80c8cbe37bbac9f963675d7b7099522c527bf2f Mon Sep 17 00:00:00 2001 From: Xarlos <57622136+Xarlos89@users.noreply.github.com> Date: Sat, 10 Oct 2026 15:48:31 +0200 Subject: [PATCH 05/11] dropping reference to a non-existant requirements.txt --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index fe388c7..64a3ef1 100644 --- a/README.md +++ b/README.md @@ -75,8 +75,7 @@ Pull requests run `.github/workflows/ci.yml` — the same pre-commit checks you ## Dependencies -One direct dependency, `zensical`, pinned through `uv.lock`. `requirements.txt` is generated from -the lockfile for anyone who wants to read the tree without uv: +One direct dependency, `zensical`, pinned through `uv.lock`. ```bash uv export --no-dev --no-hashes --no-emit-project -o requirements.txt From 4f07eb8b4222e748b6247447778377b82f26b523 Mon Sep 17 00:00:00 2001 From: Xarlos <57622136+Xarlos89@users.noreply.github.com> Date: Sat, 10 Oct 2026 15:48:59 +0200 Subject: [PATCH 06/11] Add a variable name we forgot to the list here --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a013462..01eda39 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -93,7 +93,7 @@ Values that appear on more than one page live in `[project.extra]` in `zensical. Join us at {{ discord_invite }}. ``` -Available: `discord_invite`, `eos_repo`, `site_repo`. Add more there rather than pasting a URL into +Available: `discord_invite`, `eos_repo`, `site_repo`, `member_count`. Add more there rather than pasting a URL into six pages. ### What not to add From 0fef87b8576c5237de880cc0ad8b719bb7575e16 Mon Sep 17 00:00:00 2001 From: Xarlos <57622136+Xarlos89@users.noreply.github.com> Date: Sat, 10 Oct 2026 15:51:47 +0200 Subject: [PATCH 07/11] Update the file tree in README --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 64a3ef1..f9f8a3e 100644 --- a/README.md +++ b/README.md @@ -44,12 +44,15 @@ docs/ ├── index.md landing page ├── CNAME custom domain, copied to the site root on build ├── stylesheets/ colour, font and hero overrides +├── static/ logo and images ├── getting-started/ the entry point for new members +├── python-tutorial/ the beginner tutorial ├── rules/ server rules, code of conduct, moderation ├── resources/ learning material and setup guides -└── projects/ - ├── our-projects/ software the community maintains - └── build-something/ project challenges for members +├── projects/ +│ ├── our-projects/ software the community maintains +│ └── build-something/ project challenges for members +└── code-adventure/ landing page for the Code Adventure puzzles! scripts/ └── refresh_member_count.py updates the Discord member count before a deploy build zensical.toml all site configuration, including the nav From fca1e116b175f6e5aec2527dbac1ac669e0453e3 Mon Sep 17 00:00:00 2001 From: Xarlos <57622136+Xarlos89@users.noreply.github.com> Date: Sat, 10 Oct 2026 15:54:25 +0200 Subject: [PATCH 08/11] Drop outdated comment --- zensical.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/zensical.toml b/zensical.toml index 21a25e3..de8ac34 100644 --- a/zensical.toml +++ b/zensical.toml @@ -82,7 +82,6 @@ features = [ ] [project.theme.icon] -# TODO: replace with a real logo, since this is just a placeholder. Where did I put that...? logo = "material/language-python" repo = "fontawesome/brands/github" From 4a4291ab7e65ac0ab1762f3688adfdb7a54a090c Mon Sep 17 00:00:00 2001 From: Xarlos <57622136+Xarlos89@users.noreply.github.com> Date: Sat, 10 Oct 2026 15:55:04 +0200 Subject: [PATCH 09/11] spelling mistakes and nits --- docs/code-adventure/index.md | 2 +- docs/rules/index.md | 2 +- docs/rules/moderation.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/code-adventure/index.md b/docs/code-adventure/index.md index 11c6b0a..f3563f1 100644 --- a/docs/code-adventure/index.md +++ b/docs/code-adventure/index.md @@ -79,7 +79,7 @@ Do you love solving puzzles and learning something new? __Join us on a Code Adve : __Corporate sponsorship opportunities are also available__. - [:simple-github:{ .lg .middle } __Github__](https://github.com/JefeThePug/Practical-Python-Code-Adventure) + [:simple-github:{ .lg .middle } __GitHub__](https://github.com/JefeThePug/Practical-Python-Code-Adventure) : Curious about how the adventure was made? __Check out the project on GitHub__. If you like what you see, feel free to give it a :material-star:{ .lg .bottom }. diff --git a/docs/rules/index.md b/docs/rules/index.md index 61a37f5..73c7abf 100644 --- a/docs/rules/index.md +++ b/docs/rules/index.md @@ -30,7 +30,7 @@ Harassment, slurs and bigotry get you removed without a warning ladder. See ## 2. Stay on topic Stick to the subject of the channel you're posting in. If your question doesn't fit anywhere -obvious, ask anyway — we'd rather help you find your way then you not ask because you didn't know +obvious, ask anyway — we'd rather help you find your way than you not ask because you didn't know where to ask. [Channels](channels.md) says what goes where. diff --git a/docs/rules/moderation.md b/docs/rules/moderation.md index 8d7647d..0ca38d7 100644 --- a/docs/rules/moderation.md +++ b/docs/rules/moderation.md @@ -12,7 +12,7 @@ What happens when a rule gets broken |------|---------------------------|------------------------------------------------------------| | 1 | Informal nudge in channel | First minor slip, you'll get notified | | 2 | Formal warning, logged | Repeat of the same slip, or ignoring a moderator | -| 3 | Timeout, minutes to hours | Heated argument or overexcitment that won't cool down | +| 3 | Timeout, minutes to hours | Heated argument or overexcitement that won't cool down | | 4 | Quarantine | Spam, suspected compromised account. Step into our office. | | 5 | Kick | Pattern of warnings with no change | | 6 | Ban | Code of conduct breach, scams, ban evasion | From 0c337eaed8b9eea05b8e6e25df87ee6c3a1c837b Mon Sep 17 00:00:00 2001 From: Xarlos <57622136+Xarlos89@users.noreply.github.com> Date: Sat, 10 Oct 2026 16:02:23 +0200 Subject: [PATCH 10/11] pre-commit failing --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 01eda39..1a3c5a9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -93,8 +93,8 @@ Values that appear on more than one page live in `[project.extra]` in `zensical. Join us at {{ discord_invite }}. ``` -Available: `discord_invite`, `eos_repo`, `site_repo`, `member_count`. Add more there rather than pasting a URL into -six pages. +Available: `discord_invite`, `eos_repo`, `site_repo`, `member_count`. Add more there rather than +pasting a URL into six pages. ### What not to add From 6a24e1022e75ad3a65162ace9d72cb6367685f54 Mon Sep 17 00:00:00 2001 From: Xarlos <57622136+Xarlos89@users.noreply.github.com> Date: Sat, 10 Oct 2026 16:47:30 +0200 Subject: [PATCH 11/11] Maha's feedback --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index f9f8a3e..fb16a35 100644 --- a/README.md +++ b/README.md @@ -79,9 +79,3 @@ Pull requests run `.github/workflows/ci.yml` — the same pre-commit checks you ## Dependencies One direct dependency, `zensical`, pinned through `uv.lock`. - -```bash -uv export --no-dev --no-hashes --no-emit-project -o requirements.txt -``` - -CI installs from the lockfile, not from `requirements.txt`.