Contributing to Java Learning Platform¶
Thank you for your interest in contributing to the Java Learning Platform! This document provides guidelines and instructions for contributing to our documentation.
Ways to Contribute¶
There are several ways you can contribute to the Java Learning Platform:
- Content Improvements: Correct errors, clarify explanations, or expand on existing content
- New Content: Add new topics or sections that are missing
- Code Examples: Improve or add new code examples
- Technical Improvements: Enhance the platform's functionality, search capabilities, etc.
- Feedback: Provide feedback on existing content
Getting Started¶
Prerequisites¶
- GitHub account
- Git installed locally
- Basic knowledge of Markdown
- Python 3.8+ for local testing
Setup Process¶
- Fork the repository
- Clone your fork locally
git clone https://github.com/mshemeel/java-learning.git cd java-learning
- Install dependencies
pip install -r requirements.txt
- Run the documentation locally
mkdocs serve
Contribution Workflow¶
- Create a new branch for your work
git checkout -b feature/your-feature-name
- Make your changes
- Test your changes locally using
mkdocs serve
- Commit your changes with a clear commit message
git commit -am "Add explanation of Spring Boot profiles"
- Push your changes to your fork
git push origin feature/your-feature-name
- Create a pull request from your fork to the main repository
Content Guidelines¶
Style and Formatting¶
- Use clear, concise language
- Follow the existing document structure
- Use proper Markdown formatting
- Include code examples where appropriate
- Ensure code examples are correct and runnable
Adding New Content¶
- Create new Markdown files in the appropriate subdirectory
- Update the
nav
section inmkdocs.yml
to include your new file - Ensure your content includes:
- Clear introduction
- Well-structured content with proper headings
- Code examples where applicable
- References or further reading
Review Process¶
All contributions go through the following review process:
- Initial review by maintainers
- Technical accuracy verification
- Style and formatting check
- Feedback and suggested changes
- Final approval and merge
Code of Conduct¶
Please note that this project adheres to a Code of Conduct. By participating, you are expected to uphold this code.
Questions?¶
If you have any questions or need help with the contribution process, please open an issue on GitHub or contact the maintainers directly.
Thank you for contributing to the Java Learning Platform!