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

[incubator-pulsar] branch master updated: Add pulsar python location to python path so that pdoc can succeed generating docs (#1414)

This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new fdad48b  Add pulsar python location to python path so that pdoc can succeed generating docs (#1414)
fdad48b is described below

commit fdad48b2d95a6300f2cda39ec6dafab253efacac
Author: Sanjeev Kulkarni <sa...@gmail.com>
AuthorDate: Thu Mar 22 14:30:41 2018 -0700

    Add pulsar python location to python path so that pdoc can succeed generating docs (#1414)
---
 site/scripts/python-doc-gen.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/site/scripts/python-doc-gen.sh b/site/scripts/python-doc-gen.sh
index cb6a394..a47c931 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

-- 
To stop receiving notification emails like this one, please contact
sijie@apache.org.