The website and documentation space for the Practical Python Discord community.
Built with Zensical
Prerequisites: uv. It fetches the right Python for you, so that's the only thing to install.
uv sync
uv run zensical serveThat serves the site at http://127.0.0.1:8000 and rebuilds when you save a
file.
uv run zensical build --strictBroken internal links and dead anchors are build failures, not warnings. CI runs the same command, so if it passes here it passes there.
Install the git hooks once and you'll get that check automatically on every commit:
uv run --dev pre-commit installTo run every check by hand:
uv run --dev pre-commit run --all-filesdocs/
├── index.md landing page
├── CNAME custom domain, copied to the site root on build
├── stylesheets/ colour, font and hero overrides
├── getting-started/ the entry point for new members
├── 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
scripts/
└── refresh_member_count.py updates the Discord member count before a deploy build
zensical.toml all site configuration, including the nav
- Create the Markdown file under the right folder in
docs/. - Add it to the
navlist inzensical.toml.
Step 2 isn't optional. Zensical can derive navigation from the folder structure, but that sorts alphabetically and would put Projects ahead of Rules, so the nav is written out.
CONTRIBUTING.md covers the writing conventions, which matter more than the mechanics.
Merging to main triggers .github/workflows/deploy.yml, which builds with
--strict and publishes to GitHub Pages.
Pull requests run .github/workflows/ci.yml — the same pre-commit checks you get
locally.
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:
uv export --no-dev --no-hashes --no-emit-project -o requirements.txtCI installs from the lockfile, not from requirements.txt.