You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/02/11 08:57:09 UTC
[pulsar-site] 02/04: update
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch refactor/migrate-scripts
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
commit e35fd4b443597f7da6aefddf24a59b3f752465b1
Author: LiLi <ur...@apache.org>
AuthorDate: Fri Feb 11 16:04:58 2022 +0800
update
Signed-off-by: LiLi <ur...@apache.org>
---
site2/website-next/migrate/tool/fix-code.js | 1 -
site2/website-next/migrate/tool/fix-md.js | 1 -
2 files changed, 2 deletions(-)
diff --git a/site2/website-next/migrate/tool/fix-code.js b/site2/website-next/migrate/tool/fix-code.js
index 92aa364..b297473 100644
--- a/site2/website-next/migrate/tool/fix-code.js
+++ b/site2/website-next/migrate/tool/fix-code.js
@@ -30,7 +30,6 @@ module.exports = (data) => {
prefix +
"```" +
"\n";
- console.log(_match);
nData = nData.replace(_match, newCodeBlock);
}
return nData
diff --git a/site2/website-next/migrate/tool/fix-md.js b/site2/website-next/migrate/tool/fix-md.js
index 26f1290..48a2520 100644
--- a/site2/website-next/migrate/tool/fix-md.js
+++ b/site2/website-next/migrate/tool/fix-md.js
@@ -14,7 +14,6 @@ function fix(data, version) {
data = fixTipNote(data);
data = fixTipNoteInList(data);
data = fixCode(data);
- console.log('....')
data = data
.replace(reg, "id: ")
.replace("id: deploy-docs", "id: deploy-dcos")