Contributing
We welcome contributions to GreetingApp! This guide explains how to contribute to the project.
Development Setup
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/GitHubStagingPages.git cd GitHubStagingPages - Create a new branch:
git checkout -b feature/your-feature-name
Making Changes
Code Changes
- Make your changes to the source code in
src/GreetingApp/ - Ensure your code follows the existing style
- Build and test your changes:
dotnet build dotnet run --project src/GreetingApp
Documentation Changes
Documentation is located in the docs/ directory and uses Jekyll for static site generation.
- Make changes to markdown files in
docs/ - Test locally if needed (Jekyll setup required)
- Ensure all links work correctly
Submitting Changes
- Commit your changes:
git add . git commit -m "Describe your changes" - Push to your fork:
git push origin feature/your-feature-name - Create a Pull Request on GitHub
Pull Request Process
- Ensure your PR has a clear title and description
- Reference any related issues
- Check that all GitHub Actions workflows pass
- Wait for review and address any feedback
Documentation Staging
When you create a PR, the documentation will be automatically staged at:
https://mattleibow.github.io/GitHubStagingPages/staging/[pr-number]
This allows reviewers to see documentation changes before they’re merged.
Code Style
- Use standard C# conventions
- Include XML documentation for public methods
- Keep code simple and readable
- Follow existing patterns in the codebase
Questions?
If you have questions about contributing, please:
- Check existing issues and discussions
- Create a new issue for questions
- Reach out to maintainers
Thank you for contributing!