jonkeane commented on a change in pull request #9898: URL: https://github.com/apache/arrow/pull/9898#discussion_r611967494
########## File path: r/pkgdown/extra.js ########## @@ -0,0 +1,166 @@ +/** + * adapted from rmarkdown/inst/rmd/h/navigation-1.1/tabsets.js Review comment: pkgdown doesn't pull this code in to the javascript it loads, so it doesn't contain it itself (I've thought about sending a PR to add it there, [though they seemed down on the idea generally](https://github.com/r-lib/pkgdown/issues/981)) This code isn't _exactly_ what rmarkdown uses since the pkgdown structure is slightly different than the standard rmarkdown html template. The [underlying jquery plugin](https://github.com/aidanlister/jquery-stickytabs) is MIT licensed, the `buildTabsets` is the only code that is coming from rmarkdown (the `two $(document.read(...)` functions I wrote as part of dittodb). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org