This is an automated email from the ASF dual-hosted git repository.
urfree 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 705fa6ff3df Fix /api endpoint link replacement in docs
new 2a61e5016bb Merge pull request #138 from
michaeljmarshall/only-replace-correctly-formed-endpoints
705fa6ff3df is described below
commit 705fa6ff3df1551ed7072f95b0fa8bb44b912f2f
Author: Michael Marshall <[email protected]>
AuthorDate: Wed Jul 6 01:29:19 2022 -0500
Fix /api endpoint link replacement in docs
---
site2/website-next/scripts/replace.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/site2/website-next/scripts/replace.js
b/site2/website-next/scripts/replace.js
index f110f836c4a..7eac124e82b 100644
--- a/site2/website-next/scripts/replace.js
+++ b/site2/website-next/scripts/replace.js
@@ -139,11 +139,11 @@ const from = [
/@pulsar:dist_deb:client@/g,
/@pulsar:dist_deb:client-devel@/g,
- /\/api\/python/g,
- /\/api\/cpp/g,
- /\/api\/pulsar-functions/g,
- /\/api\/client/g,
- /\/api\/admin/g,
+ /\(\/api\/python/g,
+ /\(\/api\/cpp/g,
+ /\(\/api\/pulsar-functions/g,
+ /\(\/api\/client/g,
+ /\(\/api\/admin/g,
/@pulsar:version_number@/g,