From 8508003e8802adc7b3813e2ae65c885f3a947651 Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Sat, 12 Jul 2025 09:30:50 +0200 Subject: [PATCH 1/2] add website --- .Rbuildignore | 3 +++ .github/workflows/code-format.yaml | 28 ++++++++++++++++++++++++++++ .gitignore | 1 + _pkgdown.yml | 4 ++++ 4 files changed, 36 insertions(+) create mode 100644 .github/workflows/code-format.yaml create mode 100644 _pkgdown.yml diff --git a/.Rbuildignore b/.Rbuildignore index b777ffe8..375b88fe 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -10,3 +10,6 @@ ^README\.Rmd$ man-roxygen/ README.html +^_pkgdown\.yml$ +^docs$ +^pkgdown$ diff --git a/.github/workflows/code-format.yaml b/.github/workflows/code-format.yaml new file mode 100644 index 00000000..f6198833 --- /dev/null +++ b/.github/workflows/code-format.yaml @@ -0,0 +1,28 @@ +# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples +# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help +on: + push: + branches: [main, master] + pull_request: + +name: format-code + +jobs: + format-code: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Format R code + uses: rstudio/shiny-workflows/format-r-code@v1 + + - name: Format C++ code + uses: jidicula/clang-format-action@v4.13.0 + with: + clang-format-version: '18' + fallback-style: none + + - name: Run clang-format 20 style check + uses: jidicula/clang-format-action@v4.15.0 + with: + clang-format-version: "20" diff --git a/.gitignore b/.gitignore index 427c570d..3b99e35f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ configure.log src/proto/ README.html src/Makevars +docs diff --git a/_pkgdown.yml b/_pkgdown.yml new file mode 100644 index 00000000..d71acfb9 --- /dev/null +++ b/_pkgdown.yml @@ -0,0 +1,4 @@ +url: ~ +template: + bootstrap: 5 + From 4ae017434437abfe59f3c00c19473309179c63ed Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Sat, 12 Jul 2025 09:32:09 +0200 Subject: [PATCH 2/2] remove format file --- .github/workflows/code-format.yaml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 .github/workflows/code-format.yaml diff --git a/.github/workflows/code-format.yaml b/.github/workflows/code-format.yaml deleted file mode 100644 index f6198833..00000000 --- a/.github/workflows/code-format.yaml +++ /dev/null @@ -1,28 +0,0 @@ -# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples -# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help -on: - push: - branches: [main, master] - pull_request: - -name: format-code - -jobs: - format-code: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Format R code - uses: rstudio/shiny-workflows/format-r-code@v1 - - - name: Format C++ code - uses: jidicula/clang-format-action@v4.13.0 - with: - clang-format-version: '18' - fallback-style: none - - - name: Run clang-format 20 style check - uses: jidicula/clang-format-action@v4.15.0 - with: - clang-format-version: "20"