Repository navigation
Expand file tree
/
Copy path_pkgdown.yml
More file actions
83 lines (80 loc) · 2.84 KB
/
Copy path_pkgdown.yml
File metadata and controls
83 lines (80 loc) · 2.84 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
url: https://felixluginbuhl.com/reactRouter
template:
bootstrap: 5
# Look of felixluginbuhl.com (cream paper, warm ink, DM Sans text, Space
# Grotesk headings), as in muiMaterial and muiCharts, with the teal of the
# hex logo as primary (a shade darker, so links read at AA on the cream).
bslib:
primary: "#00796B"
bg: "#FAF6F1"
fg: "#3D3229"
base_font: {google: "DM Sans"}
heading_font: {google: {family: "Space Grotesk", wght: [500, 600, 700]}}
code_font: {google: "Fira Code"}
border-color: "rgba(28, 25, 23, 0.12)"
# Dark mode (light-switch below): the dark scheme of felixluginbuhl.com.
body-bg-dark: "#14120F"
body-color-dark: "#E8E2DC"
body-emphasis-color-dark: "#F5F1EC"
body-secondary-color-dark: "#AFA294"
body-secondary-bg-dark: "#1C1917"
body-tertiary-bg-dark: "#1C1917"
border-color-dark: "rgba(232, 226, 220, 0.12)"
link-color-dark: "#4DB6AC"
link-hover-color-dark: "#80CBC4"
theme: arrow-dark
light-switch: true
opengraph:
image:
src: man/figures/card.png
alt: "reactRouter: URL routing with React Router for Shiny and Quarto"
includes:
# Roboto for the live demos of the articles (MUI is designed for it).
# The rest of the site styles are in pkgdown/extra.css.
in_header: |
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap">
authors:
Felix Luginbuhl:
href: "https://felixluginbuhl.com"
# Footer: the package family (the honeycomb of felixluginbuhl.com, in small)
# and pkgdown's "Developed by" line. The family is a plain link here;
# pkgdown/extra.js fills it from felixluginbuhl.com/stickers.json, so the
# list of packages lives in one place. Styles in pkgdown/extra.css.
footer:
structure:
left: [family, developed_by]
right: built_with
components:
family: '<nav class="hexfamily" aria-label="More R packages"><a href="https://felixluginbuhl.com/#packages">More R packages</a></nav>'
navbar:
structure:
left: [intro, articles, reference, news]
right: [search, lightswitch, github, homepage]
components:
intro:
text: Get started
href: articles/introduction.html
articles:
text: Articles
menu:
- text: Choosing a router
href: articles/routers.html
- text: Using Data Loaders
href: articles/useLoaderData.html
- text: Using Form and Fetchers
href: articles/useFetcher.html
- text: Advanced Hooks
href: articles/advanced-hooks.html
- text: Security considerations
href: articles/security.html
news:
text: News
href: news/index.html
github:
icon: fa-github
href: https://github.com/lgnbhl/reactRouter
aria-label: GitHub
homepage:
icon: fa-home
href: https://felixluginbuhl.com
aria-label: Felix Luginbuhl's website