| title | Documentation Style Guide |
|---|
This style guide defines the standards for all Prohelion documentation. Follow these guidelines to maintain consistency across all documentation.
Every document must start with YAML front matter:
---
title: Document Title
---- H1 (#): Main document title
- H2 (##): Major sections
- H3 (###): Subsections
- H4 (####): Minor subsections
- Avoid going deeper than H4
- Use professional but accessible language
- Write in active voice
- Use second person ("you") for instructions
- Use first person plural ("we") for recommendations
- Contractions are acceptable for readability
- Be direct and concise
- Prefer descriptive paragraphs over bullet points
- Use bullet points only for:
- Lists of specific features or capabilities
- Step-by-step instructions
- Quick reference materials
- Connect ideas through narrative flow rather than disconnected points
- Assume technical competence but don't assume expertise
- Define specialized terms on first use
- Link to reference materials for advanced concepts
- Explain relationships between concepts in narrative form
<figure markdown>

<figcaption>Descriptive Caption</figcaption>
</figure>Use for important information:
!!! danger "Danger"
Critical safety information
!!! warning "Warning"
Important caution information
!!! info
Additional helpful information
!!! tip
Helpful suggestions and best practices- Use inline backticks (`) for:
- File names
- Directory paths
- Command names
- Parameter names
- Variable names
- Short code snippets
- Use triple backticks with language specification
- Include comments for complex code
- Provide context when necessary
# Example code block
def example_function():
return "Hello, World!"- Use sparingly and only for:
- Feature lists
- Quick reference materials
- Non-sequential items
- Keep items parallel in structure
- End each item with appropriate punctuation
- Use for sequential procedures
- Start with action verbs
- Be specific and clear
- Include prerequisites before instructions
- Use descriptive link text
- Link to related documentation
- Provide context for external links
- Use relative paths for internal links
- Cite sources when referencing external material
- Include version numbers where applicable
- Link to official documentation when available
- Place safety warnings prominently at the start of relevant sections
- Use appropriate admonition levels
- Clearly state risks and consequences
- Include preventive measures
- DANGER: Life-threatening risks
- WARNING: Potential for injury or serious damage
- CAUTION: Potential for minor damage
- NOTICE: Important information not related to physical harm
- Use clear, descriptive names
- Separate words with underscores
- Use lowercase letters
- Include category prefixes when helpful
- Group related documents in directories
- Use clear directory names
- Maintain a logical hierarchy
- Include index.md files in each directory
- Bold (**) for emphasis
- Italic (*) for new terms
- Code blocks for commands and code
- Tables for structured data
- Spell out numbers under 10
- Use numerals for 10 and above
- Include units where applicable
- Use SI units with imperial in parentheses
- Include last updated date
- Maintain a changelog for significant changes
- Review and update links regularly
- Archive obsolete content appropriately
- Verify all links work
- Check code examples are current
- Ensure images are clear and relevant
- Validate technical accuracy
This style guide is a living document. Updates and improvements will be made as needed to ensure the highest quality documentation.