From fb654940ee504e9a40aa13685fede8922b1afbc3 Mon Sep 17 00:00:00 2001 From: Simon Brugman Date: Mon, 27 Jun 2022 16:01:49 +0200 Subject: [PATCH] ci: ensure that api docs are up-to-date --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 22169cdf..d9de8bda 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,3 +26,9 @@ repos: rev: v1.12.1 hooks: - id: blacken-docs +- repo: local + hooks: + - id: docautogenerate + name: docsautogenerate + entry: bash -c 'cd ./docs/ && bash autogenerate.sh' + language: system \ No newline at end of file