-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: fix ReadTheDocs build #25
Conversation
679f3b4
to
d68d88c
Compare
* Adds `config.py` so that pykube configuration is loaded only at run time. (closes reanahub#18) * Renames `create_job` on `k8s.py` to avoid name clashing inside `app.py`. Signed-off-by: Diego Rodriguez <[email protected]>
d68d88c
to
9c0e67a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
import pykube | ||
|
||
# FIXME do not share HTTPClient but only config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I merged this PR since it fixed the REST API docs 👍 and since this line has a FIXME so it'll get refactored soon... Let's see IRL because it doesn't seem that nice to keep the config.py
file outside of the package scope?
* Improves REST API docs rendering. Closes reanahub#25 Signed-off-by: Rokas Maciulaitis <[email protected]>
* Improves REST API docs rendering. Closes reanahub#25 Signed-off-by: Rokas Maciulaitis <[email protected]>
* Improves REST API docs rendering. Closes reanahub#25 Signed-off-by: Rokas Maciulaitis <[email protected]>
Adds
config.py
so that pykube configuration is loaded only atrun time. (closes docs: amend imports to remove autodoc mocking #18)
Renames
create_job
onk8s.py
to avoid name clashing insideapp.py
.Signed-off-by: Diego Rodriguez [email protected]