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
Base the file name and the ID on the assembly title. For example:
@@ -16,17 +16,17 @@ The ID is an anchor that links to the module. Avoid changing it after the module
16
16
////
17
17
18
18
ifndef::context[]
19
-
[id="${module_id}"]
19
+
[id="{{module_id}}"]
20
20
endif::[]
21
21
ifdef::context[]
22
-
[id="${module_id}_{context}"]
22
+
[id="{{module_id}}_{context}"]
23
23
endif::[]
24
-
= ${module_title}
24
+
= {{module_title}}
25
25
////
26
26
If the assembly covers a task, start the title with a verb in the gerund form, such as Creating or Configuring.
27
27
////
28
28
29
-
:context: ${module_id}
29
+
:context: {{module_id}}
30
30
31
31
////
32
32
The `context` attribute enables module reuse. Every module ID includes {context}, which ensures that the module has a unique ID so you can include it multiple times in the same guide.
@@ -53,7 +53,7 @@ The following include statements pull in the module files that comprise the asse
[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.
@@ -78,6 +78,6 @@ Optional. Delete if not used.
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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ The ID is an anchor that links to the module. Avoid changing it after the module
11
11
The `context` attribute enables module reuse. Every module ID includes {context}, which ensures that the module has a unique ID so you can include it multiple times in the same guide.
12
12
////
13
13
14
-
[id="${module_id}_{context}"]
15
-
= ${module_title}
14
+
[id="{{module_id}}_{context}"]
15
+
= {{module_title}}
16
16
////
17
17
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_.
Copy file name to clipboardExpand all lines: data/templates/procedure.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ The ID is an anchor that links to the module. Avoid changing it after the module
9
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
10
////
11
11
12
-
[id="${module_id}_{context}"]
13
-
= ${module_title}
12
+
[id="{{module_id}}_{context}"]
13
+
= {{module_title}}
14
14
////
15
15
Start the title of a procedure module with a verb, such as Creating or Create. See also _Wording of headings_ in _The IBM Style Guide_.
Copy file name to clipboardExpand all lines: data/templates/reference.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ The ID is an anchor that links to the module. Avoid changing it after the module
9
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
10
////
11
11
12
-
[id="${module_id}_{context}"]
13
-
= ${module_title}
12
+
[id="{{module_id}}_{context}"]
13
+
= {{module_title}}
14
14
////
15
15
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.
0 commit comments