1.0
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.
The purpose of this guide is to help enable project contributors to communicate clearly and consistently in Score's end-user documentation.
Score's documentation has adopted the following style guide.
Google developer documentation style guide for the Score documentation.
- For a quick summary, see the Google style guide highlights.
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.
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.
- Writing accessible documentation - Google developer documentation style guide
- Accessibility guidelines and requirements - Microsoft Writing Style Guide
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.
- Inclusive documentation - Google developer documentation style guide
- The Conscious Style Guide - a collection of resources
- Bias-free communication - Microsoft Writing Style Guide
- Guidelines for Inclusive Language - Linguistic Society of America
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.