Skip to content

Commit

Permalink
fix(pkgdown): Update R6 autolinking for "function" methods
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusSkytte committed Oct 29, 2024
1 parent d429047 commit b4c032d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
# We need to manually create the link to the function
# regex: <code>\?(\w+)\$()(\w+)[\(\)]+<\/code>
# Target: <a href="../reference/DiseasystoreBase.html#method-DiseasystoreBase-get_feature"><code>get_feature()</code></a>
find docs -name *.html -exec sed -ri 's/<code>\?(\w+)\$(\w+)<\/code>/<a href="..\/reference\/\1.html#method-\1-\2">\2<\/a><\/code>/g' {} +
find docs -name *.html -exec sed -ri 's/<code>\?(\w+)\$([\w\(\)]+)<\/code>/<code><a href="..\/reference\/\1.html#method-\1-\2">\$\2<\/a><\/code>/g' {} +
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit b4c032d

Please sign in to comment.