| Message ID | 20260716-gen-doc-links-intersphinx-v2-4-83cb3aef6ff6@bootlin.com |
|---|---|
| State | New |
| Headers | show |
| Series | Generate documentation links for OE-Core | expand |
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f2b73a481..041f5b30d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,3 +6,10 @@ repos: entry: ./documentation/tools/check-glossaries language: python pass_filenames: false + - id: gen-doc-links + name: Generate documentation links + entry: ./documentation/tools/gen-doc-links + language: python + verbose: true + pass_filenames: false + additional_dependencies: [sphinx]
It is easy to forget updating this file when adding or removing variables/tasks. Add a pre-commit hook that does the job for us before committing our change. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+)