Skip to content

Commit

Permalink
Add website docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
maciekbanas committed Sep 29, 2023
1 parent c401d3d commit ac0b917
Show file tree
Hide file tree
Showing 139 changed files with 30,567 additions and 1,531 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@
.Ruserdata
example_workflow_Roche.R
example_branch.R
docs
inst/doc
1 change: 1 addition & 0 deletions R/EngineGraphQL.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#' @noRd
#' @importFrom dplyr distinct mutate relocate filter
#'
#' @title A EngineGraphQL class
Expand Down
1 change: 1 addition & 0 deletions R/EngineGraphQLGitHub.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#' @noRd
#' @importFrom dplyr distinct mutate filter
#'
#' @title A EngineGraphQLGitHub class
Expand Down
1 change: 1 addition & 0 deletions R/EngineGraphQLGitLab.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#' @noRd
#' @importFrom dplyr relocate
#'
#' @title A EngineGraphQLGitLab class
Expand Down
1 change: 1 addition & 0 deletions R/EngineRest.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#' @noRd
#' @importFrom httr2 request req_headers req_perform resp_body_json
#' @importFrom cli cli_abort col_green
#' @importFrom rlang %||%
Expand Down
1 change: 1 addition & 0 deletions R/EngineRestGitHub.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#' @noRd
#' @title A EngineRestGitHub class
#' @description A class for methods wrapping GitHub's REST API responses.
EngineRestGitHub <- R6::R6Class("EngineRestGitHub",
Expand Down
1 change: 1 addition & 0 deletions R/EngineRestGitLab.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#' @noRd
#' @title A EngineRestGitLab class
#' @description A class for methods wrapping GitLab's REST API responses.
EngineRestGitLab <- R6::R6Class("EngineRestGitLab",
Expand Down
1 change: 1 addition & 0 deletions R/GQLQueryGitHub.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#' @noRd
#' @title A GQLQueryGitHub class
#' @description A class with methods to build GraphQL Queries for GitHub.

Expand Down
1 change: 1 addition & 0 deletions R/GQLQueryGitLab.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#' @noRd
#' @title A GQLQueryGitLab class
#' @description A class with methods to build GraphQL Queries for GitLab.

Expand Down
1 change: 1 addition & 0 deletions R/GitHost.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#' @noRd
#' @importFrom R6 R6Class
#' @importFrom rlang expr
#' @importFrom cli cli_alert_danger cli_alert_success
Expand Down
1 change: 1 addition & 0 deletions R/GitStats.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#' @noRd
#' @importFrom R6 R6Class
#' @importFrom cli cli_alert_info cli_alert_success cli_alert_warning col_yellow
#' @importFrom data.table rbindlist :=
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Please remember to have your access tokens stored as environment variables: `GIT

### Scope of tokens

In the spirit of good practice of setting minimal scope of access to tokens for `GitStats` to work you need:
For `GitStats` to work you need:

- [GitHub] `public_repo`, `read:org` and `read:user` scopes,
- [GitLab] `read_api` scope.
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ GitLab API.

### Scope of tokens

In the spirit of good practice of setting minimal scope of access to
tokens for `GitStats` to work you need:
For `GitStats` to work you need:

- \[GitHub\] `public_repo`, `read:org` and `read:user` scopes,
- \[GitLab\] `read_api` scope.
Expand Down
11 changes: 11 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
url: ~
template:
bootstrap: 5
reference:
- contents:
- matches("create_gitstats")
- starts_with("set_")
- starts_with("pull_")
- starts_with("get_")
- starts_with("reset")
- matches("gitstats_plot")
89 changes: 89 additions & 0 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 69 additions & 0 deletions docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 73 additions & 0 deletions docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ac0b917

Please sign in to comment.