Skip to content
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

Document how to generate apidoc python #283

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

tisonkun
Copy link
Member

This closes apache/pulsar#18347.

cc @michaeljmarshall please take a look.

python -m pip install --upgrade pip

pip install -U pydoctor
git clone https://github.com/apache/pulsar-client-python --single-branch --branch v$PULSAR_VERSION
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @merlimat @BewareMyPower @RobertIndie this line depends on that for each Python client release, we create a vX.Y.Z tag. I notice that C++ client does it so make this assumption.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the overall script by hardcoding the tag as main locally.

@@ -0,0 +1,45 @@
#!/usr/bin/env bash
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know that these two script files duplicate each other. But since scripts are less combinable, and this is a specific small scope, I'd like to keep it simple stupid :)

Copy link
Member

@michaeljmarshall michaeljmarshall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating this @tisonkun!

@tisonkun
Copy link
Member Author

Merging...

If later we have different release process for Python client, we can update it correspondingly.

@tisonkun tisonkun merged commit 7880044 into apache:main Nov 14, 2022
@tisonkun tisonkun deleted the how-to-gen-apidoc-python branch November 14, 2022 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Doc] Improve Python client apidoc with pydoctor tool
3 participants