Skip to content

Commit 30afe83

Browse files
committed
fix: absolutize documentation links in release notes for GitHub Releases
1 parent a3473b0 commit 30afe83

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ jobs:
9999
VERSION="${{ steps.version.outputs.value }}"
100100
# Extract everything between the ## X.Y.Z heading and the next --- or ## heading
101101
NOTES=$(awk "/^## ${VERSION}$/{found=1; next} found && /^(---|## )/{exit} found{print}" CHANGELOG.md)
102+
# GitHub Releases resolve root-relative links against github.com, so absolutize the docs links
103+
NOTES=$(echo "$NOTES" | sed -E 's#\]\(/#](https://reactdatatable.com/#g')
102104
echo "content<<EOF" >> $GITHUB_OUTPUT
103105
echo "$NOTES" >> $GITHUB_OUTPUT
104106
echo "EOF" >> $GITHUB_OUTPUT

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ A summary of notable changes per release. For the full commit history see the [r
157157
### Bug fixes
158158

159159
- Fixed RTL support across resizing, pinning, and separators: resize handles sit on the correct edge and widen as in LTR, pinned columns stick to logical edges with mirrored shadows, the pinned horizontal scrollbar accounts for RTL scroll coordinates, and column/group-header separators plus small chrome (filter dot, select arrows, pagination chevron) mirror correctly. Applies to `direction={Direction.RTL}` and inherited `dir="rtl"`. → [RTL support](/docs/rtl)
160-
- Fixed row and table backgrounds cutting off at the initial container width when the table scrolls horizontally, leaving scrolled-into columns unpainted. → [Theming](/docs/theming)
160+
- Fixed row and table backgrounds cutting off at the initial container width when the table scrolls horizontally, leaving scrolled-into columns unpainted. → [Theming](/docs/themes)
161161
- Fixed `fixedHeader` with `responsive={false}` not creating a scroll container, letting rows spill over content below the table. `fixedHeader` now always creates one.
162162
- Fixed the pinned-columns scrollbar failing to appear or going stale when content width changed without a container resize (async rows, resizing or toggling columns), and when columns were pinned with `responsive={false}`. → [Column pinning](/docs/column-pinning)
163163
- Fixed resize handles being clipped for right-pinned columns and the last column, which cut their hit areas down to a sliver. → [Resizable columns](/docs/resizable)

0 commit comments

Comments
 (0)