From e3bf4611c83bed5278741a855af5d91398676777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Tue, 3 Feb 2026 23:58:54 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A7=20Add=20generate-readme=20to?= =?UTF-8?q?=20pre-commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62e8634de7..6b05d129a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,3 +34,10 @@ repos: require_serial: true language: unsupported pass_filenames: false + + - id: generate-readme + language: unsupported + name: generate README.md from index.md + entry: uv run ./scripts/docs.py generate-readme + files: ^docs/index\.md|scripts/docs\.py$ + pass_filenames: false From 88b9f1972e56a9df49004def8403b873f526fcb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Wed, 4 Feb 2026 00:00:17 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=91=B7=20Remove=20verify-readme=20fro?= =?UTF-8?q?m=20build-docs,=20run=20in=20pre-commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-docs.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 003321f83f..781299574b 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -64,8 +64,6 @@ jobs: with: key: mkdocs-cards-${{ github.ref }}-v1 path: .cache - - name: Verify README - run: uv run ./scripts/docs.py verify-readme - name: Build Docs run: uv run ./scripts/docs.py build - uses: actions/upload-artifact@v6