Improve maintainability of pkgdown website for R documentation
Right now, when we add a new function to the R package, we have to manually edit the pkgdown template file: https://github.com/h2oai/h2o-3/blob/master/h2o-r/h2o-package/pkgdown/_pkgdown.yml
Here’s our options to make life a little easier:
We use the “default setting” of pkgdown where everything is in one section (similar output to what we have now), that can be re-generated automatically when new functions arise, apparently.
We continue to use “sections” and then we can add a lot of functions just using regex… we can add all the h2o.* functions easily with regex at least. Right now we are using sections (even though we just have one section with all the functions in it), and when you use sections, functions cannot be added automatically (other than through regex).
Here’s some info: https://pkgdown.r-lib.org/articles/pkgdown.html#reference