mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 18:14:10 +00:00
render openapi spec client-side
- move spec to _static/rest-api.yml, since the original yaml must be served - copy javascript rendering code from FastAPI (uses swagger-ui) - remove link to pet store, since there isn't a big enough difference to duplicate it - remove bootprint rendering with node
This commit is contained in:
@@ -215,7 +215,7 @@ if on_rtd:
|
||||
# build both metrics and rest-api, since RTD doesn't run make
|
||||
from subprocess import check_call as sh
|
||||
|
||||
sh(['make', 'metrics', 'rest-api', 'scopes'], cwd=docs)
|
||||
sh(['make', 'metrics', 'scopes'], cwd=docs)
|
||||
|
||||
# -- Spell checking -------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user