Contribute to documentation
We use Mintlify to power our documentation. You can contribute to our documentation by following the steps below.
Prerequisites
- Git installed on your machine (If you don’t have git on your machine, install it from here)
- SSH key added to your GitHub account (If you don’t have an SSH key, generate one from here)
- Access to the oxy repository
Get started
Set up repository
Ignore this step if you have already cloned the repository.
From the directory of your choice (e.g. ~/repos
or ~/projects
), git
clone the oxy repository by running the following command on your terminal.
Set up development environment
Install Mintlify CLI by running the following command on your terminal.
This step is required to preview the changes you make to the documentation locally.
Update documentation
Create a branch
Change to the repository directory on your computer (if you are not already there):
Then create and switch to a new branch using the following command:
Make necessary changes
Now open the page you’d like to edit and make the necessary changes.
Preview changes locally
Save the changes you’ve made by pressing Cmd + S
(Mac) or Ctrl + S
(Windows).
Change to the docs directory on your computer by running the following command:
Then run the following command to preview changes locally:
This command must be run from the docs directory where the mint.json file exists. If not, you will get an error “Must be run in a directory where a mint.json file exists.”
Add and commit changes
Once you are happy with the changes you’ve made, add and commit those changes.
Submit changes
Push changes to GitHub
Once you’re ready to publish changes, push your changes!
If your local branch hasn’t been published to remote yet, publish your branch first.
To publish (push) a local branch to the remote repository for the first time, use:
After this initial push, you can simply use:
Submit your changes for review
Finally, if you are happy with the changes you’ve made, create a pull request.
You can create a PR by going to your branch on GitHub, and clicking on the Contribute
button.
Clicking on the Contribute
button will open a dropdown menu with an option to create a pull request.
Finally, add @jinjakim as the reviewer, and create the pull request.
Refer to the PR Guidelines below for more information on how to create a PR.
PR Guidelines
- Title format:
<type>: <description>
(e.g.docs: improvements to bigquery integration page
) - Add description of changes.
- Request review from @jinjakim by adding
@jinjakim
to as the reviewer. - Changes will be published when PR is reviewed and merged.
Help
For more information on formatting the documentation, refer to Mintlify’s documentation.