Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Nov 11, 2024
1 parent 79d40ab commit 24190bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion update_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ eval $CMD generate \
--package-name $pkg_name \
--additional-properties=packageName=$pkg_name,packageVersion=$pkg_ver,exceptionPackage=rlang

# remove docs/ because this documentation could be generated by pkgdown
rm -r docs/

# Hack to fix the auto-generated documentation so that checks pass
sed -i 's/\[\*\*AnyType\*\*\](AnyType\.md)/AnyType/g' docs/DefaultApi.md
sed -i 's/\\link{AnyType}/AnyType/g' R/default_api.R
Expand All @@ -42,4 +45,4 @@ Rscript -e "devtools::document()"

echo
echo "NEXT STEPS:"
echo "Copy updated documentation to 'README.qmd' and run 'quarto render README.qmd'"
echo "Run 'quarto render README.qmd'"

0 comments on commit 24190bd

Please sign in to comment.