1.7 KiB
1.7 KiB
Contributing to PDF Reader MCP Server
Thank you for your interest in contributing!
How to Contribute
We welcome contributions in various forms:
- Reporting Bugs: If you find a bug, please open an issue on GitHub detailing the problem, steps to reproduce, and your environment.
- Suggesting Enhancements: Have an idea for a new feature or improvement? Open an issue to discuss it.
- Pull Requests: If you'd like to contribute code:
- Fork the repository.
- Create a new branch for your feature or bug fix (
git checkout -b feature/your-feature-nameorbugfix/issue-number). - Make your changes, ensuring they adhere to the project's coding style and principles (see
docs/principles.md). - Add tests for any new functionality and ensure all tests pass (
npm test). - Ensure code coverage remains high (
npm run test:cov). - Make sure your code lints correctly (
npm run lint). - Commit your changes using the Conventional Commits standard (e.g.,
feat: Add support for encrypted PDFs,fix: Correct page range parsing). - Push your branch to your fork (
git push origin feature/your-feature-name). - Open a Pull Request against the
mainbranch of the original repository.
Development Setup
- Clone your fork.
- Install dependencies:
npm install - Build the project:
npm run build - Run in watch mode during development:
npm run watch - Run tests:
npm testornpm run test:watch
Code Style
Please ensure your code adheres to the formatting and linting rules defined in the project:
- Run
npm run formatto format your code with Prettier. - Run
npm run lintto check for ESLint issues.
Thank you for contributing!