insightsengineering / r-pkgdown-multiversion

Github Action to generate multiple versions of pkgdown docs for R packages
https://github.com/marketplace/actions/r-pkgdown-multi-version-docs
Apache License 2.0
4 stars 0 forks source link

fix: Handle the search index updates for latest-tag and RC dirs #16

Closed cicdguy closed 10 months ago

cicdguy commented 10 months ago

pkgdown docs on latest tag do not have correct search configuration

e.g. on mmrm

https://github.com/openpharma/mmrm/blob/gh-pages/latest-tag/search.json

there is an additional v0.3.7 after latest-tag leading to incorrect behavior

in other tags it is correct.

In previous version it works (there is no additional version tag there)

https://github.com/openpharma/mmrm/blob/aed5cf599ed850421e64fa02ce4440b376878b85/latest-tag/search.json

other pkgs like tern also has the same issue