# Style guide

> Writing and formatting conventions for Docsy project documentation.

---

LLMS index: [llms.txt](/llms.txt)

---

This project follows
[Google's developer documentation style guide](https://developers.google.com/style/),
and uses Prettier and Markdownlint to enforce basic formatting rules.

## Front matter

- Do not quote string values unless doing so would otherwise cause ambiguity or
  unintended type interpretation.
- Drop `linkTitle` when it is the same as `title`.

## Content

### Verb tense

- Use [present tense][] for all content, except as noted below.
- For [release] and [upgrade][] blog posts:
  - Use [present tense][] when referring to the release itself, for example:
    > Docsy 0.14.0 adds ...
  - Use **past tense** only when describing previous releases or pre-release
    behavior, for example:
    > Before Docsy 0.14.0, the navbar was ...
- For the [Changelog]: use **past tense**; see its [style
  guide][cl-style-guide].

[changelog]: /project/about/changelog/
[cl-style-guide]: /project/about/changelog/#style-guide
[present tense]: https://developers.google.com/style/tense
[release]: <https://deploy-preview-2606--docsydocs.netlify.app//tags/release/>
[upgrade]: <https://deploy-preview-2606--docsydocs.netlify.app//tags/upgrade/>

### Lists

- Use periods when list items are complete sentences (including imperative
  steps).
- Omit periods when list items are fragments, labels, or link-only bullets.
- Keep punctuation consistent within each list. When this isn't possible, ask
  the author how they prefer reworking the list item text: e.g., by making all
  sentences complete.
