From 9fe0c7415039cd4eed26684b992afb2f92346e7e Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Mon, 18 May 2026 23:33:46 +0200 Subject: [PATCH] Edit docs Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- docs/basics.md | 1 + lefthook.yml | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/basics.md b/docs/basics.md index 4cce217..c3443e2 100644 --- a/docs/basics.md +++ b/docs/basics.md @@ -19,6 +19,7 @@ Check the default configuration with all the options [here](./internal/config/de ``` Usage: spilltea [flags] + --add-default-config copy the default config file to the config path and exit --add-default-plugins copy built-in example plugins into the plugins dir and exit -c, --config string path to config file --host string proxy host (overrides config) diff --git a/lefthook.yml b/lefthook.yml index 626bc3a..bd90c6a 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -6,10 +6,10 @@ pre-commit: run: python3 .github/scripts/inject-exec.py docs/basics.md stage_fixed: true inject-exec: - glob: "README.md" - run: python3 .github/scripts/inject-exec.py {staged_files} + glob: "{README.md,docs/basics.md,cmd/**}" + run: python3 .github/scripts/inject-exec.py README.md stage_fixed: true toc: - glob: "README.md" - run: doctoc --notitle {staged_files} + glob: "{README.md,docs/basics.md,cmd/**}" + run: doctoc --notitle README.md stage_fixed: true