Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit a7fb66e

Browse files
author
David Robertson
authored
Update dead links in check-newsfragment.sh (#12331)
1 parent 19a1d6a commit a7fb66e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

changelog.d/12331.doc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update dead links in `check-newsfragment.sh` to point to the correct documentation URL.

scripts-dev/check-newsfragment.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if ! git diff --quiet FETCH_HEAD... -- debian; then
1919
if git diff --quiet FETCH_HEAD... -- debian/changelog; then
2020
echo "Updates to debian directory, but no update to the changelog." >&2
2121
echo "!! Please see the contributing guide for help writing your changelog entry:" >&2
22-
echo "https://github.com/matrix-org/synapse/blob/develop/CONTRIBUTING.md#debian-changelog" >&2
22+
echo "https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#debian-changelog" >&2
2323
exit 1
2424
fi
2525
fi
@@ -32,7 +32,7 @@ fi
3232

3333
# Print a link to the contributing guide if the user makes a mistake
3434
CONTRIBUTING_GUIDE_TEXT="!! Please see the contributing guide for help writing your changelog entry:
35-
https://github.com/matrix-org/synapse/blob/develop/CONTRIBUTING.md#changelog"
35+
https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#changelog"
3636

3737
# If check-newsfragment returns a non-zero exit code, print the contributing guide and exit
3838
python -m towncrier.check --compare-with=origin/develop || (echo -e "$CONTRIBUTING_GUIDE_TEXT" >&2 && exit 1)

0 commit comments

Comments
 (0)