docs/lang/articles/contribution/style_guide_en.md
This is a reference for the developers and users at Taichi community to improve their writing and the consistency of Taichi's documentation. You can find detailed style, usage, and grammar in the following sections.
Avoid the following:
Abbreviations are the shortened version of a word or phrase used to represent the whole. Examples include "s" for "seconds,” "approx." for "approximately," and "e.g." for "exempli gratia" (meaning "for example"). Abbreviations and acronyms can affect the clarity of Taichi content for the reader. While many are understood by our readers and do not need to be spelled out, for new or novel terms always spell out the first mention of an abbreviated term in the text, followed immediately by the abbreviation in parentheses . Use the abbreviated form for all subsequent references of the abbreviation on the same page.
Do not use Latin abbreviations in your technical writing. Many abbreviations derived from Latin are used in written English. Examples include "e.g." for "exempli gratia" (meaning "for example"), "i.e." for "id est" (meaning "in other words"), and "etc." for "et cetera" (meaning "and the other things"). Plain language principles suggest avoiding these abbreviated terms.
Do not use contractions except in FAQs. A contraction is a word or phrase that is shortened by dropping one or more letters. Examples include "aren't" for "are not", "let's" for "let us", and "can’t” for “cannot”. While any native English reader understands them, they add unnecessary complexity for non-native readers. For example, contractions that end with the letter "s" can be mistaken for possessive nouns. In business communication, the use of contractions is frowned upon as they make the tone of the writing too informal. The only exception to this rule is when you are writing content for an FAQ. The more conversational tone of an FAQ allows for the use of contractions in titles and headers .
"A" and "an" are indefinite articles and are used before a singular countable noun. They refer to any member of a group. "The" is a definite article. It is used before singular and plural nouns and refers to one or more particular members of a group. Sound rule for using "a" and "an" The way a word or acronym is spoken determines whether "a" or "an" precedes it. Use "a" before a word that starts with a consonant sound, and "an" for words that begin with a vowel sound. For example "a URL", and "an SDK".
An expletive is an added word or phrase that does not contribute meaning to the sentence. The most common expletives are "there are" and "there is".
Use the imperative mood for task steps or a command line, a shell command for example. Use third person singular for a description of an API method. The imperative mood keeps the content concise. The direct address is more personal.
Plagiarism puts the firm in a questionable position. Ensure that you do not copy and paste anything that you find from an online search to our technical documentation. As a tip, you can paraphrase contents that you find online.
Headings assist the reader in scanning content, helping them discover exactly what they are seeking. They provide structure and are visual points of reference for the reader. Use headers to help outline your draft content. Some other points for consideration:
When referencing something specific (such as a unit of measure) in a table header, do not repeat it in the cells in that column. For example, if a table column header uses “Kbps”, then there is no need to repeat it in the cells for that column.
Provides supplemental information that may not apply to all readers, but is important for those specific readers to know. Wrap the notes in: :::note This is a note. :::
Suggests proceeding with caution. Wrap the notes in :::caution WARNING This is a warning. :::
Designed to guide the reader away from a circumstance that poses some form of problem or hazard. Stronger than a Caution; it means "Don't do this." Wrap the notes in: :::danger DANGER This is a danger! :::
Comments: In a list of three or more items, add a comma before the conjunction。
Comments:
Avoid repetitive information in a bullet list.
Comments:
Comments:
Comments:
Use simple verbs. A noun phrase, for example "make use of", is usually wordier than its original verb form, in this case "use".
Comments:
"Less" describes uncountable noun; "fewer" describes countable noun.
Comments:
Address your audience directly by using "you".
Comments:
Comments:
Comments:
Comments:
Comments:
Not recommended: Start the Prometheus server, with the --config.file flag pointing to the configuration file: $ ./prometheus --config.file=prometheus.yml
Recommended: Start the Prometheus server and specify the configuration file: $ ./prometheus --config.file=prometheus.yml
Comments:
Comments:
Comments:
Comments:
Comments:
Comments: