Skip to content

Commit 1b616da

Browse files
committed
ci: docbuild: apply Doxygen link patches to all occurrences
`/g` was missing, so it was only applied on first occurence. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent d0ce4f5 commit 1b616da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docbuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
144144
# Patch links from Sphinx to Doxygen APIs
145145
find doc/_build/html/$docset -type f -name "*.html" -exec \
146-
sed -ri "/href=\"([^\"]+)\/doxygen\/html\/([^\"]+)\"/{s//href=\"\1\/..\/..\/..\/$docset-apis-$VERSION\/page\/\2\"/; :a s/__/_/;ta; }" {} \;
146+
sed -ri "/href=\"([^\"]+)\/doxygen\/html\/([^\"]+)\"/{s//href=\"\1\/..\/..\/..\/$docset-apis-$VERSION\/page\/\2\"/g; :a s/__/_/g;ta; }" {} \;
147147
148148
pushd "$OUTDIR"
149149
ARCHIVE="$docset-apis-$VERSION.zip"

0 commit comments

Comments
 (0)