templates: Generate YAML templates

Description Usage Arguments Examples

Description

Use these function to generate the default YAML that pkgdown uses for the different parts of _pkgdown.yml. This are useful starting points if you want to customise your site.

Usage

1
2
3
4
5
template_navbar(path = ".")

template_reference(path = ".")

template_articles(path = ".")

Arguments

path

Path to package root

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
pkgdown::template_navbar()

## End(Not run)

## Not run: 
pkgdown::template_reference()

## End(Not run)

## Not run: 
pkgdown::template_articles()

## End(Not run)

hadley/pkgdown documentation built on Nov. 12, 2018, 7:59 a.m.