Docker is the recommended way of developing the site, and also for testing documentation changes locally.
- Build the docker image:
docker build -t op-nadeoapi-docs .
- Start a container:
docker run --rm -v $(pwd):/var/www/html -p 80:80 op-nadeoapi-docs
- Visit http://127.0.0.1/
Content tests run automatically on a push to the repository. To run them locally, you need Python and PyYAML. Then, simply run the test script:
$ ./test.py