-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_pkgdown.yml
More file actions
66 lines (59 loc) · 1.93 KB
/
_pkgdown.yml
File metadata and controls
66 lines (59 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
url: https://maryleneh.github.io/packageTemplate/
template:
bootstrap: 5
bslib:
bootswatch: zephyr
primary: "#a4ac86"
base_font: {google: "Outfit"}
code_font: {google: "Fira Code"}
light-switch: true
theme: atom-one-light
theme-dark: atom-one-dark
includes:
after_body: |
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.6.0/dist/confetti.browser.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
document.addEventListener("click", function (e) {
if (typeof confetti === "function") {
const x = e.clientX / window.innerWidth;
const y = e.clientY / window.innerHeight;
confetti({
origin: { x: x, y: y }
});
}
});
});
</script>
reference:
- title: ":pencil: Functions that print things"
desc: These functions will all print things to your console. This is an exercice.
- subtitle: ":one: First subsection"
contents:
- print_hello_world
- subtitle: ":two: Second subsection"
contents:
- print_hello_students
navbar:
structure:
right: [search, github, my_linkedin, js_alert, lightswitch]
components:
my_linkedin:
icon: fa-linkedin
href: https://www.linkedin.com/in/marylene-henry/
aria-label: LinkedIn
github:
icon: fa-github
href: https://www.github.com/MaryleneH/packageTemplate
aria-label: Github
js_alert:
icon: fa-code
href: "#js_alert#"
arial-label: JavaScript
footer:
structure:
left: developed_by
right: buil_with_pkgdown
components:
developped_by: "Developed by [Marylène Henry](https://rladies.org/directory/#marylene-henry) :computer: "
buil_with_pkgdown: "This site was built using [pkgdown](https://pkgdown.r-lib.org/) ! <img src='https://pkgdown.r-lib.org/logo.png' alt='pkgdown logo' width='25'>"