tisonkun commented on code in PR #28: URL: https://github.com/apache/pulsar-client-python/pull/28#discussion_r1014777946
########## README.md: ########## @@ -110,3 +110,17 @@ Run a single unit test (e.g. `PulsarTest.test_tls_auth`): ```bash python3 ./tests/pulsar_test.py 'PulsarTest.test_tls_auth' ``` + +## Generate API docs + +Pulsar Python Client uses [pydoctor](https://github.com/twisted/pydoctor) to generate API docs. To generate by yourself, run the following command in the root path of this repository: + +```bash +pip3 install pydoctor +pydoctor --make-html \ + --html-viewsource-base=https://github.com/apache/pulsar-client-python/tree/<release-version-tag> \ Review Comment: Do you run the command on this patch branch but using the URL prefix of the main branch in upstream? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
