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: tests/generated/assembly_testing-that-an-assembly-forms-properly.adoc
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The ID is an anchor that links to the module. Avoid changing it after the module
16
16
////
17
17
18
18
////
19
-
Indicate the module type in one of the following
19
+
Indicate the content type in one of the following
20
20
ways:
21
21
Add the prefix assembly- or assembly_ to the file name.
22
22
Add the following attribute before the module ID:
@@ -31,6 +31,8 @@ ifdef::context[]
31
31
endif::[]
32
32
= Testing that an assembly forms properly
33
33
////
34
+
Be sure to include a line break between the title and the :context: variable and the :context: variable and the assembly introduction.
35
+
34
36
If the assembly covers a task, start the title with a verb in the gerund form, such as Creating or Configuring.
35
37
////
36
38
@@ -62,6 +64,7 @@ Include modules here.
62
64
[leveloffset=+1] ensures that when a module title is a level 1 heading (= Title), the heading will be interpreted as a level-2 heading (== Title) in the assembly. Use [leveloffset=+2] and [leveloffset=+3] to nest modules in an assembly.
Copy file name to clipboardExpand all lines: tests/generated/con_a-title-that-tests-a-concept.adoc
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,8 @@ The `context` attribute enables module reuse. Every module ID includes {context}
23
23
= A title that tests a concept
24
24
////
25
25
In the title of concept modules, include nouns or noun phrases that are used in the body text. This helps readers and search engines find the information quickly. Do not start the title of concept modules with a verb. See also _Wording of headings_ in _The IBM Style Guide_.
26
+
27
+
Be sure to include a line break between the title and the module introduction.
26
28
////
27
29
28
30
Write a short introductory paragraph that provides an overview of the module.
@@ -31,7 +33,17 @@ The contents of a concept module give the user descriptions and explanations nee
31
33
32
34
* Look at nouns and noun phrases in related procedure modules and assemblies to find the concepts to explain to users.
33
35
* 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.
34
-
* Do not include any instructions to perform an action, such as executing a command. Action items belong in procedure modules.
36
+
* Avoid including action items. Action items belong in procedure modules. However, in some cases a concept or reference can include suggested actions when those actions are simple, are highly dependent on the context of the module, and have no place in any procedure module. In such cases, ensure that the heading of the concept or reference remains a noun phrase and not a gerund.
37
+
38
+
////
39
+
Include titles and alternative text descriptions for images.
40
+
Alternative text should provide a textual, complete description of the image as a full sentence.
41
+
Images should never be the sole means of conveying information and should only supplement the text.
42
+
Avoid screenshots or other images that might quickly go out of date and that create a maintenance burden on documentation.
43
+
Provide text equivalents for every diagram, image, or other non-text element. Avoid using images of text instead of actual text.
44
+
////
45
+
.Image title
46
+
image::image-file.png[A textual representation of the essential information conveyed by the image.]
Copy file name to clipboardExpand all lines: tests/generated/proc_testing-a-procedure.adoc
+19-15Lines changed: 19 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,8 @@ Base the file name and the ID on the module title. For example:
4
4
* ID: [id="proc-doing-procedure-a_{context}"]
5
5
* Title: = Doing procedure A
6
6
7
-
The ID is an anchor that links to the module. Avoid changing it after the module has been published to ensure existing links are not broken.
7
+
The ID is an anchor that links to the module. Avoid changing it after the module has been published to ensure existing links are not broken. The `context` attribute enables module reuse. Every module ID includes {context}, which ensures that the module has a unique ID even if it is reused multiple times in an assembly file.
8
8
9
-
The `context` attribute enables module reuse. Every module ID includes {context}, which ensures that the module has a unique ID even if it is reused multiple times in a guide.
10
-
////
11
-
12
-
////
13
9
Indicate the module type in one of the following
14
10
ways:
15
11
Add the prefix proc- or proc_ to the file name.
@@ -20,22 +16,26 @@ Add the following attribute before the module ID:
20
16
[id="proc_testing-a-procedure_{context}"]
21
17
= Testing a procedure
22
18
////
23
-
Start the title of a procedure module with a verb, such as Creatingor Create. See also _Wording of headings_ in _The IBM Style Guide_.
19
+
Start the title of a procedure module with a gerund, such as Creating, Installing, or Deploying.
24
20
////
25
21
26
-
Write a short introductory paragraph that provides an overview of the module.
27
-
28
-
Procedure modules should include the steps that users perform and address user motivation.
22
+
Write a short introductory paragraph that provides an overview of the module. The introduction should include what the module will help the user do and why it will be beneficial to the user. Include key words that relate to the module to maximize search engine optimization.
29
23
30
24
.Prerequisites
31
25
32
-
* A bulleted list of conditions that must be satisfied before the user starts following this module.
33
-
* You can also link to other modules or assemblies the user must follow before starting this module.
34
-
* Delete the section title and bullets if the module has no prerequisites.
26
+
* A bulleted list of conditions that must be satisfied before the user starts the steps in this module.
27
+
* Prerequisites can be full sentences or sentence fragments; however, prerequisite list items must be parallel.
28
+
29
+
////
30
+
If you have only one prerequisite, list it as a single bullet point.
31
+
Do not write prerequisites in the imperative.
32
+
You can include links to more information about the prerequisites.
33
+
Delete the .Prerequisites section title and bullets if the module has no prerequisites.
34
+
////
35
35
36
36
.Procedure
37
37
38
-
. Start each step with an active verb.
38
+
. Make each step an instruction.
39
39
40
40
. Include one command or action for each step with the exception of simple follow-step, for example:
41
41
.. Do this thing and then select *Next*.
@@ -48,11 +48,15 @@ Procedure modules should include the steps that users perform and address user m
48
48
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.
49
49
////
50
50
51
-
. Start each step with an active verb.
51
+
. Provide an example of expected command output or a pop-up window that the user receives when the procedure is successful.
52
+
53
+
. List actions for the user to complete, such as entering a command, to determine the success or failure of the procedure.
54
+
55
+
. Make each step an instruction.
52
56
53
57
. Include one command or action per step.
54
58
55
-
. Use an unnumbered bullet (*) if the procedure includes only one step.
59
+
. Use an unnumbered bullet (*) if the verification includes only one step.
Copy file name to clipboardExpand all lines: tests/generated/ref_the-lines-in-a-reference-module.adoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,8 @@ Add the following attribute before the module ID:
21
21
= The lines in a reference module
22
22
////
23
23
In the title of a reference module, include nouns that are used in the body text. For example, "Keyboard shortcuts for ___" or "Command options for ___." This helps readers and search engines find the information quickly.
24
+
25
+
Be sure to include a line break between the title and the module introduction.
24
26
////
25
27
26
28
Write a short introductory paragraph that provides an overview of the module.
0 commit comments