This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 876d9ce981f Rebuild: BUILD_ALL_VERSION=1
876d9ce981f is described below
commit 876d9ce981f4bc9532c93da413af4d59e9c577e3
Author: tison <[email protected]>
AuthorDate: Tue Jun 13 18:01:02 2023 +0800
Rebuild: BUILD_ALL_VERSION=1
fix build
Signed-off-by: tison <[email protected]>
---
docusaurus.config.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 662a0c1ce3b..acdc1474b17 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -116,8 +116,8 @@ const injectLinkParseForEndpoint = ([, info]) => {
}
} else {
restUrl = "version=master&apiversion=" + restApiVersion + "#" + suffix;
- if (suffix[0].startsWith("operation/")) {
- path += suffix[0].slice("operation".length)
+ if (suffix.startsWith("operation/")) {
+ path += suffix.slice("operation".length)
}
}