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
A guide to writing clear, concise, and consistent technical documentation.
5
-
6
-
The latest release of the guide is available at [The Red Hat Style Guide](http://stylepedia.net/style/)
7
-
8
-
### Development and Release Process
9
-
10
-
Patches or pull requests are always welcome, but need to be reviewed before they are merged and eventually published.
11
-
12
-
All development occurs in the `dev` branch.
13
-
14
-
The `master` branch is always considered deployable, but is typically only published on a monthly basis. This is to maintain a controlled rollout environment and to limit confusion as to which styles and standards apply.
Copy file name to clipboardExpand all lines: en-US/Design.xml
+71-82Lines changed: 71 additions & 82 deletions
Original file line number
Diff line number
Diff line change
@@ -332,69 +332,62 @@ $ vi myFile.txt
332
332
<para>
333
333
Many examples in Red Hat documentation require the use of user names, host names, IP addresses, and similar information. In an effort to reduce security risks, to minimize translation overhead, and to maintain consistency, Red Hat recommends the following.
334
334
</para>
335
-
336
-
<para>
337
-
Use <ulinkurl="http://tools.ietf.org/search/rfc2606">RFC 2606</ulink> to determine suitable domain names. For documentation and example purposes, this is typically <systemitem>example.com</systemitem>, <systemitem>example.net</systemitem>, <systemitem>example.org</systemitem>, and <systemitem>example.edu</systemitem>.
338
-
</para>
339
-
340
-
<important>
341
-
<para>
342
-
Do not use valid, public IP addresses in any examples.
343
-
</para>
344
-
</important>
345
-
346
-
<para>
347
-
As much as possible, use <systemitem>user</systemitem>, <systemitem>username</systemitem>, <systemitem>root</systemitem>, <systemitem>admin</systemitem>, or similar names to identify classes of users.
348
-
</para>
349
-
<para>
350
-
Use these generic names when you refer to users outside of a case study. This helps students identify which part of a command can and should be replaced by establishing a consistent format for names of users and system items. For example:
351
-
</para>
335
+
<note>
336
+
<para>
337
+
All names are lowercase. Do not use white space in any part of the name.
338
+
</para>
339
+
340
+
</note>
341
+
<itemizedlist>
342
+
<listitem>
343
+
<para>
344
+
Use <ulinkurl="http://tools.ietf.org/search/rfc2606">RFC 2606</ulink> to determine suitable domain names. For documentation and example purposes, this is typically <systemitem>example.com</systemitem>, <systemitem>example.net</systemitem>, <systemitem>example.org</systemitem>, and <systemitem>example.edu</systemitem>.
345
+
</para>
346
+
<important>
347
+
<para>
348
+
Do not use valid, public IP addresses in any examples.
349
+
</para>
350
+
351
+
</important>
352
+
353
+
</listitem>
354
+
<listitem>
355
+
<para>
356
+
As much as possible, use <systemitem>user</systemitem>, <systemitem>username</systemitem>, <systemitem>root</systemitem>, <systemitem>admin</systemitem>, or similar names to identify classes of users.
357
+
</para>
358
+
<para>
359
+
Use these generic names when you refer to users outside of a case study. This helps students identify which part of a command can and should be replaced by establishing a consistent format for names of users and system items. For example:
<section><title>Referring to Administrative Users</title>
355
-
<para>
356
-
Be as explicit as possible when referring to administrative users.
357
-
Many products include a default user that has administrative privileges, but is not necessarily named "admin," for example the <systemitem>kubeadmin</systemitem> user in Kubernetes/OpenShift.
358
-
</para>
359
-
<para>
360
-
Moreover, in many products, only the RBAC model dictates what constitutes an administrative user.
361
-
In these products, you can assign the appropriate RBAC (role) bindings to regular users to promote them to an administrative user.
362
-
</para>
363
-
<para>
364
-
In these scenarios, refer to the user as follows:
365
-
</para>
366
-
<screen>Connect as the <code>admin</code> user, who has administrative privileges.</screen>
367
-
</section>
368
-
369
-
<section><title>Alternative User Names</title>
370
363
<para>
371
-
The following list provides further alternatives to the base user names:
364
+
The following list provides further alternatives:
372
365
</para>
373
366
<itemizedlist>
374
367
<listitem>
375
368
<para>
376
369
<systemitem>operator1</systemitem> to <systemitem>operator9</systemitem>
377
370
</para>
371
+
378
372
</listitem>
379
373
<listitem>
380
374
<para>
381
375
<systemitem>developer1</systemitem> to <systemitem>developer9</systemitem>
382
376
</para>
377
+
383
378
</listitem>
384
379
<listitem>
385
380
<para>
386
381
<systemitem>architect1</systemitem> to <systemitem>architect9</systemitem>
387
382
</para>
383
+
388
384
</listitem>
385
+
389
386
</itemizedlist>
390
387
391
-
<note>
392
-
<para>
393
-
All names are lowercase. Do not use white space in any part of the name.
394
-
</para>
395
-
</note>
396
-
</section>
397
-
388
+
</listitem>
389
+
390
+
</itemizedlist>
398
391
<sectionid="using-extended-names">
399
392
<title>Using Extended User and Group Names</title>
400
393
<para>
@@ -541,29 +534,24 @@ $ vi myFile.txt
541
534
<sectionid="product-names">
542
535
<title>Using Company, Product, and Brand Names Correctly</title>
543
536
<para>
544
-
A number of restrictions apply to using company, product, and brand names in Red Hat documentation.
545
-
Refer to the <citetitle>Master Products and Solutions List</citetitle> or your own internal sources for further conditions that might apply to your own products.
537
+
A number of restrictions apply to using company, product, and brand names in Red Hat documentation. Refer to internal sources for further conditions that might apply to your own products.
546
538
</para>
547
539
<note>
548
540
<para>
549
-
In the following sections, "first use" refers to the first use of a name in body text.
550
-
Titles, banners, and similar objects are not classified as "first use."
541
+
In the following sections, "first use" refers to the first use of a name in body text. Titles, banners, and similar objects are not classified as "first use."
551
542
</para>
552
543
553
544
</note>
554
545
<itemizedlist>
555
546
<listitem>
556
547
<para>
557
-
Restrictions apply to abbreviating Red Hat product or solution names in public-facing documents.
558
-
Always use the full name on first use.
559
-
For some products, for example Red Hat OpenShift Container Platform, you can omit "Red Hat" after the first use.
548
+
Restrictions apply to abbreviating Red Hat product or solution names in public-facing documents. Always use the full name on first use. For some products, for example Red Hat OpenShift Container Platform, you can omit "Red Hat" after the first use.
560
549
</para>
561
550
562
551
</listitem>
563
552
<listitem>
564
553
<para>
565
-
Further restrictions apply to using acronyms and initialisms.
566
-
In this same example, and only in technical documentation, "RHOCP" is acceptable after the first use of the full product name.
554
+
Further restrictions apply to using acronyms and initialisms. In this same example, and only in technical documentation, "RHOCP" is acceptable after the first use of the full product name.
567
555
</para>
568
556
569
557
</listitem>
@@ -575,9 +563,7 @@ $ vi myFile.txt
575
563
</listitem>
576
564
<listitem>
577
565
<para>
578
-
Use non-breaking spaces to avoid breaking the company name over multiple lines.
579
-
This also applies to product names and their versions.
580
-
For example, use a non-breaking space between "Red" and "Hat," and also between "Enterprise," "Linux," and the version number.
566
+
Use non-breaking spaces to avoid breaking the company name over multiple lines. This also applies to product names and their versions. For example, use a non-breaking space between "Red" and "Hat," and also between "Enterprise," "Linux," and the version number.
581
567
</para>
582
568
<para>
583
569
If you are working with images or other objects where space is especially tight, this rule is more flexible, but "Red Hat" should never be broken over two lines.
@@ -586,19 +572,18 @@ $ vi myFile.txt
586
572
</listitem>
587
573
<listitem>
588
574
<para>
589
-
Do not use non-breaking spaces between "Red Hat" and any product name.
590
-
Consider the following examples:
575
+
Do not use non-breaking spaces between "Red Hat" and any product name. Consider the following examples:
591
576
</para>
592
577
<itemizedlist>
593
578
<listitem>
594
579
<para>
595
-
Standardize on Red<emphasisrole="bold">&nbsp;</emphasis>Hat Enterprise<emphasisrole="bold">&nbsp;</emphasis>Linux.
580
+
Standardize on Red&nbsp;Hat Enterprise&nbsp;Linux.
596
581
</para>
597
582
598
583
</listitem>
599
584
<listitem>
600
585
<para>
601
-
The latest version is Red<emphasisrole="bold">&nbsp;</emphasis>Hat Enterprise<emphasisrole="bold">&nbsp;</emphasis>Linux<emphasisrole="bold">&nbsp;</emphasis>7.0
586
+
The latest version is Red&nbsp;Hat Enterprise&nbsp;Linux&nbsp;7.0
602
587
</para>
603
588
604
589
</listitem>
@@ -608,8 +593,7 @@ $ vi myFile.txt
608
593
</listitem>
609
594
<listitem>
610
595
<para>
611
-
Do not use non-breaking spaces between extended components of Red Hat product names.
612
-
For example, "Red Hat OpenStack Platform" does not require a non-breaking space between "OpenStack" and "Platform."
596
+
Do not use non-breaking spaces between extended components of Red Hat product names. For example, "Red Hat Enterprise Linux OpenStack Platform" does not require a non-breaking space between "Linux" and "OpenStack" nor between "OpenStack" and "Platform."
613
597
</para>
614
598
615
599
</listitem>
@@ -621,13 +605,11 @@ $ vi myFile.txt
621
605
</listitem>
622
606
<listitem>
623
607
<para>
624
-
Do not use articles in front of product names.
625
-
For example, do not write "the Red Hat Process Automation Manager provides..."
608
+
Do not use articles in front of product names. For example, do not write "the JBoss Enterprise Application Platform was..."
626
609
</para>
627
610
<note>
628
611
<para>
629
-
In this case, "Manager" is part of the product name.
630
-
In other cases, words like "platform," "manager," and so on may not be part of the product name, in which case an article is acceptable, if not necessary.
612
+
In this case, "Platform" is part of the product name. In other cases, words like "platform," "manager," and so on may not be part of the product name, in which case an article is acceptable, if not necessary.
631
613
</para>
632
614
633
615
</note>
@@ -640,23 +622,29 @@ $ vi myFile.txt
640
622
<sectionid="version-numbers">
641
623
<title>Using Version Numbers Correctly</title>
642
624
<para>
643
-
The preferred format for product names includes only the major version number.
644
-
For example, Red Hat Enterprise Linux 8.
645
-
</para>
625
+
The preferred format for product names includes only the major version number. For example:
When writing about a product line, product release, or product family, use major version numbers.
649
-
This includes all the releases (past, present, and future) of that major version.
650
642
</para>
651
-
<para>
652
-
With the exception of the cases listed below, avoid using the "dot-oh" release number.
653
-
For example, do not use Red Hat Enterprise Linux 6.0.
654
-
Use instead Red Hat Enterprise Linux 6.
643
+
<para>
644
+
When writing about a product line, product release, or product family, use major version numbers. This includes all the releases (past, present, and future) of that major version.
655
645
</para>
656
646
<para>
657
-
Only use minor version numbers when you are referring to a specific minor release, or to a feature that is specific to that minor release.
658
-
For example:
659
-
</para>
647
+
Only use minor version numbers when you are referring to a specific minor release, or to a feature that is specific to that minor release. For example:
660
648
<itemizedlist>
661
649
<listitem>
662
650
<para>
@@ -666,22 +654,23 @@ $ vi myFile.txt
666
654
</listitem>
667
655
<listitem>
668
656
<para>
669
-
<Application name> was first included in Red Hat Satellite Server 6.6.
657
+
<Application name> was first included in JBoss Enterprise Application Platform 3.2.
670
658
</para>
671
659
672
660
</listitem>
673
661
674
662
</itemizedlist>
675
663
664
+
</para>
665
+
<para>
666
+
In most cases, major changes take place in major version releases, and are carried through any minor updates to that release. If you are referring to a major change, or to the first appearance of a new technology, it is therefore most accurate to refer to the major release.
667
+
</para>
676
668
<para>
677
-
In most cases, major changes take place in major version releases, and are carried through any minor updates to that release.
678
-
If you are referring to a major change, or to the first appearance of a new technology, it is therefore most accurate to refer to the major release.
669
+
Avoid using the "dot-oh" release number. For example, do not use Red Hat Enterprise Linux 6.0. Use instead Red Hat Enterprise Linux 6.
679
670
</para>
680
-
681
671
<important>
682
672
<para>
683
-
This rule only applies to Red Hat products.
684
-
Refer to other companies' products and use their version numbers as they use them.
673
+
This rule only applies to Red Hat products. Refer to other companies' products and use their version numbers as they use them.
0 commit comments