tuteng commented on a change in pull request #9014:
URL: https://github.com/apache/pulsar/pull/9014#discussion_r547596489
##########
File path: site2/tools/python-doc-gen.sh
##########
@@ -45,3 +46,7 @@ PYTHONPATH=$ROOT_DIR/pulsar-client-cpp/python pdoc pulsar \
--html-dir $DESTINATION
mv -f $DESTINATION/pulsar/* $DESTINATION/
rmdir $DESTINATION/pulsar
+
+# Update /api/python to the latest version
+rm -fr $ROOT_DIR/generated-site/api/python/{index.html,functions,pulsar}
Review comment:
Consider add `schema` folder
https://github.com/apache/pulsar/tree/asf-site/content/api/python/2.8.0-SNAPSHOT
```
rm -fr
$ROOT_DIR/generated-site/api/python/{index.html,functions,pulsar,schema}
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]