未验证 提交 bfb209a5 编写于 作者: Y Yuting 提交者: GitHub

🐞 fix(docs): fix edit page link (#151) (#152)

上级 b99ecf32
......@@ -61,9 +61,9 @@ const config = {
editLocalizedFiles: true,
editUrl: ({versionDocsDirPath, docPath, locale}) => {
if(locale !== 'en') {
return `https://github.com/stoneatom/stonedb-docs/edit/main/i18n/${locale}/docusaurus-plugin-content-docs/current/${docPath}`
return `https://github.com/stoneatom/stonedb/edit/stonedb-5.6/website/i18n/${locale}/docusaurus-plugin-content-docs/current/${docPath}`
}
return `https://github.com/stoneatom/stonedb-docs/edit/main/${versionDocsDirPath}/${docPath}`
return `https://github.com/stoneatom/stonedb/edit/stonedb-5.6/${versionDocsDirPath}/${docPath}`
},
},
theme: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册