| title | Contributing Guidelines |
|---|---|
| description | Guidelines for contributing to the project |
| category | Project |
| type | Guide |
| audience | Developers |
| date | 2025-12-01 |
Thank you for your interest in contributing to Medical Academic! We welcome contributions from everyone.
This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.
Before creating bug reports, please check the existing issues to see if the problem has already been reported. If you're unable to find an open issue addressing the problem, open a new one.
When creating a bug report, please include:
- A clear and descriptive title
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Screenshots (if applicable)
- WordPress version
- Theme version
- Browser and version
- Any relevant error messages
Enhancement suggestions are welcome! Please open an issue with:
- A clear and descriptive title
- Detailed description of the enhancement
- Use cases for the enhancement
- Any relevant examples or mockups
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Add or update tests as needed
- Update documentation if necessary
- Ensure all tests pass (
npm test) - Ensure code follows project standards (
npm run lint) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Keep pull requests focused on a single feature or bug fix
- Include a clear description of what the PR does
- Reference any related issues
- Update the changelog for user-facing changes
- Ensure all checks pass
- Request review from maintainers
See DEVELOPMENT.md for detailed setup instructions.
git clone https://github.com/LightSpeed/ma-theme
cd ma-theme
npm install
composer install
npm run start- PHP: Follow WordPress coding standards
- JavaScript: Use WordPress JavaScript standards
- CSS: Follow WordPress CSS standards
- Commits: Use conventional commit format
# All tests
npm test
# JavaScript only
npm run test:js
# PHP only
npm run test:php
# End-to-end tests
npm run test:e2e
# Linting
npm run lintma-theme/
├── .github/ # GitHub workflows and templates
├── assets/ # Static assets
├── inc/ # PHP includes
├── parts/ # Template parts
├── patterns/ # Block patterns
├── src/ # Source files
├── styles/ # Style variations
├── templates/ # Block templates
├── tests/ # Test files
└── public/ # Built assets
- All public functions should be documented
- Update README.md for significant changes
- Keep changelog updated
- Document any breaking changes
If you discover a security vulnerability, please send an email to security@lightspeedwp.agency instead of using the issue tracker.
By contributing to Medical Academic, you agree that your contributions will be licensed under the GPL-2.0-or-later license.
Contributors will be recognized in the project's contributors list and changelog.
Feel free to open an issue or contact the maintainers if you have any questions about contributing.
Thank you for contributing to Medical Academic! 🎉