-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
_pkgdown.yml
96 lines (91 loc) · 2.46 KB
/
_pkgdown.yml
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
84
85
86
87
88
89
90
91
92
93
94
95
96
url: 'https://carpentries.github.io/pegboard/'
home:
title: The Carpentries Lesson Validator
description: Parse, Transform, and Validate Carpentries Lessons
template:
bootstrap: 5
opengraph:
twitter:
creator: "@zkamvar"
site: "@thecarpentries"
card: summary
development:
mode: auto
reference:
- title: "Classes"
desc: >
R6 Classes that parse and manipulate Lesson content based on the {tinkr}
yarn class. All of the public-facing operations take place through the
methods in these classes.
- contents:
- Lesson
- Episode
- title: "Validation Reference"
desc: >
Reference documentation for validation procedures
- contents:
- validate_headings
- validate_links
- validate_divs
- throw_heading_warnings
- collect_labels
- issue_warning
- show_heading_tree
- title: "Helper functions"
desc: >
Miscellaneous functions that make working in Pegboard a little easier.
- contents:
- get_lesson
- lesson_fragment
- make_heading_table
- make_link_table
- make_div_table
- title: "[Internal] functions for Episode methods"
desc: >
Functions in this category serve as internal functions that the
corresponding methods in the `Episode` class.
- contents:
- get_challenges
- get_solutions
- isolate_elements
- title: "[Internal] Div Utilities"
desc: >
These functions help parse, clean, and label divs (both pandoc fenced divs
and HTML divs) in the document for parsing.
- contents:
- get_divs
- find_between_tags
- label_div_tags
- make_div_pairs
- find_div_pairs
- clean_div_tags
- clean_fenced_divs
- trim_fence
- title: "[Internal] Kramdown Parsers, Accessors, and Translators"
desc: >
Styles-era Carpentries lessons used kramdown syntax, which has a very
different set of features (such as postfix tags and liquid templating)
that require extra post-processing. These functions processed this syntax
and offerd ways of translating it to the more common pandoc syntax. (Note,
this is a non-exhaustive list).
- contents:
- fix_links
- fix_sandpaper_links
- fix_liquid_relative_link
- make_pandoc_alt
- set_alt_attr
- get_blocks
- get_code
- liquid_to_commonmark
- elevate_children
- kramdown_tags
- set_ktag_block
- are_blocks
articles:
- title: "Developer Guides"
navbar: ~
contents:
- intro-xml
- intro-episode
- intro-lesson
- articles/validation