Skip to content

Commit 1fb8a53

Browse files
committed
Merge branch 'main' into feature/python-tutorial
2 parents 340ba16 + c0a6bbe commit 1fb8a53

14 files changed

Lines changed: 89 additions & 26 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: CI
22

33
on:
44
pull_request:
5-
branches: [main]
65
push:
76
branches: [main]
87

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
entry: uv run zensical build --strict --clean
2727
language: system
2828
pass_filenames: false
29-
files: ^(docs/|zensical\.toml|pyproject\.toml|uv\.lock)
29+
files: ^(docs/|overrides/|zensical\.toml|pyproject\.toml|uv\.lock)
3030

3131
- repo: https://github.com/swiss-ai-center/mdwrap
3232
rev: 0.2.5

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ Values that appear on more than one page live in `[project.extra]` in `zensical.
9393
Join us at {{ discord_invite }}.
9494
```
9595

96-
Available: `discord_invite`, `eos_repo`, `site_repo`. Add more there rather than pasting a URL into
97-
six pages.
96+
Available: `discord_invite`, `eos_repo`, `site_repo`, `member_count`. Add more there rather than
97+
pasting a URL into six pages.
9898

9999
### What not to add
100100

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: run, strict, pre-commit
1+
.PHONY: run strict pre-commit
22

33
all: run
44

‎README.md‎

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# practical-python.org
1+
# practicalpython.org
22

33
The website and documentation space for the Practical Python Discord community.
44

@@ -43,13 +43,19 @@ uv run --dev pre-commit run --all-files
4343
docs/
4444
├── index.md landing page
4545
├── CNAME custom domain, copied to the site root on build
46+
├── robots.txt Tells crawlers and bots where to go
4647
├── stylesheets/ colour, font and hero overrides
48+
├── static/ logo and images
4749
├── getting-started/ the entry point for new members
50+
├── python-tutorial/ the beginner tutorial
4851
├── rules/ server rules, code of conduct, moderation
4952
├── resources/ learning material and setup guides
50-
└── projects/
51-
├── our-projects/ software the community maintains
52-
└── build-something/ project challenges for members
53+
├── projects/
54+
│ ├── our-projects/ software the community maintains
55+
│ └── build-something/ project challenges for members
56+
└── code-adventure/ landing page for the Code Adventure puzzles!
57+
overrides/
58+
└── main.html theme override adding Open Graph and other SEO tags
5359
scripts/
5460
└── refresh_member_count.py updates the Discord member count before a deploy build
5561
zensical.toml all site configuration, including the nav
@@ -75,11 +81,4 @@ Pull requests run `.github/workflows/ci.yml` — the same pre-commit checks you
7581

7682
## Dependencies
7783

78-
One direct dependency, `zensical`, pinned through `uv.lock`. `requirements.txt` is generated from
79-
the lockfile for anyone who wants to read the tree without uv:
80-
81-
```bash
82-
uv export --no-dev --no-hashes --no-emit-project -o requirements.txt
83-
```
84-
85-
CI installs from the lockfile, not from `requirements.txt`.
84+
One direct dependency, `zensical`, pinned through `uv.lock`.

‎docs/CNAME‎

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

‎docs/code-adventure/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Do you love solving puzzles and learning something new? __Join us on a Code Adve
7979

8080
: __Corporate sponsorship opportunities are also available__.
8181

82-
[:simple-github:{ .lg .middle } __Github__](https://github.com/JefeThePug/Practical-Python-Code-Adventure)
82+
[:simple-github:{ .lg .middle } __GitHub__](https://github.com/JefeThePug/Practical-Python-Code-Adventure)
8383

8484
: Curious about how the adventure was made? __Check out the project on GitHub__.
8585
If you like what you see, feel free to give it a :material-star:{ .lg .bottom }.

‎docs/robots.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: https://practicalpython.org/sitemap.xml

‎docs/rules/channels.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ Commands work in most channels, but check before filling a help channel with bot
4747
/ticket
4848
```
4949

50-
!!! tip "It's a long list..."
50+
!!! tip "It's a long list..."
5151

52-
The full list, with permissions and arguments, is in the
53-
[Eos documentation](../projects/our-projects/eos.md).
52+
The full list, with permissions and arguments, is in the
53+
[Eos documentation](../projects/our-projects/eos.md).
5454

5555
=== "Run code in the chat!"
5656

‎docs/rules/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Harassment, slurs and bigotry get you removed without a warning ladder. See
3030
## 2. Stay on topic
3131

3232
Stick to the subject of the channel you're posting in. If your question doesn't fit anywhere
33-
obvious, ask anyway — we'd rather help you find your way then you not ask because you didn't know
33+
obvious, ask anyway — we'd rather help you find your way than you not ask because you didn't know
3434
where to ask.
3535

3636
[Channels](channels.md) says what goes where.

0 commit comments

Comments
 (0)