-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Setup pkgdown * pre-commit autofixes * Split function reference * pre-commit autofixes * trigger-ci * Update pkgdown.yaml
- Loading branch information
Showing
7 changed files
with
100 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ | |
^\.github$ | ||
^CHANGELOG\.md$ | ||
^LICENSE\.md$ | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: "Build docs using pkgdown" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
# also run on 'closed' to clean up the github pages dir | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- closed | ||
|
||
concurrency: preview-${{ github.ref }} | ||
|
||
jobs: | ||
docs: | ||
name: "Build Docs" | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::pkgdown, local::. | ||
needs: website | ||
|
||
- name: Build site | ||
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) | ||
shell: Rscript {0} | ||
|
||
- name: Deploy preview | ||
if: github.event_name == 'pull_request' | ||
uses: rossjrw/pr-preview-action@v1 | ||
with: | ||
source-dir: docs | ||
|
||
- name: Deploy docs | ||
if: github.event_name != 'pull_request' | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: docs | ||
branch: gh-pages | ||
clean-exclude: pr-preview/ | ||
force: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,12 @@ Package: dso | |
Type: Package | ||
Title: dso R companion package | ||
Version: 0.7 | ||
Author: Daniel Schreyer<[email protected]>, | ||
Gregor Sturm<gregor.sturm@boehringer-ingelheim.com>, | ||
Thomas Schwarzl<thomas.schwarzl@boehringer-ingelheim.com> | ||
Maintainer: Daniel Schreyer<daniel.schreyer.ext@boehringer-ingelheim.com>, | ||
Gregor Sturm<gregor.sturm@boehringer-ingelheim.com>, | ||
Thomas Schwarzl<[email protected]> | ||
Authors@R: c( | ||
person("Daniel", "Schreyer", email = "daniel.schreyer.ext@boehringer-ingelheim.com", role = c("aut", "cre")), | ||
person("Gregor", "Sturm", email = "gregor.sturm@boehringer-ingelheim.com", role = "aut"), | ||
person("Thomas", "Schwarzl", email = "thomas.schwarzl@boehringer-ingelheim.com", role = "aut"), | ||
person("Alexander", "Peltzer", email = "alexander.peltzer@boehringer-ingelheim.com", role = "aut") | ||
) | ||
Description: Collection of functions used with the DevOps dso application. | ||
License: LGPL (>= 3) | ||
Encoding: UTF-8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
url: ~ | ||
template: | ||
bootstrap: 5 | ||
reference: | ||
- title: Work with DSO stages | ||
desc: Functions to load stage params and manipulate paths | ||
contents: | ||
- read_params | ||
- set_stage | ||
- stage_here | ||
- reload | ||
|
||
- title: dsoParams class reference | ||
desc: Reference of the dsoParams class produced by read_params | ||
contents: | ||
- dsoParams | ||
- as.list,dsoParams-method | ||
- $.dsoParams | ||
- dsoParams-class | ||
- print.dsoParams | ||
- show,dsoParams-method | ||
- "[[.dsoParams" | ||
|
||
- title: R interface to DSO CLI | ||
desc: wrapper around the DSO command line interface | ||
contents: | ||
- create_stage | ||
- compile_config | ||
- init | ||
- repro | ||
|
||
- title: Rstudio addin | ||
desc: functions related to the DSO rstudio addin | ||
contents: | ||
- dso_repro_stage_addin | ||
- dso_repro_stage_w_dependencies_addin |