merlimat closed pull request #1484: Fix Python docs generation script
URL: https://github.com/apache/incubator-pulsar/pull/1484
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/site/scripts/python-doc-gen.sh b/site/scripts/python-doc-gen.sh
index a47c93130..cacea1bcf 100755
--- a/site/scripts/python-doc-gen.sh
+++ b/site/scripts/python-doc-gen.sh
@@ -27,7 +27,7 @@ pip install pulsar-client
 
 INPUT=$ROOT_DIR/pulsar-client-cpp/python/pulsar.py
 DESTINATION=$ROOT_DIR/site/api/python
-PYTHONPATH=pulsar-client-cpp/python pdoc $INPUT \
+PYTHONPATH=$ROOT_DIR/pulsar-client-cpp/python pdoc $INPUT \
   --html \
   --html-dir $DESTINATION
 mv $DESTINATION/pulsar.m.html $DESTINATION/index.html


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to