|
| 1 | +--- |
| 2 | +title: How to Contribute |
| 3 | +--- |
| 4 | + |
| 5 | +# Portkey AI Docs |
| 6 | + |
| 7 | +This repository contains the source code for [Portkey AI](https://portkey.ai)'s documentation, built using [Mintlify](https://mintlify.com). |
| 8 | +We welcome contributions to improve the accuracy, clarity, and coverage of our docs. |
| 9 | + |
| 10 | +--- |
| 11 | + |
| 12 | +## Getting Started |
| 13 | + |
| 14 | +To contribute or preview the documentation locally: |
| 15 | + |
| 16 | +### 1. Clone the Repository |
| 17 | + |
| 18 | +```bash |
| 19 | +git clone https://github.com/portkey-ai/docs-core.git |
| 20 | +cd docs-core |
| 21 | +```` |
| 22 | + |
| 23 | +### 2. Install Mintlify CLI |
| 24 | + |
| 25 | +The documentation is built using Mintlify. Install the `mint` CLI globally with any of the following: |
| 26 | + |
| 27 | +```bash |
| 28 | +npm install -g mint |
| 29 | +# OR |
| 30 | +pnpm add -g mint |
| 31 | +# OR |
| 32 | +yarn global add mint |
| 33 | +``` |
| 34 | + |
| 35 | +Refer to the [Mintlify Docs](https://mintlify.com/docs) if you run into issues. |
| 36 | + |
| 37 | +### 3. Run the Local Server |
| 38 | + |
| 39 | +```bash |
| 40 | +mint dev |
| 41 | +``` |
| 42 | + |
| 43 | +This will start a local server so you can preview your changes as you edit. |
| 44 | + |
| 45 | +--- |
| 46 | + |
| 47 | +## How to Contribute |
| 48 | + |
| 49 | +We appreciate all contributions—small or large. Here's how you can help: |
| 50 | +
|
| 51 | +1. **Fork** the repository. |
| 52 | +2. **Create a branch** for your changes: |
| 53 | +
|
| 54 | + ```bash |
| 55 | + git checkout -b your-branch-name |
| 56 | + ``` |
| 57 | +3. **Make edits** and test them locally using `mint dev`. |
| 58 | +4. **Commit and push** your changes. |
| 59 | +5. **Open a pull request** to the `main` branch with a clear description. |
| 60 | +
|
| 61 | +--- |
| 62 | +
|
| 63 | +## What You Can Contribute |
| 64 | +
|
| 65 | +* Fix typos or broken links |
| 66 | +* Improve explanations or formatting |
| 67 | +* Add missing documentation |
| 68 | +* Suggest structural improvements |
| 69 | +* Maintain existing integrations with Portkey |
| 70 | +
|
| 71 | +--- |
| 72 | +
|
| 73 | +## Need Help? |
| 74 | +
|
| 75 | +Join the `#portkey-docs` channel in our [Discord](https://portkey.wiki/community) to ask questions or share suggestions. |
| 76 | +You can also open an issue here on GitHub. |
| 77 | +
|
| 78 | +
|
| 79 | +
|
| 80 | +## Community |
| 81 | +
|
| 82 | +Join our growing community around the world, for help, ideas, and discussions on AI. |
| 83 | +
|
| 84 | +- View our official [Blog](https://portkey.wiki/gh-78) |
| 85 | +- Chat with us on [Discord](https://portkey.wiki/community) |
| 86 | +- Follow us on [Twitter](https://portkey.wiki/gh-79) |
| 87 | +- Connect with us on [LinkedIn](https://portkey.wiki/gh-80) |
| 88 | +- Visit us on [YouTube](https://portkey.wiki/gh-103) |
| 89 | +- Join our [Dev community](https://portkey.wiki/gh-82) |
| 90 | +
|
| 91 | +--- |
0 commit comments