Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.86 KB

GUIDELINES.md

File metadata and controls

36 lines (23 loc) · 1.86 KB

Writing documentation guidelines

Tooling

  • Grammarly - everything you write goes through our editing process, but we would appreciate it if you used Grammarly for spell-checking. We recommend installing the VS Code extension. If you are a Saleor team member, login with your work email to join the organization.
  • Hemingway App - for extra clarity, we recommend using the excellent Hemingway App. It mainly helps with evaluating the complexity of sentences.

Content

Titles

Titles should follow The Chicago Manual of Style. This includes both the sidebar labels and the titles of the pages.

Avoid using passive voice

We are writing tutorials and instructions, so it's more suitable to talk directly to the users.

- Bad: The command "npm i -g @saleor/cli" must be executed before...
+ Good: You must execute the command "npm i -g @saleor/cli" before...

Screenshots

Try not to use screenshots. Screenshots come at a high maintenance cost because they tend to go out of date quickly. If we need a screenshot to explain something, it's possible we could be doing a better job at describing it, or our UX could be better. Only if we can't do anything about it, a screenshot is fine.

Checklist

Things to check before publishing:

  • - proper nouns are capitalized. Some common cases include:
    • GraphQL, not graphql, Graphql, graphQl
    • GitHub, not Github, github
  • - snippets and screenshots are up to date (especially when documentation is being written in parallel with the feature development)
  • - the technical names/variables are consistently formatted with a code block
  • - each mention of another page in the documentation is linked