Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/modernharp/discountcalculator/llms.txt

Use this file to discover all available pages before exploring further.

Contributing to Discount Calculator

We welcome contributions from the community! Whether you’re reporting a bug, suggesting a feature, or submitting code improvements, your input helps make Discount Calculator better for everyone.

Ways to Contribute

There are several ways you can contribute to the project:
  • Report bugs - Help us identify and fix issues
  • Suggest features - Share ideas for new functionality
  • Improve documentation - Help make our docs clearer and more comprehensive
  • Submit code - Contribute bug fixes or new features

Submitting Issues

If you encounter a bug or have a feature request, please submit an issue on our GitHub repository.

Before Submitting an Issue

  1. Search existing issues - Check if someone has already reported the same problem or suggestion
  2. Gather information - Note the steps to reproduce the issue and any relevant details
  3. Be specific - Provide clear, detailed information about the problem or request

Creating a Good Issue

When submitting an issue, please include:
  • Clear title - Summarize the issue in a few words
  • Description - Provide detailed information about the problem or suggestion
  • Steps to reproduce (for bugs) - List the exact steps that trigger the issue
  • Expected behavior - Describe what you expected to happen
  • Actual behavior - Explain what actually happened
  • Screenshots (if applicable) - Visual aids can help clarify the issue

Submitting Pull Requests

We appreciate code contributions! Here’s how to submit a pull request:

Getting Started

  1. Fork the repository - Create your own copy of the project
  2. Clone your fork - Download the code to your local machine
  3. Create a branch - Make a new branch for your changes
    git checkout -b feature/your-feature-name
    

Making Changes

  1. Write clean code - Follow existing code style and conventions
  2. Test your changes - Ensure everything works as expected
  3. Keep commits focused - Make small, logical commits with clear messages
  4. Update documentation - If your changes affect usage, update relevant docs

Submitting Your PR

  1. Push your branch - Upload your changes to your fork
    git push origin feature/your-feature-name
    
  2. Create a pull request - Go to the original repository and open a new PR
  3. Describe your changes - Explain what you changed and why
  4. Link related issues - Reference any issues your PR addresses

Pull Request Guidelines

  • Provide a clear description of the changes
  • Explain the motivation behind the changes
  • Keep pull requests focused on a single feature or fix
  • Be responsive to feedback and questions
  • Be patient - reviews may take some time

Code of Conduct

When contributing, please:
  • Be respectful and professional in all interactions
  • Welcome and support new contributors
  • Focus on constructive feedback
  • Respect different viewpoints and experiences

Questions?

If you have questions about contributing, feel free to:
  • Open an issue on GitHub for general questions
  • Check the FAQ for common questions about the calculator
  • Review existing pull requests to see examples

License

By contributing to Discount Calculator, you agree that your contributions will be licensed under the MIT License.
Thank you for helping make Discount Calculator better! Every contribution, no matter how small, is valued and appreciated.