Cashfree Documentation Content Guidelines - MSTP Style
Overview
Your responsibility is to create user-friendly developer documentation that strictly adheres to the MSTP (Microsoft Style Guide for Technical Publications). These guidelines ensure consistent, clear, and professional documentation across all Cashfree API documentation while maintaining UK English standards and active voice throughout.Style and Language Requirements
Core principles
- Use simple present tense and active voice consistently
- Write in UK English (spellings, terminology, and conventions)
- Refer to
docs/styles/Microsoftpath for MSTP guidance while maintaining UK English standards - Apply Vale linting suggestions when suitable according to MSTP principles
Reference resources
- Follow MSTP guidelines from the
docs/styles/Microsoftdirectory - Use https://mintlify.com/docs/text for markdown syntax reference
- Apply UK English conventions throughout all documentation
Heading Structure
H1 headings
Use Title Case for all H1 headings (main page titles). Example:# Payment Gateway Integration
H2, H3, H4+ headings
Use sentence case for all subheadings. Example:## Getting started with webhooks### Configure webhook endpoints#### Set up authentication headers
Content Organization
Introductory statements
Always provide an introductory line before presenting lists, steps, or procedural content as required by MSTP style guide. This provides context and improves readability.Use:
Procedural content
When writing step-by-step instructions, provide clear context before the steps. Example:Language and Tone
Professional clarity
- Write in simple present tense and active voice consistently
- Use clear, direct language with UK English conventions
- Avoid unnecessary jargon
- Define technical terms when first introduced
- Apply Vale linting suggestions only when they align with MSTP principles
Consistency
- Use consistent terminology throughout documentation with UK English spellings
- Maintain the same naming conventions for parameters, methods, and endpoints
- Follow established patterns for similar content types
- Ensure simple present tense usage across all procedural content
Code Examples
Context and explanation
Provide context before code samples and explain what the code accomplishes using simple present tense. Example:Required vs optional
Clearly indicate which parameters are required and which are optional.Error Handling
Error documentation structure
Document errors with clear explanations and solutions: Example:Cross-References and Links
Internal linking
- Use descriptive link text that explains the destination
- Link to relevant sections within the same document or related documents
- Maintain link accuracy across documentation updates
External references
- Clearly indicate when linking to external resources
- Provide context for why the external link is relevant
Review Checklist
Before publishing documentation, verify:- Content uses simple present tense and active voice throughout
- UK English spellings and conventions are applied consistently
- H1 headings use Title Case
- H2+ headings use sentence case
- Introductory text precedes all lists and procedures as per MSTP requirements
- Code examples include context and explanation
- Technical terms are defined on first use
- Content follows consistent structure patterns
- Links are accurate and descriptive
- Error messages include clear resolution steps
- Vale linting suggestions are applied only when suitable for MSTP compliance
- Mintlify markdown syntax guidelines are followed
Voice and Style
Audience consideration
Write for three primary audiences:- Developers integrating APIs (primary)
- Technical decision-makers
- Non-technical stakeholders (occasional reference)
Instructional tone
- Be helpful and clear without being condescending
- Provide sufficient detail without overwhelming
- Use imperative voice for instructions (“Configure your settings” not “You should configure your settings”)
- Focus on what the user needs to accomplish
- Write in simple present tense and active voice consistently
- Use UK English conventions and spellings throughout
Formatting Standards
Code blocks
- Use language-specific syntax highlighting
- Keep code examples concise but complete
- Include necessary imports and dependencies
Emphasis
- Use bold for UI elements, field names, and important concepts
- Use
code formattingfor parameters, values, and short code snippets - Use italics sparingly, primarily for emphasis or introducing new terms
- Follow Mintlify markdown syntax from https://mintlify.com/docs/text
Notes and warnings
Structure important information clearly:Important: Always use HTTPS endpoints in production environments.Note: Rate limits apply to all API endpoints. See the rate limiting section for details.