Skip to content

Contributing

We welcome contributions to the Ultimate MkDocs Material Guide! This guide helps others learn and implement MkDocs Material effectively.

How to Contribute

Documentation Improvements

  • Fix typos and grammatical errors
  • Add new examples and use cases
  • Improve existing explanations
  • Add missing configuration options

Code Examples

  • Provide working code snippets
  • Test all examples before submitting
  • Follow the established style guide
  • Include comments explaining complex configurations

Bug Reports

  • Use the issue tracker to report problems
  • Include reproduction steps
  • Specify versions and environment details
  • Provide configuration files when relevant

Development Setup

  1. Fork and clone the repository
  2. Install dependencies: pip install -r requirements.txt
  3. Make your changes
  4. Test locally: mkdocs serve
  5. Submit a pull request

Style Guidelines

  • Follow the existing documentation structure
  • Use clear, concise language
  • Include practical examples
  • Test all code snippets
  • Follow accessibility best practices

Theme Contributions

Custom Theme Components

  • Submit new theme components with documentation
  • Ensure components are accessible and responsive
  • Include usage examples and configuration options
  • Test across different color schemes

Theme Extensions

  • Create reusable theme extensions
  • Document integration steps clearly
  • Provide backward compatibility when possible
  • Include migration guides for breaking changes

Code of Conduct

Please be respectful and constructive in all interactions. We're here to learn and help each other succeed with MkDocs Material.

Thank you for contributing!