-
Notifications
You must be signed in to change notification settings - Fork 74
Add general style guidance based on the Release Note Improvement Initiative, Working Group 1 #524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 12 commits
de7bd49
5163cb7
775b014
4452970
d6dc907
f1663f6
deb106b
fb3433c
7aa9d30
b1a5436
f9a5588
4d56dfa
3a01f9e
0edcfbd
6f7d90f
4158b51
6c03ced
c56dbe6
0827427
a95a621
f024ab5
28614e5
0257d1f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,59 @@ | ||
[[release-notes]] | ||
= Release notes | ||
|
||
[[release-notes-doc-texts]] | ||
== Release notes doc texts | ||
A release note explains specific product behavior, capability, or problem relevant to a product version. Release notes for a particular product version are collected in a document that is published when the new version is released. | ||
|
||
A _doc text_ is a short description of an engineering Bugzilla or Jira issue that is published in product Errata advisories and release notes. Engineering typically supplies draft content, which is a summary of the issue, then technical writers edit or rewrite the draft content in accordance with the _IBM Style_ guide. You can write doc texts in more than one way, depending on the issue type: | ||
[[style-advice-for-release-note-texts]] | ||
== Style advice for release note texts | ||
|
||
The normal stylistic guidelines for documentation from the _IBM Style_ guide and the _Red Hat supplementary style guide for product documentation_ apply also to release note texts, particularly the following: | ||
|
||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* When you first mention a utility, package, command, or similar item outside of a heading, define it. Do not assume that the customer is familiar with it. | ||
** Omit the definition in later occurrences. If the context is ambiguous, for example, when the release note text mentions both an `example` package and an `example` service, you can repeat the definition to add clarity. | ||
** Avoid definitions in headings, but you can use them to disambiguate different meanings of the same name. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Do not start a sentence with a word in lowercase. You can repeat a definition to avoid starting a sentence with a lowercase name. See: Capitalization in _IBM Style_. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Expand abbreviations in descriptions. Do not expand abbreviations in headings. See: Abbreviations in _IBM Style_. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* When comparing versions, use "later" and "earlier" instead of "newer" and "older". See: Later in _IBM Style_. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Avoid complicated syntax, such as passive voice and modal verbs, and ambiguous language. For example, replace "Should XY happen" with "If XY happens". | ||
* Keep admonitions to a minimum, and avoid placing multiple admonitions in a single note. Do not begin a release note with an admonition. See xref:admonitions[Admonitions (Red Hat supplementary style guide)]. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Avoid using telegraphic language common in merge requests and changelogs, for example, "Remove deprecated support macros". | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
[[tenses-in-release-notes]] | ||
== Tenses in release notes | ||
|
||
Write the release notes from the perspective of just after the release, which is when most of the customers will read them. The state before the update is in the past, the state after the update is in the present, any future updates are in the future. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
* Use the *simple present tense* as much as possible. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Do not use *future tenses* (or "should" or "might") to describe the state after the update. You can use future tenses to refer to future releases. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Use the *simple past tense* to describe the previous situation before the current update. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* You can use the *present perfect tense* to describe the current update. “With this update, the X component has been removed from the Y package.” | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Follow the CCFR (Cause-Consequence-Fix-Result) tense logic in bug fixes. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Do not use “now” to refer to the state after the update. See: xref::now[Now (RH SSG)]. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
[[headings-for-release-notes]] | ||
== Headings for release notes | ||
|
||
Introduce each release note with a heading that summarizes the release note. This practice helps customers to quickly determine if the release note is relevant to them. | ||
|
||
* The heading can, but does not need to be, a full sentence. Do not use a period at the end of the heading. | ||
* Use _Sentence-style capitalization_ (not _Title Case_). Headings can start with a lowercase letter (such as with a lowercase name of a component). | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
+ | ||
---- | ||
.`start` does not start the computer when `donotstop` is stopped | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd recommend not using AsciiDoc syntax here in this example, because people don't always use the same type of headings for these. For example, on OCP, we use But if you do keep the Asciidoc, please prefix the code block with "Example AsciiDoc: " |
||
---- | ||
|
||
* Keep the heading under 120 characters. Write headings that are informative and specific without being overly long or too short: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This has a colon, but doesn't really give a lead-in to the below subbullets. Recommend adding something.
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
** Follow the specifics for the release notes category. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
** Mention the component in a heading whenever it might not be obvious. | ||
** Be specific; do not over-generalize headings (“Program no longer crashes” or “Program is no longer vulnerable” are over-generalized). | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
* Do not expand abbreviations in headings. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Do not use definitions in headings unless necessary for clarity. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Do not start the heading with a gerund. Use gerunds only for procedural content. See: link:https://www.ibm.com/docs/en/ibm-style?topic=format-headings[Headings (IBM Style)]. | ||
jafiala marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
== Release note categories | ||
|
||
You can write doc texts in more than one way, depending on the issue type: | ||
|
||
* Enhancement | ||
* Bug fix | ||
|
Uh oh!
There was an error while loading. Please reload this page.