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 2020/12/21 08:21:35 UTC

[GitHub] [pulsar] astifter opened a new pull request #9014: Fix Issue #8999

astifter opened a new pull request #9014:
URL: https://github.com/apache/pulsar/pull/9014


   <!--
   ### Contribution Checklist
     
     - Name the pull request in the form "[Issue XYZ][component] Title of the pull request", where *XYZ* should be replaced by the actual issue number.
       Skip *Issue XYZ* if there is no associated github issue for this pull request.
       Skip *component* if you are unsure about which is the best component. E.g. `[docs] Fix typo in produce method`.
   
     - Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
     
     - Each pull request should address only one issue, not mix up code from multiple issues.
     
     - Each commit in the pull request has a meaningful commit message
   
     - Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.
   
   **(The sections below can be removed for hotfixes of typos)**
   -->
   
   Fixes #8999
   
   ### Motivation
   
   https://pulsar.apache.org/api/python/ points to the first ever released Python API. This was confusing me for the longest time until I figured out that the latest API doc is actually at https://pulsar.apache.org/api/python/2.7.0-SNAPSHOT/
   
   https://pulsar.apache.org/api/python/ should redirect to the latest version and the page itself should clearly state which version it documents.
   
   ### Modifications
   
   Copy current version of the API docs to /api/python root.
   
   ### Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   ### Documentation
   
     - Does this pull request introduce a new feature? no


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] sijie commented on pull request #9014: Fix Issue #8999

Posted by GitBox <gi...@apache.org>.
sijie commented on pull request #9014:
URL: https://github.com/apache/pulsar/pull/9014#issuecomment-749687589


   @tuteng Can you review this change?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] tuteng commented on a change in pull request #9014: Fix Issue #8999

Posted by GitBox <gi...@apache.org>.
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:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui merged pull request #9014: Fix Issue #8999

Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #9014:
URL: https://github.com/apache/pulsar/pull/9014


   


----------------------------------------------------------------
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:
users@infra.apache.org