Skip to content

Add style guide - #7526

Merged
ethanpalm merged 14 commits into
mainfrom
style-guide
Sep 26, 2026
Merged

ethanpalm merged 14 commits into
mainfrom
style-guide

Conversation

@ethanpalm

@ethanpalm ethanpalm commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Documentation changes

v1 of the Mintlify docs style guide

Adds style guide

Updates Vale to adhere to it

Updates agent context files to point to it instead of having contradictory style rules


For Reviewers

When reviewing documentation PRs, please consider:

✅ Technical accuracy

  • Code examples work as written
  • Commands and configurations are correct
  • Links resolve to the right destinations
  • Prerequisites and requirements are accurate

✅ Clarity and completeness

  • Instructions are clear and easy to follow
  • Steps are in logical order
  • Nothing important is missing
  • Examples help illustrate the concepts

✅ User experience

  • A new user could follow these docs successfully
  • Common gotchas or edge cases are addressed
  • Error messages or troubleshooting guidance is helpful

Note

Low Risk
Internal contributor/agent documentation and lint rules only; no published user-facing docs content or runtime behavior changes.

Overview
Introduces a new style-guide/ tree (voice/tone, word list, formatting/components, content strategy) as the single source of truth for Mintlify docs writing. It defers to Google’s guide where silent, overrides where Mintlify-specific, and is excluded from the published site via .mintignore.

Agent and contributor tooling no longer duplicate long rule lists: .claude/CLAUDE.md, .cursor/rules/writing-standards.mdc, and .cursor/rules/component-reference.mdc now point authors at the style guide; the component reference keeps syntax examples only. CONTRIBUTING.md, README.md, the PR template, and .mintlify/AGENTS.md add explicit “read the style guide” expectations, including a checklist item to verify against the guide—not only Vale.

Vale is aligned with the guide: new CutPhrases.yml and ProductTerms.yml, Will.yml downgraded to suggestion, and .vale/README.md documents that Vale enforces a subset and must stay in sync when rules change.

Reviewed by Cursor Bugbot for commit 0920feb. Bugbot is set up for automated code reviews on this repo. Configure here.

ethanpalm and others added 14 commits September 24, 2026 10:30
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ions

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Replace duplicated and conflicting writing rules with a pointer to
style-guide/. Keep component syntax examples only.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Remove writing, formatting, and content rules that duplicate the style
guide. Keep agent workflow guidance and the pre-submit checklist. Fix
the example component path.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…README

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ence rules

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Add ProductTerms for unambiguous word-list swaps. vocab: false is
  required because Vale skips any match containing a vocabulary term
  (API, MCP, chatbot).
- Add suggestion-level CutPhrases for the voice and tone list.
- Downgrade Will to suggestion; the guide allows rare use.
- Document how to add word-list terms to Vale.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ntext needs them

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
mintlify 🟢 Ready View Preview Sep 25, 2026, 11:57 PM

@ethanpalm ethanpalm mentioned this pull request Sep 25, 2026
11 tasks
@ethanpalm
ethanpalm merged commit e76c0db into main Sep 26, 2026
5 checks passed
@ethanpalm
ethanpalm deleted the style-guide branch September 26, 2026 00:00

This branch was successfully deployed

1 active deployment
staging — 0920febd Deployed Sep 25, 2026 by mintlify[bot]
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