Skip to content

Proposal: create a style guide to ensure consistency in documentation #6672

Description

@pottekkat

Current State

The current docs are written by multiple individual contributors often having different styles.

There isn't any enforced style for documentation that the contributors can refer to.

Desired State

Create a style guide that defines a style to follow while contributing to documentation.

All additions and modifications to the documentation is expected to follow the guidelines mentioned in this style guide.

We could follow/fork a standard guide like the one for Google developer documentation and add guides specific to our project.

Some of the areas where I think we need to decide the style are mentioned below:

  1. Whether or not to capitalise component names like Route/route, Plugin/plugin while internally referencing them.
  2. Whether/where to use sample values/variables in code snippets or provide a placeholder value.
  3. How to highlight significant points? When should we use Admonitions?
  4. What other Docusaurus features should we use and when? (Ex Code Highlighting)
  5. Is it Apache APISIX or just APISIX when referring in docs?
  6. How to link internal documents? Relative paths? Full path from root? How to link files in multiple repos?
  7. Title case or sentence case for headings.

Please add any other areas where style should be consistent. There is another open issue to be worked in parallel for the Chinese documentation: #6651

Metadata

Metadata

Assignees

Labels

discussdocDocumentation things

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions