@hawkeyexl/manni 3.0.0 → 4.0.0
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.
- package/README.md +3 -3
- package/dist/{chunk-G7INFKNJ.js → chunk-J3KIKNWZ.js} +2 -2
- package/dist/{chunk-I6PYC7EP.js → chunk-O7RMPQZ4.js} +89 -12
- package/dist/chunk-O7RMPQZ4.js.map +1 -0
- package/dist/chunk-YDUFTHBZ.js +13908 -0
- package/dist/chunk-YDUFTHBZ.js.map +1 -0
- package/dist/cli.js +326 -28
- package/dist/cli.js.map +1 -1
- package/dist/docmeta.js +2 -2
- package/dist/index.d.ts +1569 -244
- package/dist/index.js +110 -3
- package/dist/index.js.map +1 -1
- package/package.json +17 -2
- package/schemas/lint/config.json +73 -0
- package/schemas/lint/template.json +346 -0
- package/templates/lint/tgdp/concept.yaml +77 -0
- package/templates/lint/tgdp/how-to.yaml +64 -0
- package/templates/lint/tgdp/manifest.json +57 -0
- package/templates/lint/tgdp/readme.yaml +163 -0
- package/templates/lint/tgdp/reference.yaml +67 -0
- package/templates/lint/tgdp/release-notes.yaml +108 -0
- package/templates/lint/tgdp/troubleshooting.yaml +98 -0
- package/templates/lint/tgdp/tutorial.yaml +74 -0
- package/dist/chunk-I6PYC7EP.js.map +0 -1
- package/dist/chunk-W75SLU7Z.js +0 -6541
- package/dist/chunk-W75SLU7Z.js.map +0 -1
- /package/dist/{chunk-G7INFKNJ.js.map → chunk-J3KIKNWZ.js.map} +0 -0
|
@@ -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.
|