-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Python Client Documentation Site Needs Updating #882
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
Comments
Looks like we need a markdown engine for Sphinx. tbh if we convert the readme to rst this site should be working again. @roycaihw , is this website automatically being deployed? |
/cc |
Thanks for pointing this out. The site looks stale with v1.8 APIs, so I don't think it's automatically being deployed. From the original PR:
Since the site has been stale for a long time, I'm not sure if anyone is relying on it (I wasn't aware of this site before), but I think it has value in being a nice web page aggregating the READMEs (generated and manually maintained) in this repo cc @dims Do you have suggestions about how we can improve this site? |
@micw523 I have experience with rendering markdown in sphinx. Would you like me to work on this? |
Sounds good - feel free to reply that you’ve taken the issue. I think there are a few things we should do:
|
Sphinx is at v2.1.2 now: https://pypi.org/project/Sphinx/. We could also discuss moving away from Sphinx as no one seems to know how to use it. https://www.mkdocs.org/ is another Python-based option or we could use a Go-based option such as https://gohugo.io/. |
I wouldn't say "no one seems how to use it". It's clear that @oz123 and I have experience using it - although I have relatively little experience using it with md. Even though md-based solutions might be useful given all our generated docs are now in markdown, sphinx has |
@scottilee I agree with @micw523. I would also add, that there is almost no matching in quality to sphinx build, and that it is used in almost any large python project out there. Recently the linux kernel migrated it's docs to sphinx and there a other large non python software projects that use sphinx. |
No worries. @oz123 if you decide to work on this can you please also create a README.md that outlines the steps to build and push changes to the documentation site? |
@scottilee we can configure readthedocs to automatically build the docs on every push. @scottilee see: |
@oz123 Thanks for the updates. A couple questions:
|
|
Also, there is this issue |
We’re moving away from swagger-codegen in favor of OpenAPI-generator from v11. @oz123 Maybe try forking Roy’s v11a1 branch and test if it works there? |
I did. The issue still exists. I will repo the issue with OpenAPI-generator. |
@oz123 i've added you as maintainer in https://kubernetes.readthedocs.io. |
@dims I see you also updated the settings. Thanks! |
@oz123 before I close this issue:
|
@scottilee @micw523 @roycaihw I suggest you create a rtd.io account, in order to get acceess to the admin area of kubernetes.readthedocs.io. |
Hey @oz123, my user name is my github handle. Having two documentation sites isn't too bad in my opinion. One of them is based on @oz123's personal repo, which is essentially a testing ground for the full documentation sites. This is actually not a bad idea - it saves effort for other contributors to review documentation-related PRs by him. |
@micw523 I added you as a maintainer in https://readthedocs.org/dashboard/kubernetes/users/. |
@oz123 Can you also give me access to the readthedocs.io page? Also, let me know if I misunderstood but it it seems like you said pushes to your repo (https://github.com/oz123/python) trigger builds to both readthedocs.io sites but shouldn't we only trigger builds on pushes to this repo (https://github.com/kubernetes-client/python)? Lastly, any update on adding a guide to updating the documentation? I didn't see any updates to https://github.com/kubernetes-client/python/blob/master/doc/README.md. Thanks. |
@scottilee I'm sorry I can't be helpful regards to your request. I'm only a co maintainer on read the docs. Pushes to my fork only update my own site. Regarding the last question, the readme you link to implicitly assumes one knows how to work with sphinx to create the documentation. I can send a PR with some more information on this regards. |
The Python Kubernetes Client documentation site (https://kubernetes.readthedocs.io/en/latest/) is out-of-date and could use better attention to formatting.
Per our discussion in the Python Client meeting this morning please investigate:
cc @roycaihw
The text was updated successfully, but these errors were encountered: