michaeljmarshall opened a new pull request, #205:
URL: https://github.com/apache/pulsar-site/pull/205

   In order to generate these docs, I ran the following script:
   
   ```bash
   $ ./site2/tools/release/javadoc-gen.sh 2.7.5
   ```
   
   Note that I had to modify the script slightly in order to get it to work 
because branch 2.7 is slightly different than the other branches. Here is the 
diff:
   
   ```diff
    wget 
https://archive.apache.org/dist/pulsar/pulsar-${VERSION}/apache-pulsar-${VERSION}-src.tar.gz
 -O - | tar -x
   
    # NOTE: versions before 2.8.0 did not have the -src suffix
   -cd apache-pulsar-${VERSION}-src
   +cd apache-pulsar-${VERSION}
   
    # Java client
    mkdir -p $DEST_DIR/api/client/${VERSION}
   @@ -36,8 +36,8 @@ cp -r pulsar-client-api/target/site/apidocs/* 
$DEST_DIR/api/client/${VERSION}/
   
    # Java admin
    mkdir -p $DEST_DIR/api/admin/${VERSION}
   -mvn -pl pulsar-client-admin-api javadoc:javadoc
   -cp -r pulsar-client-admin-api/target/site/apidocs/* 
$DEST_DIR/api/admin/${VERSION}/
   +mvn -pl pulsar-client-admin javadoc:javadoc
   +cp -r pulsar-client-admin/target/site/apidocs/* 
$DEST_DIR/api/admin/${VERSION}/
   
    # Pulsar Functions Java SDK
    mkdir -p $DEST_DIR/api/pulsar-functions/${VERSION}
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to