Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-15819: [R] R docs version switcher doesn't work on Safari on MacOS
Updates the code used in the version switcher to be compatible with Safari, and adds extra docs to the version switcher. Recommendations for reviewing this PR: * You could try building the pkgdown site locally, but the problem there is that the code for constructing the URLs for the dropdown doesn't actually work when loading the page from a file like that * What I do is navigate to a deployed page (I used https://arrow.apache.org/docs/3.0/r/ as there is no version dropdown on that version of the docs) and then open us the JS console in my browser and copy and paste the contents of extra.js into there - you'll then see the dropdown appear and can check the links point to the correct places * The thing we want to check for on this PR is that the dropdown is generated in Safari on MacOS - it wasn't before due to an incompatible regex Closes apache#12819 from thisisnic/ARROW-15819_version_safari Authored-by: Nic Crane <thisisnic@gmail.com> Signed-off-by: Nic Crane <thisisnic@gmail.com>
- Loading branch information