Skip to content

[📑 Docs]: create AsyncAPI Docs Style Guide #1683

@quetzalliwrites

Description

@quetzalliwrites

What Dev Docs changes are you proposing?

Let's finally get around to creating, designing, and incorporating an AsyncAPI Style Guide!

Why the need?

In tech jobs, we often focus on our technology's technical aspects, such as functionality and performance. However, the documentation for our technology is equally important to the code itself. A style guide ensures consistency and clarity, establishes a consistent voice and tone in your documentation, makes it easier for multiple writers to work together on a single doc, and helps ensure documentation is accurate and up-to-date. When all of your technical writers follow the same guidelines, it's easier for readers to find the information they need and understand how to use your product or OSS technology.

Where should the AsyncAPI Style Guide live?

My vote 🗳 is to put in under our soon-to-be added NEW content bucket, Community. An AsyncAPI Style Guide is a Community resource, so it makes sense to be under the Community content bucket.

What should the AsyncAPI Style Guide include?

  1. About this guide: welcome docs contributors, detail your needs, and mention goals for your documentation.
  2. Accessibility: Teach accessibility best practices for adding images, diagrams, colors, patterns, alt-text, and writing for audiences of all levels (docs should make sense to anyone new to your technology).
  3. Code examples: include comments explaining each line of code; determine colors and formatting applied to code blocks in your docs.
  4. Content buckets explanation: Your content organization should be determined by how you structure documentation via designated content buckets (i.e., Diátaxis framework). Explain to your readers what each content bucket is for and the appropriate writing style for that area.
  5. Docs Contribution Guidelines: Don’t leave technical writers clueless about contributing to your docs! They must understand content selection, prioritization, review processes, and releases.
  6. Inclusive language: Inclusive language enables everyone in your organization to feel valued, respected, and able to contribute their talents. Some examples:
  • main v.s. master
  • allowlist/denylist v.s. whitelist/blacklist
  • placeholder data v.s. dummy data
  • gender-neutral (EX: they/them v.s. he/him)
  1. Voice & Tone: Your brand may be informal or a little bit on the serious side. Do you want emoji use in your Docs? Don’t forget to include writing style tips for keeping Docs easy to read and understand.
  2. Grammar: Define guidelines for abbreviations and acronyms, active voice, capitalization, spelling, verb tense, etc.
  3. Numbers: Define guidelines for numbers and words, commas in numbers, number ranges, etc.
  4. Punctuation: Define guidelines for the Oxford comma, semi-colons, colons, dashes, hyphens, etc.
  5. Formatting: Define guidelines for formatting notes and warning blocks, code blocks, white space, etc.
  6. Internalization (i18n) & Localization: Docs should meet the language and cultural needs of new regions and multiple locales. (future goal, for when AsyncAPI has incorporated i18n)
  7. Links: Design link structure in text, assets, external links, etc.
  8. SEO: Identify best SEO practices for headers, URL structure, alt-text, etc.
  9. Styling: Design your styling requirements for CSS code, font size, markdown, lists, images, diagrams, tables, etc.
  10. Version Control: Explain how version control is incorporated for AsyncAPI because docs will consistently undergo much revision and redrafting. Understanding version control in docs helps us to track changes and identify when key decisions were made along the way.
  11. Glossary: A glossary can help to ensure consistency in the use of terminology throughout your documentation, which can improve clarity and comprehension for readers. The guidelines can include instructions on the types of terms to include, how to define and format them, and how to maintain and update the glossary over time. (Source: OpenAI's ChatGPT)

Extra Resources


Tasks to be assigned:

Code of Conduct

  • I agree to follow this project's Code of Conduct

Sub-issues

Metadata

Metadata

Labels

area/docsSpecify what technical area given issue relates to. Its goal is to ease filtering good first issues.📑 docs

Type

No type

Projects

Status

Done 🚀

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions