Generate static html documentation for an R package
Latest commit 2286a7b Sep 22, 2016 @randy3k randy3k committed with need jquery to make navbar responsive (#147)


Travis-CI Build Status

staticdocs is designed to make it quick and easy to build a website for your package. You can see staticdocs in action at this is the output of staticdocs applied to the latest version of staticdocs.


staticdocs is not currently available from CRAN, but you can install the development version from github with:

# install.packages("devtools")


Run staticdocs from the package directory each time you release your package:


This will generate a docs/ directory. The home page will be generated from your package's, and a function reference will be generated from the documentation in the man/ directory.

If you are using GitHub, the easiest way to make this your package website is to check into git, then go settings for your repo and make sure that the GitHub pages source is set to "master branch /docs folder".