mirror of
https://github.com/Unkn0wnCat/matrix-veles.git
synced 2025-04-28 09:46:51 +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: {
|
||||
sidebarPath: require.resolve('./sidebars.js'),
|
||||
// Please change this to your repo.
|
||||
editUrl: 'https://github.com/Unkn0wnCat/matrix-veles/tree/main/website/',
|
||||
editUrl: ({locale, versionDocsDirPath, docPath}) => {
|
||||
if (locale !== "en") {
|
||||
return `https://crowdin.com/project/matrix-veles/${locale}`;
|
||||
}
|
||||
return `https://github.com/Unkn0wnCat/matrix-veles/tree/main/website/${versionDocsDirPath}/${docPath}`;
|
||||
},
|
||||
},
|
||||
/*blog: {
|
||||
showReadingTime: true,
|
||||
// Please change this to your repo.
|
||||
editUrl:
|
||||
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
|
||||
},*/
|
||||
|
|
Loading…
Add table
Reference in a new issue