Thank you for your interest in contributing to the FluxMQ documentation website! This document provides guidelines and information for contributors.
- Node.js 18+
- npm or yarn
- Git
-
Fork the repository
# Fork the repo on GitHub, then clone your fork git clone https://github.com/YOUR_USERNAME/fluxmq-doc.git cd fluxmq-doc
-
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open your browser Navigate to
http://localhost:5173to see the site.
We welcome various types of contributions:
- Documentation improvements: Fix typos, improve clarity, add examples
- New content: Add new documentation sections, tutorials, or guides
- UI/UX improvements: Enhance the design, add new components, improve accessibility
- Bug fixes: Fix issues in the codebase
- Feature additions: Add new functionality to the website
- Translation: Help translate content to other languages
-
Create a branch
git checkout -b feature/your-feature-name
-
Make your changes
- Write clear, concise code
- Follow the existing code style
- Add comments for complex logic
- Test your changes
-
Commit your changes
git add . git commit -m "feat: add new feature description"
-
Push to your fork
git push origin feature/your-feature-name
-
Create a Pull Request
- Go to your fork on GitHub
- Click "New Pull Request"
- Fill out the PR template
- Submit the PR
- Use TypeScript for all new code
- Follow React best practices
- Use functional components with hooks
- Prefer
constoverlet - Use meaningful variable and function names
- Use Tailwind CSS classes
- Follow the existing design system
- Use the predefined color palette
- Maintain consistent spacing and typography
- Create reusable components in
src/components/ - Use shadcn/ui components when possible
- Follow the existing component structure
- Add proper TypeScript types
- Use clear, concise language
- Write for a technical audience
- Include code examples where helpful
- Use proper markdown formatting
- Use descriptive headings
- Include a table of contents for long documents
- Add cross-references to related content
- Include screenshots or diagrams when helpful
- Use syntax highlighting
- Include comments in code examples
- Test all code examples
- Provide both simple and advanced examples
The site supports multiple languages. When adding new content:
- Add English content first
- Add corresponding translations in
src/lib/i18n.ts - Test both language versions
- Ensure all text is properly internationalized
When reporting bugs, please include:
- A clear description of the issue
- Steps to reproduce the problem
- Expected vs actual behavior
- Screenshots if applicable
- Browser and OS information
For feature requests, please:
- Describe the feature clearly
- Explain why it would be useful
- Provide examples of how it would work
- Consider implementation complexity
All contributions go through a review process:
- Automated checks: Code linting, type checking, build verification
- Code review: Team members review the code for quality and style
- Testing: Manual testing of functionality
- Approval: Maintainer approval before merging
When creating a PR, please include:
- Description: What changes were made and why
- Type: Bug fix, feature, documentation, etc.
- Testing: How the changes were tested
- Screenshots: If UI changes were made
- Breaking changes: Any breaking changes and migration steps
Use conventional commit messages:
feat:for new featuresfix:for bug fixesdocs:for documentation changesstyle:for formatting changesrefactor:for code refactoringtest:for adding testschore:for maintenance tasks
Example:
feat: add performance comparison component
fix: resolve mobile navigation issue
docs: update installation guide
- Be respectful and inclusive
- Help others learn and grow
- Provide constructive feedback
- Follow the code of conduct
If you need help:
- Check existing issues and discussions
- Join our community Discord
- Create a new issue for questions
- Contact maintainers directly
Contributors will be recognized in:
- The project README
- Release notes
- Community highlights
- Contributor hall of fame
Thank you for contributing to FluxMQ documentation! 🚀