Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
ce9dd60
Working on #450.
Dec 19, 2022
c00a40e
Run Vale over Design.xml.
Jan 23, 2023
d2cb422
Merge pull request #459 from StyleGuides/daobrien/450-vale-check
daobrien Jan 24, 2023
1de7eec
Ongoing updates for #456
Feb 1, 2023
70453b7
Closes #456
Feb 2, 2023
1e7ae19
s/may/might/ per Julian's review.
Feb 2, 2023
0acc4d3
Merge pull request #462 from StyleGuides/daobrien/456-vale-check
daobrien Feb 2, 2023
d82ff7a
Working on #457 Run Vale of the style guide part 3.
Feb 2, 2023
2733a9c
Closes #457 Run Vale over the style guide, part 3.
Feb 3, 2023
06426b0
Remove spurious space.
Feb 6, 2023
d1a34ef
Merge pull request #464 from StyleGuides/daobrien/457-vale-check
daobrien Feb 8, 2023
bd57d57
Closes #458 Run Vale over style guide part 4.
Feb 9, 2023
a199ab2
Merge pull request #467 from StyleGuides/daobrien/458-vale-check
daobrien Feb 13, 2023
3d9f18c
Closes #365 Remove DocBook references.
Feb 13, 2023
85fc2f4
Closes #78 Update entry for "virtualized".
Feb 13, 2023
3335f18
Closes #355. Improve a bit of formatting.
Feb 13, 2023
10d5f01
Merge pull request #470 from StyleGuides/daobrien/355-app-velocity
daobrien Feb 13, 2023
847e124
Merge pull request #468 from StyleGuides/daobrien/365-remove-docbook-…
mweetman-redhat Feb 13, 2023
f0b0201
Merge pull request #469 from StyleGuides/daobrien/78-update-virtualized
daobrien Mar 10, 2023
c9f5eb8
feat: Add advice on naming the default branch in an inclusive way. (#…
CBID2 Jun 22, 2023
560c4df
Updated section about writing titles (#492)
julian-cable Jun 23, 2023
3993109
Updated guidance on continuation prompts (#494)
julian-cable Jun 30, 2023
05c8e06
Various fixes for 6.1 release (#495)
julian-cable Jul 5, 2023
4a27046
Updated IBM Style access info (#496)
julian-cable Jul 5, 2023
513f647
Updated term entries (#497)
julian-cable Jul 7, 2023
4cd5492
Added guidance on omitting part of an output (#500)
julian-cable Jul 14, 2023
4a0e728
Updated sample names and other small fixes (#502)
julian-cable Jul 21, 2023
02fcf95
Various fixes (#512)
julian-cable Aug 4, 2023
7ccd2bd
Implementing various feedback suggestions from Rachel (#513)
julian-cable Aug 4, 2023
91d9a95
Added more punctuation guidance (#515)
julian-cable Aug 8, 2023
bc18591
Updated audience description (#518)
julian-cable Aug 15, 2023
b6dba5a
Adding information about posessives (#519)
CBID2 Aug 16, 2023
267f8c9
Updated view and edit files section
julian-cable Aug 16, 2023
82b1019
Merge pull request #520 from StyleGuides/jcable/516-docbook-refs
daobrien Aug 17, 2023
0720e2c
Added release notes for 6.1 and updated version information (#522)
julian-cable Aug 22, 2023
f6a12a6
updating homepage (#525)
harpasin Aug 23, 2023
be39016
6.2 quick fixes (#544)
julian-cable Nov 14, 2023
9daece9
Some updates concerning punctuation (#545)
julian-cable Nov 21, 2023
a353d5e
Word usage updates: screenshot, lookup, see/refer to (#546)
julian-cable Nov 23, 2023
0c182df
Line continuation for multiple operating systems (#548)
julian-cable Nov 27, 2023
1fb8f6c
Add 64-bit architecture guidance (#547)
julian-cable Nov 28, 2023
e1f9e88
Updated Boolean guidance and a bug fix (#551)
julian-cable Dec 22, 2023
1d86161
Reworked entries for tar, tarball, untar, unzip, zip (#552)
julian-cable Jan 3, 2024
5ce7b81
Clarify capitalization for table titles (#553)
julian-cable Jan 18, 2024
a74a648
Updates on referring to object names and using realistic usernames (#…
julian-cable Jan 19, 2024
816aeef
Updates for apostrophes and quotation marks (#557)
julian-cable Feb 1, 2024
2b61ea8
Updated guidance about titles (#559)
julian-cable Feb 2, 2024
e8141a2
Footnote update (#560)
harpasin Feb 5, 2024
5061af2
fix(docs): add some build instructions (#562)
alexpdp7 Feb 21, 2024
09d18cf
Corrected some titles to use title case (#563)
julian-cable Feb 26, 2024
338068b
Add release notes and update version info (#564)
julian-cable Feb 26, 2024
16aa548
Merge branch 'master' into dev
julian-cable Feb 27, 2024
1604485
Remove 'check' entry (#579)
julian-cable Jun 21, 2024
c43737e
Add 'sign-in' (#580)
julian-cable Jul 1, 2024
9b08622
Implement suggestions from Ashley D'Andrea (#589)
julian-cable Jul 4, 2024
cf841d4
Add guidance for 'named' and 'called' (#591)
julian-cable Jul 8, 2024
c26613a
Update guidance for 'go to' (#592)
julian-cable Jul 9, 2024
513336f
Add gitignore for untracked files (#590)
jdandrea Jul 9, 2024
15d08be
Update guidance about 'Overview' as a title (#593)
julian-cable Jul 29, 2024
a0cadb8
Clarify guidance for 'lifecycle' (#594)
julian-cable Jul 29, 2024
55be389
Remove yes/no as values for Ansible 'become'
bonnevil Aug 15, 2024
812c304
Edits to address feedback in #600
bonnevil Aug 15, 2024
ca59fa4
Update en-US/Design.xml
rclee33 Aug 19, 2024
28f41d4
Update en-US/Design.xml
rclee33 Aug 19, 2024
c5e3012
fixes two sentences on one line
rclee33 Aug 19, 2024
3fea407
Merge pull request #600 from StyleGuides/sbonnevi/ansible-booleans
rclee33 Aug 19, 2024
5062e48
Update 'dialog box' entry (#603)
julian-cable Aug 20, 2024
578190b
Various fixes (#604)
julian-cable Aug 22, 2024
ce1d2a4
Add 'mission-critical'
julian-cable Aug 29, 2024
3e945ea
Add EPUB
julian-cable Aug 29, 2024
049d569
Implement comments
julian-cable Aug 29, 2024
14d125a
Implement comments
julian-cable Aug 29, 2024
ee70088
Final fix
julian-cable Aug 30, 2024
b6e39ec
Final fix
julian-cable Aug 30, 2024
993e01c
Merge pull request #607 from StyleGuides/jcable/mission-critical-596
daobrien Sep 2, 2024
faa4724
Merge pull request #608 from StyleGuides/jcable/epub-599
daobrien Sep 2, 2024
60c37b7
Update references to IBM Style with links, and remove marketing refer…
julian-cable Sep 13, 2024
8aeba4e
Update IaC (#612)
julian-cable Sep 13, 2024
30a4602
Updates for dashes, terminal, omitting output (#618)
julian-cable Sep 25, 2024
1c6d3f0
Update abstract wording (#619)
julian-cable Sep 25, 2024
11d61ab
Add release notes (#620)
julian-cable Sep 27, 2024
f1cb2a5
Add 'hardened', update 'secure', update omitted output (#621)
julian-cable Oct 3, 2024
e4d7e7e
Use content from dev branch rather than from master in cases of confl…
julian-cable Oct 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*~
.DS_Store
.idea

# editor swap files
.*.sw?

# databases
*.db

# tmp directory
tmp
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
WritingStyleGuide
=================

A guide to writing clear, concise, and consistent technical documentation.
This guide is the official style guide for Red Hat training and certification content, and for all other technical documentation except as stated.
Red Hat product documentation by Customer Content Services (CCS) follows the Red Hat supplementary style guide at https://redhat-documentation.github.io/supplementary-style-guide/ instead of this Red Hat Technical Writing Style Guide.

The Red Hat Style Guide and Word Usage Dictionary is a joint effort by various groups within Red Hat.
The Red Hat Technical Writing Style Guide includes everyday punctuation and grammar, common mistakes to avoid, strategies for translation and global audiences, and a word usage dictionary.

It covers recommended design practices, how to write for translation, common mistakes to avoid, rules for everyday punctuation, grammar, and sources of information for the less common cases.
This guide is a public guide. It is reviewed and maintained by Red Hat. Contributions from the wider community are always welcomed.

It is based on The IBM Style Guide but differs in several key areas, uses the Merriam-Webster Unabridged Dictionary and American Heritage Dictionary as spelling references, and the Chicago Manual of Style (17th Ed.) for further grammatical and style decisions.
Other resources for technical writing are listed in the "Resources" section of the guide.

Dependencies:

```
$ sudo dnf install publican
```

Also, follow the instructions at https://github.com/RedHatTraining/redhat-styleguide-xsl (access for Red Hat only) to build `publican-brand-redhat-*.noarch.rpm` and install that.
Also, follow the instructions at https://github.com/RedHatTraining/redhat-styleguide-xsl (access for Red Hat only) to build `publican-brand-redhat-*.noarch.rpm` and install that.

To build:

Expand Down
24 changes: 21 additions & 3 deletions en-US/Audience.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,34 @@
<title>Audience</title>
<para>
This guide is the official style guide for Red&nbsp;Hat training and certification content, and for all other technical documentation except as stated.
Red&nbsp;Hat product documentation by Customer Content Services (CCS) follows the Red&nbsp;Hat supplementary style guide at <ulink url="https://redhat-documentation.github.io/supplementary-style-guide/" /> instead of this Red&nbsp;Hat Technical Writing Style Guide.
Red&nbsp;Hat product documentation
<!-- by Customer Content Services (CCS) -->
follows the Red&nbsp;Hat supplementary style guide at <ulink url="https://redhat-documentation.github.io/supplementary-style-guide/" /> instead of this guide.
</para>
<para>
The Red&nbsp;Hat Technical Writing Style Guide includes everyday punctuation and grammar, common mistakes to avoid, strategies for translation and global audiences, and a word usage dictionary.
The Red&nbsp;Hat Technical Writing Style Guide includes guidance for everyday punctuation and grammar, common mistakes and how to avoid them, strategies for translation and global audiences, content design guidance, and a word usage dictionary.
</para>
<para>
This guide is a public guide. It is reviewed and maintained by Red&nbsp;Hat. Contributions from the wider community are always welcomed.
This guide is a public and open source guide.
It is reviewed and maintained primarily by Red&nbsp;Hat.
Contributions from the wider community are always welcome.
</para>
<para>
Other resources for technical writing are listed in <xref linkend="resources"/>.
Of these resources,
<ulink url="https://www.ibm.com/docs/en/ibm-style"><citetitle>IBM Style</citetitle></ulink>
<guiicon><inlinemediaobject>
<imageobject>
<imagedata fileref="images/padlock.png"/>
</imageobject>
</inlinemediaobject></guiicon>
is available for Red&nbsp;Hat employees to access online, but does not have a wider circulation.
Links in this guide to <ulink url="https://www.ibm.com/docs/en/ibm-style"><citetitle>IBM Style</citetitle></ulink> are denoted by a padlock icon
<guiicon><inlinemediaobject>
<imageobject>
<imagedata fileref="images/padlock.png"/>
</imageobject>
</inlinemediaobject></guiicon>.
</para>

</section>
Expand Down
19 changes: 15 additions & 4 deletions en-US/B.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<term>big data</term>
<listitem>
<para>
<emphasis>n., adj.</emphasis> Always use lowercase. Do not capitalize except at the beginning of a sentence, or if it is part of a Red&nbsp;Hat product, service, solution, or business unit name. Refer also to <xref linkend="cloud" />. Big data is also never hyphenated, per AP style, even when used as a complex adjective.
<emphasis>n., adj.</emphasis> Always use lowercase. Do not capitalize except at the beginning of a sentence, or if it is part of a Red&nbsp;Hat product, service, solution, or business unit name. Refer also to <xref linkend="cloud" />. Big data is also never hyphenated, even when used as a compound modifier.
</para>

</listitem>
Expand Down Expand Up @@ -227,7 +227,13 @@
Correct. Named after George Boole, who first developed the concept.
</para>
<para>
According to the <citetitle>IBM Style Guide</citetitle>, it is acceptable to use "boolean" (lowercase) in API programming information when it refers to a primitive return type.
According to <ulink url="https://www.ibm.com/docs/en/ibm-style"><citetitle>IBM Style</citetitle></ulink>
<guiicon><inlinemediaobject>
<imageobject>
<imagedata fileref="images/padlock.png"/>
</imageobject>
</inlinemediaobject></guiicon>,
it is acceptable to use "boolean" (lowercase) in API programming information when it refers to a primitive return type.
</para>
<para>
To set Boolean values in YAML files, use <varname>true</varname> or <varname>false</varname>, written lowercase, rather than <varname>yes</varname> or <varname>no</varname>, because YAML&nbsp;1.2 and later versions do not support the latter syntax.
Expand Down Expand Up @@ -312,10 +318,15 @@

</varlistentry>
<varlistentry id="breadcrumb-trail">
<term>breadcrumb trail</term>
<term>breadcrumb, breadcrumb trail</term>
<listitem>
<para>
Refer to the <citetitle>IBM Style Guide</citetitle> for initial guidance on how to use this term.
For initial guidance on how to use this term, refer to <ulink url="https://www.ibm.com/docs/en/ibm-style"><citetitle>IBM Style</citetitle></ulink>
<guiicon><inlinemediaobject>
<imageobject>
<imagedata fileref="images/padlock.png"/>
</imageobject>
</inlinemediaobject></guiicon>.
</para>
<note>
<para>
Expand Down
4 changes: 2 additions & 2 deletions en-US/Book_Design.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<section id="prefaces">
<title>Prefaces</title>
<para>
The brands that form part of Publican contain a preface as part of the common content. Whether your publication is for external Red&nbsp;Hat customers, JBoss customers, internal customers, or whomever, the brand you choose should provide a suitable preface. Try to use the standard preface to help maintain consistency, reduce overhead and maintenance, and also to reduce translation costs. If you feel that the preface fails to meet your needs, consider whether or not you are using the correct brand, or if the brand itself requires an update.
The brands that form part of Publican (<ulink url="https://fedorahosted.org/publican/" />) contain a preface as part of the common content. Whether your publication is for external Red&nbsp;Hat customers, JBoss customers, internal customers, or whomever, the brand you choose should provide a suitable preface. Try to use the standard preface to help maintain consistency, reduce overhead and maintenance, and also to reduce translation costs. If you feel that the preface fails to meet your needs, consider whether or not you are using the correct brand, or if the brand itself requires an update.
</para>

</section>
Expand Down Expand Up @@ -136,7 +136,7 @@
<formalpara id="overview">
<title>Overview</title>
<para>
Do not use "overview" as a title. No justification was found for using it as a title; anywhere that it might be considered is already covered by either better or more common titles.
Use "Overview" in a title only sparingly, and do not use "Overview" as a title on its own. No justification was found for using it as a title; anywhere that it might be considered is already covered by either better or more common titles.
</para>

</formalpara>
Expand Down
2 changes: 1 addition & 1 deletion en-US/Book_Info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!-- Change title to "The Red Hat Style Guide" -->
<productname>Red&nbsp;Hat Technical Writing Style&nbsp;Guide</productname>
<productnumber></productnumber>
<edition>6.2</edition>
<edition>7.0</edition>
<pubsnumber>1</pubsnumber>
<abstract>
<para>
Expand Down
74 changes: 54 additions & 20 deletions en-US/C.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@
<chapter id="c">
<title>C</title>
<variablelist>
<varlistentry id="called">
<term>call, called</term>
<listitem>
<para>
Use to refer to code, programs, or scripts that invoke functions or methods.
For example, "A liveness probe is called throughout the lifetime of the application."
</para>
<para>
On the other hand, when referring to the designation of files, objects, or entities within documentation, use the term "named" instead of "called".
This choice promotes clarity and precision in technical content.
</para>
<para>
Refer also to <xref linkend="named" />.
</para>
</listitem>

</varlistentry>
<varlistentry id="can-may">
<term>can, may</term>
<listitem>
Expand Down Expand Up @@ -46,7 +63,12 @@
When referring to a compact disk, use "CD". For example, "Insert the CD into the CD drive". The plural is "CDs".
</para>
<para>
Refer to the Word Usage chapter of the <citetitle>IBM Style Guide</citetitle> for more information.
For more information, refer to the Word Usage section of <ulink url="https://www.ibm.com/docs/en/ibm-style"><citetitle>IBM Style</citetitle></ulink>
<guiicon><inlinemediaobject>
<imageobject>
<imagedata fileref="images/padlock.png"/>
</imageobject>
</inlinemediaobject></guiicon>.
</para>

</listitem>
Expand Down Expand Up @@ -95,23 +117,12 @@
Do not use "characters" to mean "bytes". In English, bytes and characters can be used interchangeably; in other languages, a single character might consist of multiple bytes.
</para>
<para>
In computer software, any symbol that requires one byte of storage. This includes all the ASCII and extended ASCII characters, including the space character. In character-based software, everything that appears on the screen, including graphics symbols, is considered to be a character. In graphics-based applications, the term character is generally reserved for letters, numbers, and punctuation.
</para>

</listitem>

</varlistentry>
<varlistentry id="check">
<term>check</term>
<listitem>
<para>
Avoid. Use "verify", "ensure", or "read", depending on the context.
In computer software, a character is a symbol, such as a letter or number, that represents information. This includes all the ASCII and extended ASCII characters, including the space character. In character-based software, everything that appears on the screen, including graphics symbols, is considered to be a character. In graphics-based applications, the term character is generally reserved for letters, numbers, and punctuation.
</para>

</listitem>

</varlistentry>

<varlistentry id="chip-set">
<term>chipset</term>
<listitem>
Expand Down Expand Up @@ -153,7 +164,12 @@
</para>
<!-- Added comment about "click on". -->
<para>
Refer to the Word Usage chapter of the <citetitle>IBM Style Guide</citetitle> for more information.
For more information, refer to the Word Usage section of <ulink url="https://www.ibm.com/docs/en/ibm-style"><citetitle>IBM Style</citetitle></ulink>
<guiicon><inlinemediaobject>
<imageobject>
<imagedata fileref="images/padlock.png"/>
</imageobject>
</inlinemediaobject></guiicon>.
</para>

</listitem>
Expand Down Expand Up @@ -244,10 +260,16 @@

</varlistentry>
<varlistentry id="combo-box">
<term>combo-box</term>
<term>combo box</term>
<listitem>
<para>
Do not use as an abbreviation for "combination box". Refer to the relevant entry in the <citetitle>IBM Style Guide</citetitle> for further usage information.
Do not use as an abbreviation for "combination box".
For further usage information, refer to the relevant entry in <ulink url="https://www.ibm.com/docs/en/ibm-style"><citetitle>IBM Style</citetitle></ulink>
<guiicon><inlinemediaobject>
<imageobject>
<imagedata fileref="images/padlock.png"/>
</imageobject>
</inlinemediaobject></guiicon>.
</para>

</listitem>
Expand Down Expand Up @@ -310,10 +332,22 @@

</varlistentry>
<varlistentry id="command-line">
<term>command line, command prompt, command-line</term>
<term>command line, command-line, command prompt</term>
<listitem>
<para>
Refer to the appropriate entries in the <citetitle>IBM Style Guide</citetitle> for an explanation of how to use these terms.
Use "command line" to refer to the place where commands are entered.
Use "command line" as a noun, and use "command-line" as an adjective.
</para>
<para>
For more details about how to use these terms, refer to the appropriate entries in <ulink url="https://www.ibm.com/docs/en/ibm-style"><citetitle>IBM Style</citetitle></ulink>
<guiicon><inlinemediaobject>
<imageobject>
<imagedata fileref="images/padlock.png"/>
</imageobject>
</inlinemediaobject></guiicon>.
</para>
<para>
Refer also to <xref linkend="shell-prompt"/> and to <xref linkend="terminal"/>.
</para>

</listitem>
Expand Down Expand Up @@ -454,8 +488,8 @@
<term>cookie</term>
<listitem>
<para>
<emphasis>n.</emphasis> A message given to a web browser by a web server.
The browser stores the message in a text file named <filename>cookie.txt</filename>.
<emphasis>n.</emphasis> Data that is given to a web browser by a web server.
The browser stores the message in a text file that might be named <filename>cookie.txt</filename>.
The message is then sent back to the server each time the browser requests a page from the server.
</para>

Expand Down
31 changes: 16 additions & 15 deletions en-US/D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
<term>dash</term>
<listitem>
<para>
In technical publications, the <citetitle>IBM Style Guide</citetitle> recommends not to use em&nbsp;dashes or en&nbsp;dashes at all. Use a colon or other suitable punctuation.
Use a dash to show a range, such as for page numbers, letters, pages, or dates.
Otherwise, do not use dashes in technical content.
Instead, use other punctuation marks, such as commas, parentheses, or a colon.
</para>

</listitem>
Expand All @@ -35,13 +37,13 @@
<para>
<emphasis>n.</emphasis> Use the two-word form unless referring to a product name or other proper noun where the one-word form is used.
</para>
<warning>
<!-- <warning>
<title>Marketing Publications Exception</title>
<para>
In marketing publications, use the one-word form of this term unless referring to a product name or other proper noun where the two-word form is used.
</para>

</warning>
</warning> -->

</listitem>

Expand All @@ -62,13 +64,13 @@
<para>
<emphasis>n.</emphasis> Use the two-word form.
</para>
<warning>
<!-- <warning>
<title>Marketing Publications Exception</title>
<para>
In marketing publications, the one-word form is recommended.
</para>

</warning>
</warning> -->

</listitem>

Expand All @@ -87,15 +89,8 @@
<term>data store, datastore</term>
<listitem>
<para>
<emphasis>n.</emphasis> Use the two-word form.
<emphasis>n.</emphasis> Write as two words, except in a VMware context where the one-word form is required.
</para>
<warning>
<title>Marketing Publications Exception</title>
<para>
In marketing publications, the one-word form is recommended.
</para>

</warning>

</listitem>

Expand Down Expand Up @@ -189,7 +184,13 @@
<term>dialog box</term>
<listitem>
<para>
Refer to the Word Usage chapter of the <citetitle>IBM Style Guide</citetitle> for usage information related to this and similar terms.
<emphasis>n.</emphasis> Use "dialog box" (<emphasis>not</emphasis> "dialog", "dialogue", or "dialogue box"), to refer to an element that is displayed for a user to interact with a graphical user interface.
</para>
<para>
Use this term regardless of whether a dialog box is <emphasis>modal</emphasis>, where the user must respond to a prompt before the main content of the interface is enabled again, or is <emphasis>non-modal</emphasis>, where the user can continue interacting with the main content when the dialog box is open.
</para>
<para>
For example: "In the <guilabel>Subscriptions</guilabel> window, click <guilabel>Register</guilabel> to open the <guilabel>Register System</guilabel> dialog box."
</para>

</listitem>
Expand Down Expand Up @@ -231,7 +232,7 @@
<term>disk, disc</term>
<listitem>
<para>
Use "compact disc" or "hard disk". Refer to the <citetitle>IBM Style Guide</citetitle> for more information and example use cases.
Use "compact disc" or "hard disk".
</para>
<!-- Removed reference to "diskette". -->

Expand Down
Loading