Skip to content

Commit bd648ef

Browse files
committed
update pkgdown.yml
1 parent 25f5ef2 commit bd648ef

File tree

6 files changed

+82
-0
lines changed

6 files changed

+82
-0
lines changed

.Rbuildignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
^cran-comments\.md$
55
^codecov\.yml$
66
^\.covrignore$
7+
^_pkgdown\.yml$
8+
^docs$
9+
^pkgdown$
10+
^\.github$

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.github/workflows/pkgdown.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
release:
8+
types: [published]
9+
workflow_dispatch:
10+
11+
name: pkgdown.yaml
12+
13+
permissions: read-all
14+
15+
jobs:
16+
pkgdown:
17+
runs-on: ubuntu-latest
18+
# Only restrict concurrency for non-PR jobs
19+
concurrency:
20+
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
21+
env:
22+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
23+
permissions:
24+
contents: write
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- uses: r-lib/actions/setup-pandoc@v2
29+
30+
- uses: r-lib/actions/setup-r@v2
31+
with:
32+
use-public-rspm: true
33+
34+
- uses: r-lib/actions/setup-r-dependencies@v2
35+
with:
36+
extra-packages: any::pkgdown, local::.
37+
needs: website
38+
39+
- name: Build site
40+
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
41+
shell: Rscript {0}
42+
43+
- name: Deploy to GitHub pages 🚀
44+
if: github.event_name != 'pull_request'
45+
uses: JamesIves/github-pages-deploy-action@v4.5.0
46+
with:
47+
clean: false
48+
branch: gh-pages
49+
folder: docs

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.Rhistory
33
.RData
44
.Ruserdata
5+
docs

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ Imports:
1313
Suggests:
1414
testthat (>= 3.0.0)
1515
Config/testthat/edition: 3
16+
URL: https://dalyanalytics.github.io/shinyfa/

_pkgdown.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
url: https://dalyanalytics.github.io/shinyfa/
2+
3+
home:
4+
title: Easily analyze the file contents of Shiny apps
5+
6+
authors:
7+
Jasmine Daly:
8+
href: https://www.dalyanalytics.com/
9+
10+
template:
11+
bootstrap: 5
12+
light-switch: true
13+
bootswatch: cosmo # (Optional) Choose a theme
14+
includes:
15+
in_header: extra.css
16+
before_body: |
17+
<style>
18+
.navbar {background: linear-gradient(-45deg, #F9B397, #D68A93, #AD92B1, #B07891); background-size: 200% 100%; animation: gradient 15s ease infinite;}
19+
@keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; }}
20+
.navbar-nav .nav-link {color: white;}
21+
</style>
22+
23+
bslib:
24+
base_font: {google: "Manrope"}
25+
heading_font: {google: "Frank Ruhl Libre"}
26+
code_font: {google: "JetBrains Mono"}

0 commit comments

Comments
 (0)