Switch branches/tags
Nothing to show
Clone or download
ccaputo Merge pull request #126 from arnoldnipper/patch-3
Latest commit 958a44f Aug 14, 2018

PeeringDB Documentation

As viewable at

NOTE Please do not put issues here anymore, new issues should be created at

Modifying these docs

To work on and change these documents, you'll need git, python, and pip.

  • CentOS
    sudo yum install python-pip

Fork the repo

Clone the repo

git clone$GITHUB_USERNAME/docs.git
cd docs

Install MkDocs and other requirements

pip install -r facsimile/requirements-docs.txt

Start mkdocs

mkdocs serve

or, if you'd like to specify the port, use -a $ADDRESS:$PORT, for example:

mkdocs serve -a

You should now see a message similar to: Serving on

Point your browser at that URL, and you'll get real time updates to the generated documentation as you edit.

Markdown has its own formatting syntax, to get started look here for an excellent cheatsheet.

Updating the site

Once you are happy with your changes, commit and push, then run

git commit -a
git push

If you want to be able to view your changes at $, just run:

mkdocs gh-deploy

To get your changes pushed to the live site, just create a pull request, if you're unfamiliar with how to do that, GitHub has documentation.

Updating your fork

The first time you want to do it, you need to add a remote with

git remote add upstream

After that, to sync to the upstream repo and verify requirements

git fetch upstream
git merge upstream/master
pip install -r facsimile/requirements-docs.txt