| pages | R Documentation |
pages_enabled() - returns TRUE if a Pages site exists for the repo.
pages_status() - returns more detailed information about a repo's Pages site.
pages_create() - creates a Pages site for the provided repos.
pages_delete() - deletes the Pages site for the provided repos.
pages_enabled(repo)
pages_status(repo)
pages_create(
repo,
build_type = c("legacy", "workflow"),
branch = "main",
path = "/docs"
)
pages_delete(repo)
repo |
Character. Address of repositories in |
build_type |
Character. Either |
branch |
Character. Repository branch to publish. |
path |
Character. Repository path to publish. |
pages_enabled() returns a named logical vector - TRUE if a Pages site exists, FALSE otherwise.
pages_status() returns a tibble containing details on Pages sites.
pages_create() & pages_delete() return an invisible list containing the API responses.
## Not run:
pages_enabled("rundel/ghclass")
pages_status("rundel/ghclass")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.