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/10/13 08:44:34 UTC
[pulsar-site] branch main updated: fix blog edit url (#252)
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 16bd0d7e38d fix blog edit url (#252)
16bd0d7e38d is described below
commit 16bd0d7e38ddb2b1d39b40c4e1f14433b2117fb1
Author: tison <wa...@gmail.com>
AuthorDate: Thu Oct 13 16:44:29 2022 +0800
fix blog edit url (#252)
---
site2/website-next/docusaurus.config.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/site2/website-next/docusaurus.config.js b/site2/website-next/docusaurus.config.js
index 1f06335c9f9..4214fec3f43 100644
--- a/site2/website-next/docusaurus.config.js
+++ b/site2/website-next/docusaurus.config.js
@@ -38,6 +38,7 @@ const packagesApiUrl = url + "/packages-rest-api";
const transactionsApiUrl = url + "/transactions-rest-api";
const lookupApiUrl = url + "/lookup-rest-api";
const githubUrl = "https://github.com/apache/pulsar";
+const githubSiteUrl = "https://github.com/apache/pulsar-site";
const baseUrl = "/";
const injectLinkParse = ([, prefix, , name, path]) => {
@@ -380,7 +381,7 @@ module.exports = {
},
blog: {
showReadingTime: true,
- editUrl: `${githubUrl}/edit/master/site2/website`,
+ editUrl: `${githubSiteUrl}/edit/main/site2/website-next/`,
},
theme: {
customCss: require.resolve("./src/css/custom.css"),