Skip to content

Commit 9fc8c18

Browse files
Merge pull request #625 from lorenzwalthert/issue-624
- Use sections in pkgdown reference page (#624).
2 parents 8a2cadb + 3cd8f60 commit 9fc8c18

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Release upon request by the CRAN team.
44

55
## Minor changes and fixes
66

7-
- Add search to pkgdown webpage (#623).
7+
- Add search and reference sections to pkgdown webpage (#623, #625).
88
- various fixes to handle special cases for caching and stylerignore and their
99
interaction (#611, #610, #609, #607, #602, #600).
1010
- also test on macOS (#604).

_pkgdown.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
reference:
2+
- title: "Styling API"
3+
desc: >
4+
Functions for styling code
5+
- contents:
6+
- style_text
7+
- style_file
8+
- style_pkg
9+
- style_dir
10+
- styler_addins
11+
- title: "Fine-tune styling"
12+
desc: "Customize style guildes"
13+
- contents:
14+
- create_style_guide
15+
- specify_math_token_spacing
16+
- specify_reindention
17+
- tidyverse_reindention
18+
- tidyverse_math_token_spacing
19+
- title: "Non-functional documentation"
20+
desc: "Explaining features"
21+
contents:
22+
- caching
23+
- stylerignore
24+
- styler-package
25+
- title: "Caching"
26+
desc: "Utilities to help manage the styler cache"
27+
- contents:
28+
- starts_with("cache")
29+
- title: "Other"
30+
contents:
31+
- print.vertical
32+
133
template:
234
params:
335
bootswatch: flatly # https://bootswatch.com/flatly/

0 commit comments

Comments
 (0)