Skip to content

Commit 7a847db

Browse files
20251231 - update Quarto website
1 parent 0bdec35 commit 7a847db

3 files changed

Lines changed: 48 additions & 14 deletions

File tree

.github/workflows/publish.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,25 @@ jobs:
4343

4444
#- name: Install remote packages
4545
# run: |
46-
# Rscript -e 'remotes::install_github("DevPsyLab/petersenlab")'
46+
# Rscript -e "install.packages('rstan', repos = c('https://mc-stan.org/r-packages/', getOption('repos')))"
47+
# # Rscript -e 'remotes::install_github("DevPsyLab/petersenlab")'
4748

4849
- name: Render and Publish
4950
uses: quarto-dev/quarto-actions/publish@v2
5051
with:
5152
target: gh-pages
5253
env:
5354
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
56+
- name: List files in workspace
57+
if: always()
58+
run: |
59+
ls -lh
60+
find . -type f
61+
62+
- name: Archive production artifacts
63+
if: always() # ensures it runs even if previous steps fail
64+
uses: actions/upload-artifact@v4 # update
65+
with:
66+
name: site
67+
path: _site/

_quarto.yml

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,25 @@ project:
33

44
website:
55
title: "Quarto Website"
6+
#repo-url: https://github.com/DevPsyLab/DataAnalysis
7+
repo-actions: [edit, source, issue]
8+
#google-analytics: G-INSERTCODEHERE
69
navbar:
10+
#logo: images/logo.png
11+
search: true
12+
#tools:
13+
# - icon: github
14+
# menu:
15+
# - text: "Source Code"
16+
# href: https://github.com/DevPsyLab/DataAnalysis
17+
# - text: "Report a Bug"
18+
# href: https://github.com/DevPsyLab/DataAnalysis/issues/new
19+
# - icon: twitter
20+
# href: https://twitter.com/devpsylab
21+
# - icon: facebook
22+
# href: https://www.facebook.com/DevPsyLab
23+
# - icon: instagram
24+
# href: https://www.instagram.com/dev_psy_lab
725
left:
826
- href: index.qmd
927
text: Home
@@ -22,20 +40,31 @@ website:
2240

2341
format:
2442
html:
43+
highlight-style: a11y
2544
theme: cosmo
2645
css: ["styles.css", "includes/custom.css", "font/css/roboto.css"]
2746
toc: true
28-
toc-depth: 3
47+
toc-depth: 5
2948
toc-title: Contents
3049
toc-location: right
50+
execute:
51+
error: true
52+
warning: false
53+
code-link: true
3154
number-sections: true
32-
code-fold: true
55+
code-fold: show
3356
df-print: paged
3457
code-tools:
3558
source: true
3659
toggle: true
3760
link-external-newwindow: true
38-
include-in-header:
39-
- "includes/google_analytics.html"
61+
#include-in-header:
62+
# - "includes/google_analytics.html"
4063
include-after-body:
4164
- "includes/footer.html"
65+
license: CC BY
66+
author-meta: "Isaac T. Petersen"
67+
date-meta: today
68+
69+
lightbox:
70+
match: auto

includes/google_analytics.html

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)