@ 261105.16raw
current

Node.js documentation style guide

This guide provides clear and concise instructions to help you create well-organized and readable documentation for the Node.js community. It covers organization, spelling, formatting, and more to ensure consistency and professionalism across all documents.

Table of contents

  1. General Guidelines
  2. Writing Style
  3. Punctuation
  4. Document Structure
  5. API Documentation
  6. Code Blocks
  7. Formatting
  8. Product and Project Naming

General guidelines

File naming

Text wrapping

Editor configuration

Testing documentation


Writing style

Spelling and grammar

Commas

Pronouns

Gender-neutral language

Terminology


Punctuation

Terminal punctuation

Quotation marks

Colons and semicolons


Document structure

Headings

Lists

Tables


API documentation

YAML comments

Usage examples

Parameter descriptions


Code blocks

Language-aware fences

Code comments


Formatting

Escaping characters

Naming conventions

Function arguments and returns


Product and project naming

Official styling

Node.js references

Version references

For topics not addressed here, please consult the Microsoft Writing Style Guide.