View source: R/get_pages_url.R
get_pages_url | R Documentation |
Given an repository on GitHub, retrieve the pages URL for it.
get_pages_url(repo_name, git_pat = NULL, verbose = FALSE, keep_json = FALSE)
repo_name |
The full name of the repo to get bookdown chapters from. e.g. "jhudsl/OTTR_Template" |
git_pat |
If private repositories are to be retrieved, a github personal access token needs to be supplied. If none is supplied, then this will attempt to grab from a git pat set in the environment with usethis::create_github_token(). Authorization handled by get_git_auth |
verbose |
TRUE/FALSE do you want more progress messages? |
keep_json |
verbose TRUE/FALSE keep the json file locally? |
a data frame with the repository with the following columns: data_level, data_path, chapt_name, url, repository name
## Not run:
usethis::create_github_token()
get_chapters("jhudsl/Documentation_and_Usability")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.