Site Structure

This vignette explains the structure of the generated content, the purpose of each of the generated site sections/pages and which assumptions pkgdocs makes.

Articles

Articles are generated from your package vignettes.

When initializing the documentation, pkgdocs will copy your vignettes in the folder docs/articles and render them with ?rmarkdown::render using a a special output format ?hugo_page. The output defined in your vignette front-matter is ignored since this is typically set to ?rmarkdown::html_vignette. The rationale behind this is to share a uniform style between the site and the vignettes.

You can learn more about this step in ?build_vignettes.

Function Reference

The reference section in your documention will be populated with a page for each topic documented in the .Rd files in your package man/ folder.

By default, no pages will be generated for topics that have been marked with \keyword{internal} When using roxygen, you can hide internal topics @keywords internal or @noRd to prevent the .Rd file from being generated.