You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/03/22 21:30:43 UTC

[GitHub] sijie closed pull request #1414: Add pulsar python location to python path so that pdoc can succeed generating docs

sijie closed pull request #1414: Add pulsar python location to python path so that pdoc can succeed generating docs
URL: https://github.com/apache/incubator-pulsar/pull/1414
 
 
   

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 cb6a394b4..a47c93130 100755
--- a/site/scripts/python-doc-gen.sh
+++ b/site/scripts/python-doc-gen.sh
@@ -27,8 +27,7 @@ pip install pulsar-client
 
 INPUT=$ROOT_DIR/pulsar-client-cpp/python/pulsar.py
 DESTINATION=$ROOT_DIR/site/api/python
-
-pdoc $INPUT \
+PYTHONPATH=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:
users@infra.apache.org


With regards,
Apache Git Services