Skip to content

Commit ac05c9c

Browse files
committed
🔧 Add check for docs cross-references pymc-devs#5317
1 parent 290789c commit ac05c9c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,10 @@ repos:
6060
entry: from \.[\.\w]* import
6161
types: [python]
6262
language: pygrep
63+
- id: no-internal-links
64+
name: Check no internal links are in the docs
65+
description: 'A quick check for the `docs.pymc.io` inside `docs/source/`'
66+
files: ^docs/source/
67+
entry: 'docs.pymc.io'
68+
language: pygrep
69+
types_or: [markdown, rst]

0 commit comments

Comments
 (0)