Skip to content

Commit 54260b3

Browse files
committed
Modernize pkgdown config; switch to auto dev mode
Closes #1482
1 parent e7b07a0 commit 54260b3

File tree

1 file changed

+27
-35
lines changed

1 file changed

+27
-35
lines changed

_pkgdown.yml

Lines changed: 27 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,38 @@
11
url: https://usethis.r-lib.org
22

3-
authors:
4-
Jennifer Bryan:
5-
href: https://jennybryan.org
3+
development:
4+
mode: auto
65

76
template:
87
bootstrap: 5
98
package: tidytemplate
9+
includes:
10+
in_header: |
11+
<script defer data-domain="usethis.tidyverse.org,all.tidyverse.org" src="https://plausible.io/js/plausible.js"></script>
1012
1113
navbar:
12-
type: default
13-
left:
14-
- icon: fa-home fa-lg
15-
href: index.html
16-
- text: Setup
17-
href: articles/articles/usethis-setup.html
18-
- text: Reference
19-
href: reference/index.html
20-
- text: Articles
21-
menu:
22-
- text: Managing Git(Hub) Credentials
23-
href: articles/articles/git-credentials.html
24-
- text: Pull request helpers
25-
href: articles/articles/pr-functions.html
26-
- text: News
27-
menu:
28-
- text: "Blog posts"
29-
- text: "Renaming the default branch (usethis >= 2.1.2)"
30-
href: https://www.tidyverse.org/blog/2021/10/renaming-default-branch/
31-
- text: "usethis 2.0.0"
32-
href: https://www.tidyverse.org/blog/2020/12/usethis-2-0-0/
33-
- text: "usethis 1.6.0"
34-
href: https://www.tidyverse.org/blog/2020/04/usethis-1-6-0/
35-
- text: "usethis 1.5.0 (and 1.4.0)"
36-
href: https://www.tidyverse.org/blog/2019/04/usethis-1.5.0/
37-
- text: "usethis 1.3.0"
38-
href: https://www.tidyverse.org/blog/2018/02/usethis-1-3-0/
39-
- text: "usethis 1.0.0 (and 1.1.0)"
40-
href: https://www.tidyverse.org/blog/2017/11/usethis-1.0.0/
41-
- text: "------------------"
42-
- text: "Change log"
43-
href: news/index.html
14+
structure:
15+
left: [setup, reference, articles, news]
16+
right: [search, github]
17+
components:
18+
setup:
19+
text: Setup
20+
href: articles/usethis-setup.html
21+
22+
news:
23+
releases:
24+
- text: "Renaming the default branch (usethis >= 2.1.2)"
25+
href: https://www.tidyverse.org/blog/2021/10/renaming-default-branch/
26+
- text: "usethis 2.0.0"
27+
href: https://www.tidyverse.org/blog/2020/12/usethis-2-0-0/
28+
- text: "usethis 1.6.0"
29+
href: https://www.tidyverse.org/blog/2020/04/usethis-1-6-0/
30+
- text: "usethis 1.5.0 (and 1.4.0)"
31+
href: https://www.tidyverse.org/blog/2019/04/usethis-1.5.0/
32+
- text: "usethis 1.3.0"
33+
href: https://www.tidyverse.org/blog/2018/02/usethis-1-3-0/
34+
- text: "usethis 1.0.0 (and 1.1.0)"
35+
href: https://www.tidyverse.org/blog/2017/11/usethis-1.0.0/
4436

4537
reference:
4638
- title: Create

0 commit comments

Comments
 (0)