-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Description
This is a...
- Feature Request
- Bug Report
Problem:
The current documentation style guide is missing some key information.
The current style guide has some guidelines that I would like to revisit.
Proposed Solution:
Add more guidance in these areas:
-
Use of bold and italics
We say things like "Use bold for user-interface elements." But we don't go on to say "Don't use bold for
anything else." Should our style guide say things like "Don't us bold for general emphasis."? Or "Don't
use bold for anything except ..."? Same question for italics.We say to use italics to introduce a term. I figure that meant to italicize the term when you introduce it,
but not every time it appears on the page. Do we need to spell this out? Here's an example of a new
topic that goes a little crazy with italics: Service Catalog. -
Use of glossary terms
We don't have guidance about how to use glossary terms, but I think we should. Here's a new topic that I think goes overboard with underlined glossary terms: Service Catalog. I think we should have a guideline like this: Use a glossary tag on first mention of a term. Possibly use same glossary tag once for each major section of the document. But don't use the same glossary tag every time a term appears. While we're at it, should we say something like, "Don't capitalize a glossary term just because it's a glossary term". See Service Catalog for weird capitalization of glossary terms.And another thing. We have this capitalization thing built in to some of our glossary definitions:
Service Catalog provides a way to list, provision, and bind with external {% glossary_tooltip text="Managed Services" term_id="managed-service" %} from {% glossary_tooltip text="Service Brokers" term_id="service-broker" %} without needing detailed knowledge about how those services are created or managed.
-
Use of quotes
Should our style guide provide guidance about using quotes? For example, do we want to say
something like "Don't use quotes to introduce a term. Use italics instead."? Or "Avoid air quotes."? -
Word choice
Should our style guide have a section on word choice?
Examples:
Use "may" for permission and "might" for possibility.
Don't use "since" as a replacement for "because". -
Crisp language
Our style guide already has a section called Use simple and direct language.
We give these examples:- Use "to" instead of "in order to".
- Use "See" instead of "Please see".
- Use "View the Pods" instead of "With this next command, we'll view the Pods".
Do we want to expand the list of examples of simple and direct language. For example:
- Use "in" instead of "within".
-
Capitalization of Node
The style guide says to use camel casing for Kubernetes API objects. And we don't try to distinguish between the generic and the specific. For example, we always use Pod, not pod, even if the we're talking generically about the Pods in a cluster. The idea is that it would get too complicated to try to distinguish between the generic and the specific. According to that guideline, we should always use Node, not node ("io.k8s.api.core.v1.Node"). Is the current guideline what we want? Or should we revise the guideline to include generic use of things like nodes?
Revisit these areas:
- Address the reader as "you"
- Don't use "we"
- Jargon and idioms
- Latin phrases
Bring the style guide into alignment with itself.
Example: The copy is called a "fork" should be The copy is called a fork.
Page to Update:
https://kubernetes.io/docs/home/contribute/style-guide/