Skip to content

Commit a14c6d8

Browse files
authored
Merge pull request #175 from StyleGuides/master
Merge Master to dev with major reorg
2 parents 473a92d + b96bb42 commit a14c6d8

1,463 files changed

Lines changed: 102 additions & 257 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
### WritingStyleGuide
2-
1+
WritingStyleGuide
2+
=================
33

44
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.
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ header img {
7171

7272
footer {
7373
background-color: #333;
74-
padding: 1ex 0 0 0;
7574
position: fixed;
7675
bottom: 0;
7776
width: 100%;
@@ -107,7 +106,3 @@ footer div p {
107106
footer div p:nth-of-type(2) {
108107
display:none;
109108
}
110-
111-
.social {
112-
width: 18em;
113-
}

www/css/style.css renamed to css/style.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,3 @@ footer div {
113113
.fa-twitter .fa-github .fa-hashtag {
114114
font-family: 'awesome';
115115
}
116-
117-
.social {
118-
width: 36em;
119-
}

en-US/Design.xml

Lines changed: 71 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -332,69 +332,62 @@ $ vi myFile.txt
332332
<para>
333333
Many examples in Red&nbsp;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&nbsp;Hat recommends the following.
334334
</para>
335-
336-
<para>
337-
Use <ulink url="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 <ulink url="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:
360+
</para>
352361

353362
<screen><prompt>[root@fedora ~]# </prompt><userinput>setfacl -m u:user1:rw /project/file1</userinput></screen>
354-
<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>
370363
<para>
371-
The following list provides further alternatives to the base user names:
364+
The following list provides further alternatives:
372365
</para>
373366
<itemizedlist>
374367
<listitem>
375368
<para>
376369
<systemitem>operator1</systemitem> to <systemitem>operator9</systemitem>
377370
</para>
371+
378372
</listitem>
379373
<listitem>
380374
<para>
381375
<systemitem>developer1</systemitem> to <systemitem>developer9</systemitem>
382376
</para>
377+
383378
</listitem>
384379
<listitem>
385380
<para>
386381
<systemitem>architect1</systemitem> to <systemitem>architect9</systemitem>
387382
</para>
383+
388384
</listitem>
385+
389386
</itemizedlist>
390387

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>
398391
<section id="using-extended-names">
399392
<title>Using Extended User and Group Names</title>
400393
<para>
@@ -541,29 +534,24 @@ $ vi myFile.txt
541534
<section id="product-names">
542535
<title>Using Company, Product, and Brand Names Correctly</title>
543536
<para>
544-
A number of restrictions apply to using company, product, and brand names in Red&nbsp;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&nbsp;Hat documentation. Refer to internal sources for further conditions that might apply to your own products.
546538
</para>
547539
<note>
548540
<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."
551542
</para>
552543

553544
</note>
554545
<itemizedlist>
555546
<listitem>
556547
<para>
557-
Restrictions apply to abbreviating Red&nbsp;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&nbsp;Hat OpenShift Container Platform, you can omit "Red&nbsp;Hat" after the first use.
548+
Restrictions apply to abbreviating Red&nbsp;Hat product or solution names in public-facing documents. Always use the full name on first use. For some products, for example Red&nbsp;Hat OpenShift Container Platform, you can omit "Red&nbsp;Hat" after the first use.
560549
</para>
561550

562551
</listitem>
563552
<listitem>
564553
<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.
567555
</para>
568556

569557
</listitem>
@@ -575,9 +563,7 @@ $ vi myFile.txt
575563
</listitem>
576564
<listitem>
577565
<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.
581567
</para>
582568
<para>
583569
If you are working with images or other objects where space is especially tight, this rule is more flexible, but "Red&nbsp;Hat" should never be broken over two lines.
@@ -586,19 +572,18 @@ $ vi myFile.txt
586572
</listitem>
587573
<listitem>
588574
<para>
589-
Do not use non-breaking spaces between "Red&nbsp;Hat" and any product name.
590-
Consider the following examples:
575+
Do not use non-breaking spaces between "Red&nbsp;Hat" and any product name. Consider the following examples:
591576
</para>
592577
<itemizedlist>
593578
<listitem>
594579
<para>
595-
Standardize on Red<emphasis role="bold">&amp;nbsp;</emphasis>Hat Enterprise<emphasis role="bold">&amp;nbsp;</emphasis>Linux.
580+
Standardize on Red&amp;nbsp;Hat Enterprise&amp;nbsp;Linux.
596581
</para>
597582

598583
</listitem>
599584
<listitem>
600585
<para>
601-
The latest version is Red<emphasis role="bold">&amp;nbsp;</emphasis>Hat Enterprise<emphasis role="bold">&amp;nbsp;</emphasis>Linux<emphasis role="bold">&amp;nbsp;</emphasis>7.0
586+
The latest version is Red&amp;nbsp;Hat Enterprise&amp;nbsp;Linux&amp;nbsp;7.0
602587
</para>
603588

604589
</listitem>
@@ -608,8 +593,7 @@ $ vi myFile.txt
608593
</listitem>
609594
<listitem>
610595
<para>
611-
Do not use non-breaking spaces between extended components of Red&nbsp;Hat product names.
612-
For example, "Red&nbsp;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&nbsp;Hat product names. For example, "Red&nbsp;Hat Enterprise&nbsp;Linux OpenStack Platform" does not require a non-breaking space between "Linux" and "OpenStack" nor between "OpenStack" and "Platform."
613597
</para>
614598

615599
</listitem>
@@ -621,13 +605,11 @@ $ vi myFile.txt
621605
</listitem>
622606
<listitem>
623607
<para>
624-
Do not use articles in front of product names.
625-
For example, do not write "the Red&nbsp;Hat Process Automation Manager provides..."
608+
Do not use articles in front of product names. For example, do not write "the JBoss Enterprise&nbsp;Application&nbsp;Platform was..."
626609
</para>
627610
<note>
628611
<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.
631613
</para>
632614

633615
</note>
@@ -640,23 +622,29 @@ $ vi myFile.txt
640622
<section id="version-numbers">
641623
<title>Using Version Numbers Correctly</title>
642624
<para>
643-
The preferred format for product names includes only the major version number.
644-
For example, Red&nbsp;Hat Enterprise&nbsp;Linux&nbsp;8.
645-
</para>
625+
The preferred format for product names includes only the major version number. For example:
626+
<itemizedlist>
627+
<listitem>
628+
<para>
629+
Red&nbsp;Hat Enterprise&nbsp;Linux&nbsp;7
630+
</para>
631+
632+
</listitem>
633+
<listitem>
634+
<para>
635+
JBoss Enterprise&nbsp;Application&nbsp;Platform&nbsp;3
636+
</para>
637+
638+
</listitem>
639+
640+
</itemizedlist>
646641

647-
<para>
648-
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.
650642
</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&nbsp;Hat Enterprise&nbsp;Linux&nbsp;6.0.
654-
Use instead Red&nbsp;Hat Enterprise&nbsp;Linux&nbsp;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.
655645
</para>
656646
<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:
660648
<itemizedlist>
661649
<listitem>
662650
<para>
@@ -666,22 +654,23 @@ $ vi myFile.txt
666654
</listitem>
667655
<listitem>
668656
<para>
669-
&lt;Application name&gt; was first included in Red&nbsp;Hat Satellite&nbsp;Server&nbsp;6.6.
657+
&lt;Application name&gt; was first included in JBoss Enterprise&nbsp;Application&nbsp;Platform&nbsp;3.2.
670658
</para>
671659

672660
</listitem>
673661

674662
</itemizedlist>
675663

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>
676668
<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&nbsp;Hat Enterprise&nbsp;Linux&nbsp;6.0. Use instead Red&nbsp;Hat Enterprise&nbsp;Linux&nbsp;6.
679670
</para>
680-
681671
<important>
682672
<para>
683-
This rule only applies to Red&nbsp;Hat products.
684-
Refer to other companies' products and use their version numbers as they use them.
673+
This rule only applies to Red&nbsp;Hat products. Refer to other companies' products and use their version numbers as they use them.
685674
</para>
686675

687676
</important>

en-US/M.xml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244

245245
</varlistentry>
246246
<varlistentry id="ms-dos">
247-
<term>MS-DOS</term>
247+
<term>MDOS</term>
248248
<listitem>
249249
<para>
250250
Correct. Do not use "ms-dos," "MSDOS," or "msdos."
@@ -253,24 +253,6 @@
253253
</listitem>
254254

255255
</varlistentry>
256-
<varlistentry id="multicloud">
257-
<term role="true">multicloud</term>
258-
<term role="false">multi-cloud</term>
259-
<term role="false">multi cloud</term>
260-
<listitem>
261-
<para>
262-
<emphasis>n.</emphasis> Use "multicloud" in all cases.
263-
Capitalize only at the beginning of a sentence.
264-
Do not use "multi-cloud" or "multi cloud."
265-
</para>
266-
<para>
267-
Multicloud is a cloud approach made up of more than one cloud service, from more than one cloud vendor, either public or private.
268-
</para>
269-
<para>
270-
See <ulink url="https://www.redhat.com/en/topics/cloud-computing/what-is-multicloud"></ulink> for more information.
271-
</para>
272-
</listitem>
273-
</varlistentry>
274256
<varlistentry id="multiprocessing">
275257
<term>multiprocessing</term>
276258
<listitem>
@@ -291,13 +273,11 @@
291273
</listitem>
292274

293275
</varlistentry>
294-
<varlistentry id="mutex">
295-
<term>mutex</term>
276+
<varlistentry id="mutexes">
277+
<term>Mutexes</term>
296278
<listitem>
297279
<para>
298-
<emphasis>n.</emphasis> In computer science, "mutex" is an abbreviation of "mutual exclusion."
299-
It is not usually expanded except to introduce or explain the concept.
300-
The plural form is "mutexes."
280+
Correct. "Mutex" is an abbreviation of "mutual exclusion." Consequently, "mutexes" is the correct plural form.
301281
</para>
302282

303283
</listitem>

0 commit comments

Comments
 (0)