You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/templates/assembly.adoc
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,19 +33,19 @@ The `context` attribute enables module reuse. Every module ID includes {context}
33
33
////
34
34
35
35
[role="_abstract"]
36
-
// <example>
36
+
{% if examples -%}
37
37
This paragraph is the assembly introduction. It explains what the user will accomplish by working through the modules in the assembly and sets the context for the user story the assembly is based on. The text that immediately follows the `[role="_abstract"]` tag is used for search metadata.
38
-
// </example>
38
+
{%- endif %}
39
39
40
40
== Prerequisites
41
41
42
-
// <example>
42
+
{% if examples -%}
43
43
* A bulleted list of conditions that must be satisfied before the user starts following this assembly.
44
44
* You can also link to other modules or assemblies the user must follow before starting this assembly.
45
45
* Delete the section title and bullets if the assembly has no prerequisites.
46
46
* X is installed. For information about installing X, see <link>.
47
47
* You can log in to X with administrator privileges.
48
-
// </example>
48
+
{%- endif %}
49
49
50
50
////
51
51
The following include statements pull in the module files that comprise the assembly. Include any combination of concept, procedure, or reference modules required to cover the user story. You can also include other assemblies.
* A bulleted list of links to other material closely related to the contents of the assembly, including xref links to other assemblies in your collection.
74
74
* For more details on writing assemblies, see the link:https://github.com/redhat-documentation/modular-docs#modular-documentation-reference-guide[Modular Documentation Reference Guide].
75
75
* Use a consistent system for file names, IDs, and titles. For tips, see _Anchor Names and File Names_ in link:https://github.com/redhat-documentation/modular-docs#modular-documentation-reference-guide[Modular Documentation Reference Guide].
76
-
// </example>
76
+
{%- endif %}
77
77
78
78
////
79
79
Restore the context to what it was before this assembly.
Copy file name to clipboardExpand all lines: data/templates/concept.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,25 +18,25 @@ In the title of concept modules, include nouns or noun phrases that are used in
18
18
////
19
19
20
20
[role="_abstract"]
21
-
// <example>
21
+
{% if examples -%}
22
22
Write a short introductory paragraph that provides an overview of the module. The text that immediately follows the `[role="_abstract"]` tag is used for search metadata.
23
23
24
24
The contents of a concept module give the user descriptions and explanations needed to understand and use a product.
25
25
26
26
* Look at nouns and noun phrases in related procedure modules and assemblies to find the concepts to explain to users.
27
27
* Explain only things that are visible to users. Even if a concept is interesting, it probably does not require explanation if it is not visible to users.
28
28
* Do not include any instructions to perform an action, such as executing a command. Action items belong in procedure modules.
29
-
// </example>
29
+
{%- endif %}
30
30
31
31
[role="_additional-resources"]
32
32
.Additional resources
33
33
////
34
34
Optional. Delete if not used.
35
35
////
36
-
// <example>
36
+
{% if examples -%}
37
37
* A bulleted list of links to other material closely related to the contents of the concept module.
38
38
* Currently, modules cannot include xrefs, so you cannot include links to other content in your collection. If you need to link to another assembly, add the xref to the assembly that includes this module.
39
39
* For more details on writing concept modules, see the link:https://github.com/redhat-documentation/modular-docs#modular-documentation-reference-guide[Modular Documentation Reference Guide].
40
40
* Use a consistent system for file names, IDs, and titles. For tips, see _Anchor Names and File Names_ in link:https://github.com/redhat-documentation/modular-docs#modular-documentation-reference-guide[Modular Documentation Reference Guide].
Copy file name to clipboardExpand all lines: data/templates/procedure.adoc
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,53 +16,53 @@ Start the title of a procedure module with a verb, such as Creating or Create. S
16
16
////
17
17
18
18
[role="_abstract"]
19
-
// <example>
19
+
{% if examples -%}
20
20
Write a short introductory paragraph that provides an overview of the module. Procedure modules should include the steps that users perform and address user motivation.The text that immediately follows the `[role="_abstract"]` tag is used for search metadata.
21
-
// </example>
21
+
{%- endif %}
22
22
23
23
.Prerequisites
24
24
25
-
// <example>
25
+
{% if examples -%}
26
26
* A bulleted list of conditions that must be satisfied before the user starts following this module.
27
27
* You can also link to other modules or assemblies the user must follow before starting this module.
28
28
* Delete the section title and bullets if the module has no prerequisites.
29
-
// </example>
29
+
{%- endif %}
30
30
31
31
.Procedure
32
32
33
-
// <example>
33
+
{% if examples -%}
34
34
. Start each step with an active verb.
35
35
36
36
. Include one command or action for each step with the exception of simple follow-step, for example:
37
37
.. Do this thing and then select *Next*.
38
38
.. Do this other thing and then select *Next*.
39
39
40
40
. Use an unnumbered bullet (*) if the procedure includes only one step.
41
-
// </example>
41
+
{%- endif %}
42
42
43
43
.Verification
44
44
////
45
45
Delete this section if it does not apply to your module. Provide the user with verification methods for the procedure, such as expected output or commands that confirm success or failure.
46
46
////
47
47
48
-
// <example>
48
+
{% if examples -%}
49
49
. Start each step with an active verb.
50
50
51
51
. Include one command or action per step.
52
52
53
53
. Use an unnumbered bullet (*) if the procedure includes only one step.
54
-
// </example>
54
+
{%- endif %}
55
55
56
56
57
57
[role="_additional-resources"]
58
58
.Additional resources
59
59
////
60
60
Optional. Delete if not used.
61
61
////
62
-
// <example>
62
+
{% if examples -%}
63
63
* A bulleted list of links to other material closely related to the contents of the procedure module.
64
64
* Currently, modules cannot include xrefs, so you cannot include links to other content in your collection. If you need to link to another assembly, add the xref to the assembly that includes this module.
65
65
* For more details on writing procedure modules, see the link:https://github.com/redhat-documentation/modular-docs#modular-documentation-reference-guide[Modular Documentation Reference Guide].
66
66
* Use a consistent system for file names, IDs, and titles. For tips, see _Anchor Names and File Names_ in link:https://github.com/redhat-documentation/modular-docs#modular-documentation-reference-guide[Modular Documentation Reference Guide].
Copy file name to clipboardExpand all lines: data/templates/reference.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ In the title of a reference module, include nouns that are used in the body text
16
16
////
17
17
18
18
[role="_abstract"]
19
-
// <example>
19
+
{% if examples -%}
20
20
Write a short introductory paragraph that provides an overview of the module. The text that immediately follows the `[role="_abstract"]` tag is used for search metadata. A reference module provides data that users might want to look up, but do not need to remember.
21
21
It has a very strict structure, often in the form of a list or a table.
22
22
A well-organized reference module enables users to scan it quickly to find the details they want.
@@ -38,17 +38,17 @@ Term 2:: Definition
38
38
|Row 1, column 1|Row 1, column 2|Row 1, column 3
39
39
|Row 2, column 1|Row 2, column 2|Row 2, column 3
40
40
|====
41
-
// </example>
41
+
{%- endif %}
42
42
43
43
[role="_additional-resources"]
44
44
.Additional resources
45
45
////
46
46
Optional. Delete if not used.
47
47
////
48
-
// <example>
48
+
{% if examples -%}
49
49
* A bulleted list of links to other material closely related to the contents of the concept module.
50
50
* Currently, modules cannot include xrefs, so you cannot include links to other content in your collection. If you need to link to another assembly, add the xref to the assembly that includes this module.
51
51
* For more details on writing reference modules, see the link:https://github.com/redhat-documentation/modular-docs#modular-documentation-reference-guide[Modular Documentation Reference Guide].
52
52
* Use a consistent system for file names, IDs, and titles. For tips, see _Anchor Names and File Names_ in link:https://github.com/redhat-documentation/modular-docs#modular-documentation-reference-guide[Modular Documentation Reference Guide].
0 commit comments