Skip to content

Commit 103f6b5

Browse files
committed
Add grouping for pkgdown reference page.
1 parent c177880 commit 103f6b5

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

_pkgdown.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,57 @@
11
url: https://r-pkg.thecoatlessprofessor.com/explorecourses/
22
template:
33
bootstrap: 5
4+
bootswatch: cosmo
5+
bslib:
6+
primary: "#8C1515" # Stanford cardinal red
7+
font-size-base: 0.95rem
48

9+
navbar:
10+
structure:
11+
left: [intro, reference, news]
12+
right: [search, github]
13+
components:
14+
reference:
15+
text: API Reference
16+
href: reference/index.html
17+
github:
18+
icon: fab fa-github
19+
aria-label: GitHub logo
20+
href: https://github.com/username/explorecourses
21+
22+
reference:
23+
- title: Main Functions
24+
desc: Core functions for fetching course data
25+
contents:
26+
- fetch_departments
27+
- fetch_department_courses
28+
- fetch_all_courses
29+
30+
- title: Cache Management
31+
desc: Functions for managing the local cache
32+
contents:
33+
- starts_with("cache_")
34+
- read_xml_cache
35+
- clear_cache
36+
- list_cache
37+
- print.explorecourses_cache_list
38+
39+
- title: Internal Functions
40+
desc: Internal helper functions and utilities
41+
contents:
42+
- starts_with("process_")
43+
- starts_with("extract_")
44+
- starts_with("make_")
45+
- generate_academic_year
46+
- validate_academic_year
47+
48+
home:
49+
sidebar:
50+
structure: [links, license, community, citation, authors, dev]
51+
52+
footer:
53+
structure:
54+
left: developed_by
55+
right: built_with
56+
components:
57+
built_with: Built with {pkgdown}

0 commit comments

Comments
 (0)