Skip to content

Commit d3d47be

Browse files
authored
Minor website tweaks (#3953)
* Mark RStudio as funder (so appears in footer) * Use multiple heading levels on reference * Use news metadata structure
1 parent c7f9398 commit d3d47be

File tree

2 files changed

+27
-29
lines changed

2 files changed

+27
-29
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Authors@R: c(
1515
person("Kara", "Woo", role = "aut"),
1616
person("Hiroaki", "Yutani", role = "aut"),
1717
person("Dewey", "Dunnington", role = "aut"),
18-
person("RStudio", role = c("cph"))
18+
person("RStudio", role = c("cph", "fnd"))
1919
)
2020
Depends:
2121
R (>= 3.2)

_pkgdown.yml

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ reference:
3131
- ggsave
3232
- qplot
3333

34-
- title: "Layer: geoms"
34+
- title: Layers
35+
36+
- subtitle: Geoms
3537
desc: >
3638
A layer combines data, aesthetic mapping, a geom (geometric object),
3739
a stat (statistical transformation), and a position adjustment. Typically,
@@ -40,7 +42,7 @@ reference:
4042
contents:
4143
- starts_with("geom_")
4244

43-
- title: "Layer: stats"
45+
- subtitle: Stats
4446
desc: >
4547
A handful of layers are more easily specified with a `stat_` function,
4648
drawing attention to the statistical transformation rather than the visual
@@ -56,15 +58,15 @@ reference:
5658
- stat_sf_coordinates
5759
- after_stat
5860

59-
- title: "Layer: position adjustment"
61+
- subtitle: Position adjustment
6062
desc: >
6163
All layers have a position adjustment that resolves overlapping geoms.
6264
Override the default by using the `position` argument to the `geom_` or
6365
`stat_` function.
6466
contents:
6567
- starts_with("position_")
6668

67-
- title: "Layer: annotations"
69+
- subtitle: Annotations
6870
desc: >
6971
Annotations are a special type of layer that don't inherit global settings
7072
from the plot. They are used to add fixed reference data to plots.
@@ -129,7 +131,7 @@ reference:
129131
- facet_wrap
130132
- vars
131133

132-
- title: "Facetting: labels"
134+
- subtitle: Labels
133135
desc: >
134136
These functions provide a flexible toolkit for controlling the display
135137
of the "strip" labels on facets.
@@ -225,34 +227,30 @@ reference:
225227
- fortify
226228
- map_data
227229

230+
news:
231+
releases:
232+
- text: "Version 3.3.0"
233+
href: https://www.tidyverse.org/blog/2020/03/ggplot2-3-3-0/
234+
- text: "Version 3.2.0"
235+
href: https://www.tidyverse.org/articles/2019/06/ggplot2-3-2-0/
236+
- text: "Version 3.1.0"
237+
href: https://www.tidyverse.org/articles/2018/10/ggplot2-3-1-0/
238+
- text: "Version 3.0.0"
239+
href: https://www.tidyverse.org/articles/2018/07/ggplot2-3-0-0/
240+
- text: "Version 2.2.0"
241+
href: https://blog.rstudio.com/2016/11/14/ggplot2-2-2-0/
242+
- text: "Version 2.1.0"
243+
href: https://blog.rstudio.com/2016/03/03/ggplot2-2-1-0/
244+
- text: "Version 2.0.0"
245+
href: https://blog.rstudio.com/2015/12/21/ggplot2-2-0-0/
246+
- text: "Version 1.0.0"
247+
href: https://blog.rstudio.com/2015/01/09/ggplot2-updates/
248+
228249
navbar:
229250
structure:
230251
right: [extensions, github]
231252
components:
232253
home: ~
233-
news:
234-
text: News
235-
menu:
236-
- text: "Release notes"
237-
- text: "Version 3.3.0"
238-
href: https://www.tidyverse.org/blog/2020/03/ggplot2-3-3-0/
239-
- text: "Version 3.2.0"
240-
href: https://www.tidyverse.org/articles/2019/06/ggplot2-3-2-0/
241-
- text: "Version 3.1.0"
242-
href: https://www.tidyverse.org/articles/2018/10/ggplot2-3-1-0/
243-
- text: "Version 3.0.0"
244-
href: https://www.tidyverse.org/articles/2018/07/ggplot2-3-0-0/
245-
- text: "Version 2.2.0"
246-
href: https://blog.rstudio.com/2016/11/14/ggplot2-2-2-0/
247-
- text: "Version 2.1.0"
248-
href: https://blog.rstudio.com/2016/03/03/ggplot2-2-1-0/
249-
- text: "Version 2.0.0"
250-
href: https://blog.rstudio.com/2015/12/21/ggplot2-2-0-0/
251-
- text: "Version 1.0.0"
252-
href: https://blog.rstudio.com/2015/01/09/ggplot2-updates/
253-
- text: "------------------"
254-
- text: "Change log"
255-
href: news/index.html
256254
extensions:
257255
text: Extensions
258256
href: https://exts.ggplot2.tidyverse.org/gallery/

0 commit comments

Comments
 (0)