make_hierarchy_html: Creates hierarchical menu html from file names

Description Usage Arguments Value

View source: R/website.R

Description

Parses file paths to create html for a hierarchical menu.

Usage

1
make_hierarchy_html(hierarchy, page_paths, site_name = "Home")

Arguments

hierarchy

(list of character) Locations in the menu hierarchy.

page_paths

(character) The path to website site pages (.html files) corresponding argument hierarchy.

site_name

(character of length 1) The name of the website. This is displayed as the link to the home page.

Value

(character of length 1) The html code to make hierarchical menu


grunwaldlab/quiltr documentation built on May 17, 2019, 8:40 a.m.