How to add a requested provider

Follow the steps below to document a newly requested provider in the documentation/provider/index.md file.

1. Start from an up-to-date main branch

Make sure your local main branch is up to date, then create a new branch for your changes:

git switch main
git pull
git checkout -B docs/provider-request

2. Define variables

Set the following environment variables to use in the steps below:

export PROVIDER_NAME="Sav.com"
export GITHUB_ISSUE_NUMBER=3633
export GITHUB_FORK_REPO="yourusername/dnscontrol"

Replace yourusername with your actual GitHub username or organization name.

3. Edit the provider index file

Open the file in your preferred editor:

nano documentation/provider/index.md

Or, using PhpStorm:

Scroll to the Requested providers section and append the following line:

To generate this automatically, run:

Make sure to insert the new line in alphabetical order if applicable.

4. Commit your changes

Add and commit the modified file:

5. Push and open a pull request

Push your changes to your fork and open a new pull request:

NOTE: GitHub does not support pre-filling pull request titles or descriptions via URL parameters. The title will be auto-filled using your commit message. You can adjust it manually after opening the PR.

Last updated