You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: slides.qmd
+16-22Lines changed: 16 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
---
2
-
title: Reproducible slides with Quarto and continuous deployment via GitHub actions
3
-
subtitle: Demonstration slides
2
+
title: Deploying cross-language in high impact projects
4
3
format:
5
4
revealjs: default
6
5
# clean-revealjs:
@@ -19,45 +18,36 @@ bibliography: references.bib
19
18
20
19
# Introduction
21
20
22
-
## Why make a presentation with Quarto and continuous deployment?
21
+
## Why cross-language projects?
23
22
24
-
-Allows you to test ideas in a standalone environment
25
-
-Sharing materials with collaborators and the audience
26
-
-Continuous deployment automates the process of updating the slides and ensures reproducibility
23
+
- a
24
+
- b
25
+
- c
27
26
28
-
## How to get started?
27
+
## ...
29
28
30
-
- Check out the [Quarto documentation](https://quarto.org/)
31
-
- Especially the [Publishing](https://quarto.org/docs/publishing/) section
32
-
- You can use this repository as a template for your own slides, go to https://github.com/Robinlovelace/reproducible-slides-repo-template and clone it
33
-
- Note: the approach here is to publish the slides as part of a Quarto website project so it can be used for other purposes too, e.g. if you want to write a paper building on the slides
34
-
35
-
## Extensions
36
-
37
-
Add extensions with the following code (which adds the [`clean-revealjs`](https://github.com/grantmcdermott/quarto-revealjs-clean) extension, for example, which has a detailed demo hosted at [github.com/grantmcdermott/quarto-revealjs-clean-demo](https://github.com/grantmcdermott/quarto-revealjs-clean-demo/blob/main/template.qmd)):
38
-
39
-
```sh
29
+
```sh
40
30
quarto install extension grantmcdermott/quarto-revealjs-clean
41
31
```
42
32
43
33
Then replace:
44
34
45
-
```
35
+
```
46
36
format:
47
37
revealjs: default
48
38
```
49
39
50
40
with:
51
41
52
-
```
42
+
```
53
43
format:
54
44
clean-revealjs:
55
45
self-contained: true
56
46
```
57
47
58
48
In the YAML header of your `.qmd` file.
59
49
60
-
# Publishing slides (and more)
50
+
# Publishing slides
61
51
62
52
## Setting-up `gh-pages` branch
63
53
@@ -73,15 +63,15 @@ Which leads to the following text and eventually auto-opens the deployed webiste
73
63
74
64
## The website
75
65
76
-
The previous command creates a `gh-pages` branch with the slides in the `docs` folder. This is then automatically deployed to GitHub Pages, and the website is opened in your browser when ready:
66
+
The previous command creates a `gh-pages` branch with the slides in the `docs` folder.
67
+
This is then automatically deployed to GitHub Pages, and the website is opened in your browser when ready:
77
68
78
69

79
70
80
71
How awesome is that?
81
72
82
73
### 🤯🤯🤯
83
74
84
-
85
75
## Debugging
86
76
87
77
Source of `quarto publish gh-pages` hint: [Error message from GitHub Actions](https://github.com/Robinlovelace/reproducible-slides-repo-template/actions/runs/10860601182/job/30141397336#step:4:34) when trying to publish slides to GitHub Pages:
@@ -111,4 +101,8 @@ Creates citations like this: [@peng2011]
0 commit comments