-
Notifications
You must be signed in to change notification settings - Fork 557
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
Confirm API reference plan for Python #3668
Comments
What are the options? |
My recommendation is option 2, as it already includes the required automation, should require less time to set up, and also fits the pattern we established with the Go SDK. |
@shykes we will need a final decision on this by Monday EOD at the latest, so we can stay on track. Let us know if you need additional information to make a decision. Thanks! |
@shykes @aluzzardi need a decision on this one to keep us on track. Thanks! |
Option 2 makes sense to me. Unless @helderco disagreed, let's do that. |
Option 2 sounds good to me too -- I believe readthedocs is the standard way for Python reference documentation |
I'm going to experiment with it today. Been many years since I've used it and not in a monorepo. If it doesn't work out well I'll explore other solutions. Will close this when one is found. By the way, we can host it ourselves but it doesn't have to be integrated with docusaurus. The core tool here is Sphinx. That's what readthedocs does, just publishes the html output from Sphinx. You can push that html wherever you can publish a static website. For example Netlify can also be automated to run a command (i.e. build docs) when a new release is pushed to git. Or we can do it in GHA when deploying a new release. Back to RTD, I haven't confirmed if they still do it, but we used to be able use our own domain with that service if you guys are interested. |
Finding that RTD is not "the" standard at this point. Some packages in PyPI don't have any docs linked and many popular packages are hosting their API docs on Vercel or Netlify or wherever.
So a mixture. No obvious benefit to hosting on RTD since we have to generate API docs (in Sphinx for them) anyway.
|
I'll try to experiment and will report back |
Got API docs working! @helderco @vikram-dagger 😄
final conf.py
|
Just a status update. My problem right now is for readthedocs to pick up the right version since tags aren't fully semver due to the sdk prefixes. |
Closing this and tracking remaining work in new issues: |
We need to confirm the API reference plan for the Python launch. In #3658, you can see an example from @vikram-dagger that is hosting our own API docs.
Issues with hosting ourselves:
Let's use this issue to come to an agreement on what the Python API reference plan should be. We need a final decision by Monday, November 7th if we want the launch to stay on track.
The text was updated successfully, but these errors were encountered: