pyceo/docs
Jonathan Leung b507c56136 Show groups in member for API, CLI and TUI (#82)
Closes #69.

Tests are failing locally with many `assert os.geteuid() == 0` errors even on the master branch. I will add tests after I figure this out.

Reviewed-on: public/pyceo#82
Co-authored-by: Jonathan Leung <j23leung@csclub.uwaterloo.ca>
Co-committed-by: Jonathan Leung <j23leung@csclub.uwaterloo.ca>
2022-11-26 20:09:05 -05:00
..
README.md add documentation (#22) 2021-10-05 00:07:10 -04:00
architecture.md update security section of docs 2022-03-12 15:50:42 -05:00
ceo.1.scd add documentation (#22) 2021-10-05 00:07:10 -04:00
ceo.ini.5.scd Add debian packaging (#32) 2021-10-28 20:52:19 -04:00
ceod.ini.5.scd Add Kubernetes API endpoint (#38) 2021-12-18 16:35:05 -05:00
openapi.yaml Show groups in member for API, CLI and TUI (#82) 2022-11-26 20:09:05 -05:00
redoc-static.html Show groups in member for API, CLI and TUI (#82) 2022-11-26 20:09:05 -05:00

README.md

Documentation

OpenAPI

We are using OpenAPI 3.0 to document the REST API for ceod, and Redoc to generate HTML documentation from the OpenAPI file.

First, make sure you have Node.js and npm installed. Then, install the Redoc CLI:

npm install -g redoc-cli

After you make changes to the openapi.yaml file, make sure to regenerate the HTML:

redoc-cli bundle openapi.yaml

You can now view the redoc-static.html file from your browser.

Man pages

We are using scdoc to generate our man pages. You can view the pages from your terminal like so:

scdoc < ceo.1.scd > ceo.1
man ./ceo.1