Skip to content

Commit 4fecd18

Browse files
committed
Rename :_module-type: to :_content-type: in templates
1 parent 9eba6ea commit 4fecd18

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

data/templates/assembly.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ Base the file name and the ID on the assembly title. For example:
1515
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. Include {context} in the ID so the assembly can be reused.
1616
////
1717

18+
////
19+
Indicate the module type in one of the following
20+
ways:
21+
Add the prefix assembly- or assembly_ to the file name.
22+
Add the following attribute before the module ID:
23+
////
24+
:_content-type: ASSEMBLY
25+
1826
ifndef::context[]
1927
[id="{{module_id}}"]
2028
endif::[]
@@ -79,4 +87,3 @@ Restore the context to what it was before this assembly.
7987
////
8088
ifdef::parent-context-of-{{module_id}}[:context: {parent-context-of-{{module_id}}}]
8189
ifndef::parent-context-of-{{module_id}}[:!context:]
82-

data/templates/concept.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ways:
1111
Add the prefix con- or con_ to the file name.
1212
Add the following attribute before the module ID:
1313
////
14-
:_module-type: CONCEPT
14+
:_content-type: CONCEPT
1515

1616
////
1717
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.
@@ -46,4 +46,3 @@ Optional. Delete if not used.
4646
* 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].
4747
* 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].
4848
{%- endif %}
49-

data/templates/procedure.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ways:
1515
Add the prefix proc- or proc_ to the file name.
1616
Add the following attribute before the module ID:
1717
////
18-
:_module-type: PROCEDURE
18+
:_content-type: PROCEDURE
1919

2020
[id="{{module_id}}_{context}"]
2121
= {{module_title}}
@@ -74,4 +74,3 @@ Optional. Delete if not used.
7474
* 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].
7575
* 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].
7676
{%- endif %}
77-

data/templates/reference.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ways:
1515
Add the prefix ref- or ref_ to the file name.
1616
Add the following attribute before the module ID:
1717
////
18-
:_module-type: REFERENCE
18+
:_content-type: REFERENCE
1919

2020
[id="{{module_id}}_{context}"]
2121
= {{module_title}}
@@ -59,4 +59,3 @@ Optional. Delete if not used.
5959
* 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].
6060
* 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].
6161
{%- endif %}
62-

0 commit comments

Comments
 (0)