Thanks you for taking the time to contribute! Contributions are always welcome, no matter how large or small!
Here are some guidelines to help you:
We want this community to be friendly and respectful to each other. Please follow it in all your interactions with the project. Before contributing, please read the code of conduct.
-
Fork the repository: Create a personal copy of the repo by clicking the fork button.
-
Clone your fork:
git clone https://github.com/yourusername/dx-devrel-guide.git
-
Install the Mintlify CLI: To work locally with your documentation, install the Mintlify Command Line Interface (CLI) by running the following command in your terminal.
npm i -g mintlify
-
Create a branch after picking an issue: Work on a new feature or fix in a separate branch.
git checkout -b feat/your-feature-name
-
Run Locally to view changes: Run the below command to see changes you made locally
mintlify dev
- Follow the file naming conventions:
lowercase-with-dashes.mdx - Use
---frontmatter for the title, e.g.:
---
title: Developer Advocacy
---
## Public Speaking
...- Test your changes: Ensure that all existing and new tests pass.
- Add your changes to the codebase:
git add .-
Commit: Write meaningful commit messages.
git commit -m "Fix: short description of the fix" -
Push your branch:
git push origin feat/your-feature
-
Open a Pull Request: Once your changes are ready, submit a pull request.
We follow the conventional commits specification for our commit messages:
fix: bug fixes, e.g. fix crash due to deprecated method.feat: new features, e.g. add new method to the module.refactor: code refactor, e.g. migrate from class components to hooks.docs: changes into documentation, e.g. add usage example for the module..test: adding or updating tests, e.g. add integration tests using detox.chore: tooling changes, e.g. change CI config.
Working on your first pull request? You can learn how from this free series: How to Contribute to an Open Source Project on GitHub.
When you're sending a pull request:
- Prefer small pull requests focused on one change.
- Verify that linters are passing.
- Review the documentation to make sure it looks good.
- Follow the pull request template when opening a pull request.
- For pull requests that change the API or implementation, discuss with maintainers first by opening an issue.
- Follow the existing code style.
- Ensure all new code is properly commented.
- Use Issues to report bugs or request features.
- Provide a detailed description and steps to reproduce (if applicable).