From b4c032de783e5ce6c2b350eabf2f15f409071fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rasmus=20Skytte=20Randl=C3=B8v?= Date: Tue, 29 Oct 2024 13:04:16 +0100 Subject: [PATCH] fix(pkgdown): Update R6 autolinking for "function" methods --- .github/workflows/pkgdown.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 74eb6c9..9021452 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -89,7 +89,7 @@ jobs: # We need to manually create the link to the function # regex: \?(\w+)\$()(\w+)[\(\)]+<\/code> # Target: get_feature() - find docs -name *.html -exec sed -ri 's/\?(\w+)\$(\w+)<\/code>/\2<\/a><\/code>/g' {} + + find docs -name *.html -exec sed -ri 's/\?(\w+)\$([\w\(\)]+)<\/code>/\$\2<\/a><\/code>/g' {} + - name: Upload artifact uses: actions/upload-artifact@v4