@hawkeyexl/manni 3.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,74 @@
1
+ # Tutorial, derived from The Good Docs Project's tutorial template.
2
+ #
3
+ # Upstream (the authority for every heading below):
4
+ # https://gitlab.com/tgdp/templates/-/blob/v1.6.0/tutorial/template_tutorial.md
5
+ # https://gitlab.com/tgdp/templates/-/blob/v1.6.0/tutorial/guide_tutorial.md
6
+ #
7
+ # The upstream Markdown is vendored at test/lint/fixtures/tgdp/template_tutorial.md
8
+ # and linted against this file, so the two cannot drift.
9
+ #
10
+ # What is checked here is structure: which sections a tutorial has, and in what
11
+ # order. Content counts are almost entirely absent on purpose - a tutorial's
12
+ # steps may be a numbered list, a run of subsections, or a mix, and a minimum
13
+ # tuned to the sample page would reject real pages that are perfectly good
14
+ # tutorials.
15
+ #
16
+ # v2: upstream's `# Title` is a placeholder, so there is nothing to say about
17
+ # the page's own heading or content - what used to wrap everything in a
18
+ # `title` section is now the template's own `sections:`.
19
+ info:
20
+ title: Tutorial (The Good Docs Project)
21
+ version: "1.6.0"
22
+ vendor: tgdp
23
+ pin: v1.6.0
24
+
25
+ templates:
26
+ tutorial:
27
+ types:
28
+ - tutorial
29
+ sections:
30
+ - id: overview
31
+ heading: Overview
32
+ max: 1
33
+ description: >-
34
+ What the reader will be able to do by the end, who the tutorial
35
+ is for, and the background knowledge it assumes. The guide calls
36
+ this the section that decides whether a reader starts at all, so
37
+ it must say something in prose.
38
+ contains:
39
+ paragraphs:
40
+ min: 1
41
+ - id: background
42
+ heading: Background
43
+ min: 0
44
+ max: 1
45
+ description: >-
46
+ Context the reader needs before starting - what the feature is,
47
+ or how a supplied starter project is laid out. Upstream marks
48
+ this section optional in the template body ("{This section is
49
+ optional.}").
50
+ - id: before-you-start
51
+ heading: Before you start
52
+ max: 1
53
+ description: >-
54
+ Prerequisites: prior knowledge, software, environments, access.
55
+ No content minimum - a prerequisites section that is nothing but
56
+ a bulleted list is idiomatic.
57
+ - id: task
58
+ description: >-
59
+ One task the tutorial walks the reader through. Upstream heads it
60
+ with a placeholder (`## {Task name}`), so this rule constrains no
61
+ heading text. Leaving `max` unbounded is what lets a tutorial be a
62
+ sequence of these: the placeholder stands for however many the
63
+ page needs.
64
+ - id: summary
65
+ heading: Summary
66
+ max: 1
67
+ description: >-
68
+ The skills and knowledge the reader has gained, stated as
69
+ outcomes rather than as a repeat of the learning objectives.
70
+ - id: next-steps
71
+ heading: Next steps
72
+ max: 1
73
+ description: >-
74
+ Links onward - related tutorials, articles, videos.