Skip to content

Commit

Permalink
[website] fix: website build fail due to pulsar sub cli cmd dicovery …
Browse files Browse the repository at this point in the history
…has been removed (apache#13572)

* fix: website build fail due to pulsar sub cli cmd dicovery has been removed

Signed-off-by: LiLi <[email protected]>
  • Loading branch information
urfreespace authored Dec 30, 2021
1 parent 20fba09 commit 05a68bf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion site2/tools/docker-build-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ CROWDIN_DOCUSAURUS_API_KEY=${CROWDIN_DOCUSAURUS_API_KEY:-UNSET}
DOCKER_CMD="docker run -i -e CI_USER=$CI_USER -e CI_GROUP=$CI_GROUP -v $HOME/.m2:/root/.m2 -e CROWDIN_DOCUSAURUS_PROJECT_ID=${CROWDIN_DOCUSAURUS_PROJECT_ID} -e CROWDIN_DOCUSAURUS_API_KEY=${CROWDIN_DOCUSAURUS_API_KEY} -v $ROOT_DIR:/pulsar $IMAGE"

sed -i "s#$ROOT_DIR#/pulsar#g" $ROOT_DIR/distribution/server/target/classpath.txt
sed -i "s#/home/runner#/root#g" $ROOT_DIR/distribution/server/target/classpath.txt
sed -i "s#$HOME#/root#g" $ROOT_DIR/distribution/server/target/classpath.txt

$DOCKER_CMD bash -l -c 'cd /pulsar && /pulsar/site2/tools/build-site.sh'
1 change: 0 additions & 1 deletion site2/tools/pulsar-doc-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ $ROOT_DIR/bin/pulsar delete-cluster-metadata -zk zk -g > $ROOT_DIR/site2/website
$ROOT_DIR/bin/pulsar initialize-transaction-coordinator-metadata -cs cs -c c -g > $ROOT_DIR/site2/website/brodocs/documents/initialize-transaction-coordinator-metadata.md
$ROOT_DIR/bin/pulsar initialize-namespace -cs cs -c c -g demo > $ROOT_DIR/site2/website/brodocs/documents/initialize-namespace.md
$ROOT_DIR/bin/pulsar version -g > $ROOT_DIR/site2/website/brodocs/documents/version.md
$ROOT_DIR/bin/pulsar discovery -g > $ROOT_DIR/site2/website/brodocs/documents/discovery.md
$ROOT_DIR/bin/pulsar websocket -g > $ROOT_DIR/site2/website/brodocs/documents/websocket.md

cd $ROOT_DIR/site2/website/brodocs
Expand Down
3 changes: 0 additions & 3 deletions site2/website/brodocs/pulsar-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
{
"filename": "tokens.md"
},
{
"filename": "discovery.md"
},
{
"filename": "proxy.md"
},
Expand Down

0 comments on commit 05a68bf

Please sign in to comment.