Contribution
First off, thanks for taking the time to contribute to the MyDocs documentation!
Getting Started
- Fork the repository on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull Request so we can review your changes
Prerequisites
Development Setup
-
Install dependencies:
bun install -
Run the development server:
bun run dev
Code Style
-
Use TypeScript for all new code
-
Follow the existing code style
-
Run linter before committing:
bun run lint -
Format your code:
bun run format
Branch Naming Convention
For documentation changes, please follow this branch naming pattern:
docs/<change-name>- For documentation updates and additions
Examples:
docs/api-endpoints-updatedocs/installation-guidedocs/troubleshooting-section
Commit Message Format
When making commits, please follow this format for documentation changes:
docs: <brief description of change>
More detailed explanation of what was changed and why, if necessary.
Examples:
docs: add API authentication guidedocs: update installation instructions for Windowsdocs: fix typo in getting started section
Pull Request Process
- Ensure any install or build dependencies are removed before the end of the layer when doing a build.
- Update the README.md with details of changes to the interface, which includes new environment variables, exposed ports, useful file locations, and container parameters.
- Increase the version numbers in any example files and the README.md to the new version that this Pull Request would represent.
- You may merge the Pull Request once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you.
Reporting Issues
When creating an issue, please include:
- A clear title and description
- Steps to reproduce the issue
- Expected vs. actual behavior
- Screenshots if applicable
- Your environment (OS, browser, etc.)
License
By contributing, you agree that your contributions will be licensed under the project's MIT License.