Contributing to dployr Documentation
If you notice any thing missing, typo or general improvement and you want to help, this guide will help you get started.
Documentation Structure
dployr-docs/
├── docs/ # Technical documentation
├── blog/ # Blog posts and articles
├── legal/ # Legal documents
├── changelog.md # Project changelog
└── .vitepress/ # VitePress configurationHow to Contribute
Documentation Updates
- Fork and clone the repository
- Create a branch for your changes:bash
git checkout -b docs/improve-installation-guide - Make your changes to the relevant markdown files
- Test locally:bash
pnpm install pnpm run docs:dev - Commit with clear messages:bash
git commit -m "docs: improve installation guide for Windows users" - Push and create a pull request
Updating Changelog
The documentation site's changelog is auto-generated from all dployr repositories:
Important: Do not manually edit changelog.md in the docs repository. It is auto-generated and will be overwritten.
We use Conventional Commits for changelog generation in each repository.
Commit Message Format
<type>(<scope>): <subject>
<body>
<footer>Types:
feat: New featurefix: Bug fixdocs: Documentation changesstyle: Code style changes (formatting, etc.)refactor: Code refactoringperf: Performance improvementstest: Adding or updating testschore: Maintenance tasks
Examples:
feat(cli): add support for custom domains
fix(deployment): resolve timeout issue on large files
docs(api): update authentication examples
chore(deps): update vitepress to v2.0.0Generating Changelog
See git-cliff:
## [Version] - YYYY-MM-DD
### Added
- New feature description
### Changed
- Changed functionality description
### Fixed
- Bug fix description
### Security
- Security improvement descriptionStyle Guide
Markdown
- Use ATX-style headers (
#instead of underlines) - Use fenced code blocks with language identifiers
- Keep lines under 120 characters when possible
- Use relative links for internal documentation
Code Examples
- Include language identifier in code blocks
- Provide context and explanation
- Test all code examples before submitting
- Use realistic examples, not
fooandbar
Writing Style
- Use clear, concise language
- Write in second person ("you") for tutorials
- Use active voice
- Define acronyms on first use
- Include examples for complex concepts
Testing
Before submitting:
Build the documentation:
bashpnpm run buildCheck for broken links: VitePress will warn about dead links during build
Preview your changes:
bashpnpm run docs:devVerify formatting:
- Check that code blocks render correctly
- Ensure images display properly
- Test all internal and external links
Pull Request Process
Update documentation for any changed functionality
Add yourself to contributors if it's your first contribution
Ensure the build passes without errors
Write a clear PR description:
- What changes were made
- Why the changes were necessary
- Any related issues
Wait for review from maintainers
Address feedback if requested
Questions?
- Join our Discord
- Open an issue
- Check existing documentation
Thank you for contributing! 🚀