From f04944c39c211796794e54e6a990b4a6ac746243 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 24 Mar 2023 13:39:59 +0200 Subject: [PATCH] .pre-commit-config.yaml: add doctoc --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c31eeac..9be3765 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,3 +28,8 @@ repos: hooks: - id: editorconfig-checker alias: ec + - repo: https://github.com/thlorenz/doctoc + rev: v2.2.0 + hooks: + - id: doctoc + args: [--update-only]