mirror of
https://github.com/Unkn0wnCat/matrix-veles.git
synced 2025-04-28 17:56:49 +02:00
website: Update edit URL
This commit is contained in:
parent
9302a04b43
commit
92ae9fe6bd
1 changed files with 6 additions and 3 deletions
|
@ -27,12 +27,15 @@ const config = {
|
||||||
({
|
({
|
||||||
docs: {
|
docs: {
|
||||||
sidebarPath: require.resolve('./sidebars.js'),
|
sidebarPath: require.resolve('./sidebars.js'),
|
||||||
// Please change this to your repo.
|
editUrl: ({locale, versionDocsDirPath, docPath}) => {
|
||||||
editUrl: 'https://github.com/Unkn0wnCat/matrix-veles/tree/main/website/',
|
if (locale !== "en") {
|
||||||
|
return `https://crowdin.com/project/matrix-veles/${locale}`;
|
||||||
|
}
|
||||||
|
return `https://github.com/Unkn0wnCat/matrix-veles/tree/main/website/${versionDocsDirPath}/${docPath}`;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
/*blog: {
|
/*blog: {
|
||||||
showReadingTime: true,
|
showReadingTime: true,
|
||||||
// Please change this to your repo.
|
|
||||||
editUrl:
|
editUrl:
|
||||||
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
|
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
|
||||||
},*/
|
},*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue