You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by zh...@apache.org on 2022/04/14 11:53:56 UTC

[incubator-seatunnel-website] branch main updated: fix url error when editing. (#107)

This is an automated email from the ASF dual-hosted git repository.

zhongjiajie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel-website.git


The following commit(s) were added to refs/heads/main by this push:
     new f15fa8bf fix url error when editing. (#107)
f15fa8bf is described below

commit f15fa8bff2a790f5a2e12e2d2ed1f7267eaddff4
Author: Kerwin <37...@users.noreply.github.com>
AuthorDate: Thu Apr 14 19:53:51 2022 +0800

    fix url error when editing. (#107)
---
 docusaurus.config.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index 6f8aa048..cbf0c94a 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -260,9 +260,9 @@ const config = {
                 routeBasePath: 'community',
                 editUrl: ({locale, versionDocsDirPath, docPath}) => {
                     if (locale !== 'en') {
-                        return `https://github.com/apache/incubator-seatunnel-website/edit/dev/i18n/${locale}/${docPath}`;
+                        return `https://github.com/apache/incubator-seatunnel-website/edit/main/i18n/${locale}/${docPath}`;
                     }
-                    return `https://github.com/apache/incubator-seatunnel-website/edit/dev/${versionDocsDirPath}/${docPath}`;
+                    return `https://github.com/apache/incubator-seatunnel-website/edit/main/${versionDocsDirPath}/${docPath}`;
                 },
                 sidebarPath: require.resolve('./sidebarsCommunity.js'),
             },