Skip to content

Commit 587f6e9

Browse files
authored
docs: Fix GitHub PR links (#3346)
Fix the `gh-pr` special markup to use the right URL. It was using `/pulls/` which is a search, when it should be `/pull/`
1 parent 8f64e2c commit 587f6e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
extlinks = {
124124
"gh-issue": (f"https://github.com/bazel-contrib/rules_python/issues/%s", "#%s issue"),
125125
"gh-path": (f"https://github.com/bazel-contrib/rules_python/tree/main/%s", "%s"),
126-
"gh-pr": (f"https://github.com/bazel-contrib/rules_python/pulls/%s", "#%s PR"),
126+
"gh-pr": (f"https://github.com/bazel-contrib/rules_python/pull/%s", "#%s PR"),
127127
}
128128

129129
# --- MyST configuration

0 commit comments

Comments
 (0)