Skip to content

docs: expand style guide with undocumented conventions#84

Merged
moss-bryophyta merged 1 commit intostyle-guide-v3from
style-guide-v4
Mar 2, 2026
Merged

docs: expand style guide with undocumented conventions#84
moss-bryophyta merged 1 commit intostyle-guide-v3from
style-guide-v4

Conversation

@moss-bryophyta
Copy link
Copy Markdown
Collaborator

Adds conventions observed across 25+ docs files that were missing from the style guide:

New sections

  • Headings — sentence case rule, numbered step format
  • Lists — punctuation rules for fragment vs full-sentence items
  • Punctuation — Oxford comma, em dash avoidance, i.e./e.g. formatting
  • Callouts — bold-lead pattern documented with common examples
  • Page structure — standard section order for API refs and guides
  • Common components — ✅/❌ patterns, package manager tab order, accordions, directory structures, TypeTable + description table pairing, custom anchors
  • Template placeholders — reference table for __DOCS_PATH__, __PACKAGE_NAME__, __FRAMEWORK_NAME__

Based on a systematic audit of docs and docs-templates files.

- Sentence case headings, numbered step format
- List punctuation rules (fragments vs full sentences)
- Oxford comma, em dash avoidance, i.e./e.g. conventions
- Callout bold-lead pattern
- API ref and guide page structure templates
- Common component patterns (tabs, accordions, ✅/❌, TypeTable)
- Template placeholder reference
- Custom heading anchors
@moss-bryophyta moss-bryophyta requested a review from a team as a code owner March 2, 2026 04:34
@moss-bryophyta moss-bryophyta merged commit 564783c into style-guide-v3 Mar 2, 2026
archie-mckenzie pushed a commit that referenced this pull request Mar 2, 2026
* Add docs style guide

* fix: remove common corrections section from style guide

* docs: add note that 'data' is singular

* docs: note GT abbreviation usage

* fix: remove variable naming conventions section

* fix: remove broken links editorial note

* fix: clarify callouts are docs-only

* docs: move style guide into docs/, scope to docs only

* docs: add undocumented style conventions to style guide (#84)

- Sentence case headings, numbered step format
- List punctuation rules (fragments vs full sentences)
- Oxford comma, em dash avoidance, i.e./e.g. conventions
- Callout bold-lead pattern
- API ref and guide page structure templates
- Common component patterns (tabs, accordions, ✅/❌, TypeTable)
- Template placeholder reference
- Custom heading anchors

Co-authored-by: moss-bryophyta <261561981+moss-bryophyta@users.noreply.github.com>

---------

Co-authored-by: moss-bryophyta <261561981+moss-bryophyta@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant