Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
260f5ef
Manage the dependencies with uv, and run the tasks with make
patrick-5546 Dec 1, 2026
c37c4d3
Build the site with Zensical
patrick-5546 Dec 1, 2026
7d81bb3
Lint, build and deploy the site with GitHub Actions
patrick-5546 Dec 1, 2026
5c09ccc
Fix typos, broken links, and the glossary's definition of RAM
patrick-5546 Dec 1, 2026
05f5bad
Set up VS Code for Zensical Studio
patrick-5546 Dec 1, 2026
159c5ea
Document the setup in the README, and add agent instructions
patrick-5546 Dec 1, 2026
d8e082c
Document the ruleset that protects main
patrick-5546 Dec 1, 2026
60d25a2
Deploy the site in its own workflow
patrick-5546 Dec 1, 2026
c45c324
Rename the license file to LICENSE
patrick-5546 Dec 1, 2026
e169b53
Lint the Markdown with rumdl's defaults for MkDocs
patrick-5546 Dec 1, 2026
4bbed35
Fix a dead link, and brackets that read as a link
patrick-5546 Dec 1, 2026
f2cf466
Install lychee with uv, and check links with it in CI too
patrick-5546 Dec 1, 2026
88b7987
Space out the link checker's requests to each site
patrick-5546 Dec 1, 2026
b763e43
Load KaTeX's latest 0.x release, as Zensical's docs do
patrick-5546 Dec 1, 2026
686d843
Simplify the llms.txt sections, and drop old comments from the nav
patrick-5546 Dec 1, 2026
3853b00
Trim the VS Code setup
patrick-5546 Dec 1, 2026
9f17bce
Keep the Zensical page about Zensical
patrick-5546 Dec 1, 2026
b8f9ba5
Format the pages with Zensical Studio
patrick-5546 Dec 1, 2026
d050355
Fail the link check only on dead links
patrick-5546 Dec 1, 2026
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
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
# Python Markdown nests lists, and content in admonitions and tabs, by four spaces.
indent_size = 4

[{*.js,*.json,*.yaml,*.yml}]
indent_size = 2

[Makefile]
indent_style = tab
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
6 changes: 6 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# actionlint 1.7.12, its newest release, predates the ubuntu-26.04 runner label and reports it as
# unknown. It is GitHub's own, not a self-hosted runner's; remove it from this list once a release
# knows it (https://github.com/rhysd/actionlint/issues/683).
self-hosted-runner:
labels:
- ubuntu-26.04
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Comment thread
patrick-5546 marked this conversation as resolved.
Resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
# Wait a week before adopting a new release.
cooldown:
default-days: 7
groups:
actions:
patterns: ["*"]

- package-ecosystem: uv
directory: /
schedule:
interval: weekly
cooldown:
default-days: 7
groups:
python:
update-types: [minor, patch]
3 changes: 3 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ changelog:
- title: Infrastructure Updates
labels:
- infrastructure
- title: Dependency Updates
labels:
- dependencies
- title: Other Changes
labels:
- "*"
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

concurrency:
# A newer push to a pull request supersedes its run in progress; runs on main all finish.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

env:
# Fail instead of updating uv.lock, including in the uv runs that make starts.
UV_LOCKED: "1"

jobs:
lint:
runs-on: ubuntu-26.04
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# uv installs the Python that .python-version names.
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
- name: Lint
env:
# zizmor's online audits check the pinned actions against GitHub.
GH_TOKEN: ${{ github.token }}
run: make lint

build:
runs-on: ubuntu-26.04
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# Each page's revision date comes from its Git history.
fetch-depth: 0
persist-credentials: false
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
# A broken link or anchor, or a missing snippet, fails the build.
- name: Build
run: make build
40 changes: 0 additions & 40 deletions .github/workflows/deploy-docs.yml

This file was deleted.

54 changes: 54 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Deploy

# Deploys the site to GitHub Pages on every push to main, and on demand. The CI workflow checks pull
# requests, which the ruleset that protects main only lets merge once they pass.
on:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: read

# Deploy one push at a time, in order.
concurrency:
group: pages
cancel-in-progress: false

env:
# Fail instead of updating uv.lock, including in the uv runs that make starts.
UV_LOCKED: "1"

jobs:
build:
runs-on: ubuntu-26.04
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# Each page's revision date comes from its Git history.
fetch-depth: 0
persist-credentials: false
# uv installs the Python that .python-version names.
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
- name: Build
run: make build
- name: Upload the site
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: site

deploy:
needs: build
runs-on: ubuntu-26.04
timeout-minutes: 10
permissions:
# deploy-pages publishes the site, proving the workflow's identity with an OIDC token.
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
34 changes: 34 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Links

# Other sites can change at any time, so lychee checks the links to them every week, and on demand.
# It also runs on pull requests that change how it checks them. The site's own links are checked by
# every build.
on:
schedule:
# Every Saturday at 11:00 UTC
- cron: "0 11 * * 6"
workflow_dispatch:
pull_request:
paths:
- .github/workflows/links.yml
- lychee.toml

permissions:
contents: read

env:
# Fail instead of updating uv.lock, including in the uv runs that make starts.
UV_LOCKED: "1"

jobs:
lychee:
runs-on: ubuntu-26.04
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
# uv installs the lychee that uv.lock pins, which reads lychee.toml.
- name: Check links
run: make links
37 changes: 0 additions & 37 deletions .github/workflows/lint-docs.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/scheduled_tasks.yml

This file was deleted.

8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Python virtual environment
.venv/

# Social plugin files
# The built site
site/

# Build caches, such as the social cards
.cache/

# lychee's cache of the links it checked
.lycheecache
22 changes: 0 additions & 22 deletions .markdown-link-check.json

This file was deleted.

22 changes: 0 additions & 22 deletions .markdownlint.json

This file was deleted.

1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.15
40 changes: 0 additions & 40 deletions .vscode/cspell.json

This file was deleted.

Loading
Loading