Skip to content

Latest commit

 

History

History
90 lines (57 loc) · 3.37 KB

style-guide.md

File metadata and controls

90 lines (57 loc) · 3.37 KB

Score style guide

1.0

Introduction

Welcome to the Score documentation style guide. The intended use of this style guide for project contributors, not necessarily end-users. It provides general guidance to anyone who contributes to the project's documentation.

Intended audience and scope

The purpose of this guide is to help enable project contributors to communicate clearly and consistently in Score's end-user documentation.

Score's preferred style guide

Score's documentation has adopted the following style guide.

Google developer documentation style guide for the Score documentation.

Score's documentation uses standard American spelling and its preferred dictionary is the American Heritage Dictionary.

When writing documentation for the Score documentation, align with the Google developer style guide's voice and tone.

Accessible writing

Write documentation that supports people with disabilities and users with various input methods and devices. Improving accessibility also helps make documentation clearer and more useful for everyone.

For resources on making your writing more accessible, see the following guides.

Inclusive and bias-free writing

When contributing to this project, strive to write documentation with inclusivity and diversity in mind. Inclusive language recognizes diversity and strives to communicate respectfully to all people. This kind of language is sensitive to differences and seeks to promote equal opportunities.

For resources on making your writing more inclusive, see the following guides.

Formatters and linters

This project uses the dprint to format documentation. dprint is a command line application that automatically formats code.

Use dprint to format your documentation.

yarn fmt

Example output.

$ dprint fmt
Formatted 1 file.
✨  Done in 0.13s.

This project uses the Vale with a Vale-compatible implementation of the Google Developer Documentation Style Guide.

To lint your doc run:

yarn fmt /path/to/your/file.md

For example, to lint this document run:

vale sync
vale styles/style-guide.md

Example output.

 styles/style-guide.md
 40:71  error  Did you really mean             Vale.Spelling 
               'inclusivity'?                                

✖ 1 error, 0 warnings and 0 suggestions in 1 file.