Skip to content

Documentation

From v4 onwards, we use GitHub Pages with MkDocs to build the documentation.

Both the site and the content are hosted on GitHub.

Contributing / Suggesting Errata

We welcome contributions or errata that improve the quality of our documentation. Please use one of the following two channels:

  1. Via the standard GitHub workflow of forking our documentation repository, making your edits in your fork and them opening a pull request.
  2. If you are not familiar with GitHub, then please open an issue on the documentation repository with your suggestions.

Building Locally

If you haven't already, install MkDocs. These instructions work on MacOS as of 2024:

# create a venv
python3 -m venv venv
cd venv

# install mkdocs
./bin/pip install mkdocs mike pymdown-extensions mkdocs-material mkdocs-git-revision-date-localized-plugin

The documentation can then be built locally as follows:

git clone https://github.com/inex/ixp-manager-docs-md.git
cd ixp-manager-docs-md
./venv/bin/mkdocs build

You can serve them locally with the following and then access them via http://127.0.0.1:8000 -

./venv/bin/mkdocs serve

To automatically deploy to GitHub and make live:

./venv/bin/mkdocs gh-deploy

You must be an authorised user for this but we welcome pull requests against the documentation repository!

Do not forget to push your changes to GutHub (if you have push permissions):

git add .
git commit -am "your commit message"
git push

There is a simple script in the documentation root directory that combiles these deploy and commit steps:

./build-deploy-push.sh "your commit message"