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
//This automatically adds a table of contents so readers can jump to a specific heading.
7
13
toc::[]
8
14
15
+
//TODO: The following block must remain commented out, but add your name to the authors list in whatever format you want to be publicly visible in the openshift-docs repo.
9
16
//Mobb content metadata
10
17
//Brought into ROSA product docs 2023-09-18
11
18
//---
@@ -17,62 +24,272 @@ toc::[]
17
24
// - <author>
18
25
//---
19
26
20
-
Introductory text.
27
+
// Docs will remove this support statement once this content has gone through regular QE validation.
28
+
// TODO: IF YOU UPDATED THIS DOCUMENT AND THIS STATEMENT IS COMMENTED OUT, make sure you uncomment it again so QE can review your updates.
* link:https://cloud.redhat.com/experts/rosa/verify-permissions[Verify required permissions for a ROSA STS deployment]
62
+
* link:https://cloud.redhat.com/experts/rosa/ecr[Configure a ROSA cluster to pull images from AWS Elastic Container Registry]
63
+
64
+
//TODO: When you are finished writing your tutorial, delete everything below this line.
65
+
// These are just some basic syntax examples so you can copy and paste easily.
66
+
== AsciiDoc Syntax Basics
67
+
68
+
For more information, refer to link:https://asciidoctor.org/docs/asciidoc-writers-guide/[AsciiDoc Writer's Guide]
69
+
70
+
=== Headings
71
+
72
+
To add a heading, use equals signs at the beginning of the line:
73
+
74
+
[source]
75
+
----
76
+
== Second level heading text
77
+
=== Third level heading text
78
+
----
79
+
80
+
Up to 5 levels of heading are available, but this usually won't be required.
81
+
82
+
.Block element heading
83
+
You can also add a small header to a block element by adding a full-stop at the start of the line. Do not add a space or this will become an ordered list item.
84
+
85
+
[source]
86
+
----
87
+
.Block element heading
88
+
----
89
+
90
+
=== Paragraphs, links, and inline elements
91
+
92
+
A paragraph is just a plain line of text like this.
93
+
A single line break will be rendered as part of the same paragraph.
94
+
95
+
A double line break will be rendered as a separate paragraph.
96
+
97
+
You can _emphasize_ or *strengthen* text in a paragraph, or add a link to a link:http://www.redhat.com[Red Hat website].
98
+
99
+
[source]
100
+
----
101
+
You can _emphasize_ or *strengthen* text in a paragraph, or add a link to a link:http://www.redhat.com[Red Hat website].
102
+
----
103
+
104
+
Link to non-Red Hat websites if necessary, but remember they won't necessarily open in a new tab, and might lead users away from your document.
105
+
106
+
=== Lists
107
+
108
+
Unordered lists use asterisks followed by a space:
109
+
110
+
.My unordered list
111
+
* First level list item
112
+
** Use multiple asterisks to indent second level list items
113
+
* Another first level list item
114
+
115
+
[source]
116
+
----
117
+
.My unordered list
118
+
* First level list item
119
+
** Use multiple asterisks to indent second level list items
120
+
* Another first level list item
121
+
----
122
+
123
+
Ordered lists use full stops followed by a space:
124
+
125
+
.My ordered list
126
+
. Step one
127
+
.. Step 1.a.
128
+
. Step two
129
+
130
+
[source]
131
+
----
132
+
.My ordered list
133
+
. Step one
134
+
.. Step 1.a.
135
+
. Step two
136
+
----
137
+
138
+
You can also use two colons to get a term and definition list:
139
+
140
+
.Important definitions
141
+
term:: definition goes here
142
+
cat:: A cute and cuddly carnivorous companion animal with hidden foot knives.
143
+
dog:: A cute and cuddly omnivorous companion animal with clearly visible foot knives.
144
+
145
+
[source]
146
+
----
147
+
.Important definitions
148
+
term:: definition goes here
149
+
cat:: A cute and cuddly carnivorous companion animal with hidden foot knives.
150
+
dog:: A cute and cuddly omnivorous companion animal with clearly visible foot knives.
151
+
----
152
+
153
+
=== Code
154
+
155
+
You can use `backticks` to indicate a literal value inline, but for commands, code, and terminal output you want a code block:
156
+
157
+
[source,terminal]
158
+
----
159
+
$ rosa version
160
+
1.2.23
161
+
I: There is a newer release version '1.2.26', please consider updating: https://mirror.openshift.com/pub/openshift-v4/clients/rosa/latest/
162
+
----
163
+
164
+
[source]
165
+
------
166
+
[source,terminal]
167
+
----
168
+
$ rosa version
169
+
1.2.23
170
+
I: There is a newer release version '1.2.26', please consider updating: https://mirror.openshift.com/pub/openshift-v4/clients/rosa/latest/
171
+
----
172
+
------
173
+
174
+
The `[source]` part ahead of the code block specifies the kind of code in the block, and enables syntax highlighting based on the language provided after the comma.
175
+
21
176
22
-
==<Heading 2>
177
+
=== Tables
23
178
24
-
Paragraph text.
179
+
Tables use a combination of pipes and equals signs for their basic structure. If you want to include more complex content, you can add an `a` before the pipe indicating the start of the complex cell, and use other kinds of asciidoc syntax in that cell as required.
25
180
26
-
image::<example-image>.png[<example image text>]
181
+
.Tables need a title
182
+
|===
183
+
|Left column |Right column
184
+
185
+
| Row 1 left column cell
186
+
| Row 1 right column cell
187
+
188
+
a| Row 2 left column cell
27
189
28
190
[NOTE]
29
191
====
30
-
Images need to be added to the OpenShift images folder to build in the content.
* <bullet formatting: use a bullet for single-step processes or non-numbered processes>
50
-
** <bulleted substep formatting>
215
+
| Row 2 right column cell
51
216
52
-
.Code <formatting>
217
+
|===
218
+
------
53
219
54
-
[source,terminal]
220
+
=== Images
221
+
222
+
Place the image you want to use in the `cloud_experts_tutorials/images` sub-directory, and use only the file name in the `image::` block (not the relative path). For accessibility support, add a title for the image and describe the contents of the image. We recommend using PNG and SVG image formats.
223
+
224
+
.The perspectives menu in OpenShift Web Console
225
+
image::web_console_perspectives.png[The perspectives menu in OpenShift Web Console showing the Developer and Administrator persoectives]
226
+
227
+
[source]
55
228
----
56
-
$ <sample-code-block>
229
+
.The perspectives menu in OpenShift Web Console
230
+
image::web_console_perspectives.png[The perspectives menu in OpenShift Web Console showing the Developer and Administrator persoectives]
57
231
----
58
232
59
-
.Admonitions <formatting>
233
+
=== Warnings and admonition blocks
234
+
235
+
If you want to highlight some information you can place it in a callout block.
236
+
Only do this for important things a user might miss, or our users will start ignoring them.
237
+
238
+
[NOTE]
239
+
====
240
+
You can use other elements inside an admonition, but don't go overboard.
241
+
We typically use three kinds:
242
+
243
+
* NOTE is for information that is useful, and can often be just a regular sentence instead.
244
+
* IMPORTANT is for information that a customer should be aware of but won't cause serious problems if it's ignored.
245
+
* WARNING is for information that a customer needs to obey to avoid data loss or other critical failures.
246
+
====
247
+
248
+
[source]
249
+
----
60
250
61
251
[NOTE]
62
252
====
63
-
<sample note formatting; you can use the following admonitions>
253
+
You can use other elements inside an admonition, but don't go overboard.
254
+
We typically use three kinds:
64
255
65
-
* NOTE
66
-
* TIP
67
-
* IMPORTANT
68
-
* CAUTION
69
-
* WARNING
256
+
* NOTE is for information that is useful to know, and can often be just a regular sentence instead.
257
+
* IMPORTANT is for information that a customer should be aware of but won't cause serious problems if it's ignored.
258
+
* WARNING is for information that a customer needs to obey to avoid data loss or other critical failures.
70
259
====
260
+
----
71
261
72
-
.Punctuation <formatting>
262
+
=== Combining block level elements
263
+
264
+
You can chain multiple block-level asciidoc elements together with the plus sign. You'll most often do this with steps and code blocks, so that the code block stays at the same indent level as the instruction text, for example:
265
+
266
+
. Open a terminal and log in to the ROSA CLI using your personal token:
267
+
+
268
+
[source,terminal]
269
+
----
270
+
$ rosa login --token=<your_token>
271
+
----
73
272
74
-
* *Bold Text*
75
-
* _Italicized Text_
76
-
// Line comment
273
+
. Check your ROSA CLI version:
274
+
+
275
+
[source,terminal]
276
+
----
277
+
$ rosa version
278
+
----
77
279
280
+
[source]
281
+
------
78
282
283
+
. Open a terminal and log in to the ROSA CLI using your personal token:
0 commit comments