This are the sources for the SpaceAPI website.
The website is generated using Pelican, a static site generator written in Python. This simplifies hosting and makes the website very fast.
Prerequisites: Python 3 and pipenv.
$ pipenv install
$ pipenv run make html serve
Then visit http://localhost:8000
in your browser to see the result.
To apply the changes of contents of /content/pages/*
you must restart the webserver:
make html serve
Update the file inside schema/
. Then:
python generate_api_docs.py > content/pages/docs.md
The website should auto-deploy after a push to master. The update might take a few minutes though.