Source files for wire-server documentation.
Visit https://docs.wire.com/
The structure of this document has been heavily inspired by this blog post.
We use sphinx for rendering. Here is a cheat
sheet
for writing re-structured text (*.rst
).
Generate docs (using docker, so you don't need to install python dependencies yourself)
make
(Alternatively, if you have python dependencies installed, run make html
).
Look at results by opening build/html/index.html
CI is set up to do this automatically on a push to master. If for some reason you wish to upload manually to S3:
(You need amazon credentials for pushing to S3)
make push
Please note that cloudfront CDN has a certain cache duration (at the time of writing: 1 minute), so changes will take a bit of time to take effect.