breaking(v2): editUrl should point to website instead of docsDir to support editUrl in versioning/trans (#1958)

This commit is contained in:
Endi 2019-11-11 21:24:04 +07:00 committed by GitHub
parent 1235fc9f7e
commit 6a3efd5f3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 8 deletions

View file

@ -33,7 +33,7 @@ module.exports = {
path: 'docs',
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/docs/',
'https://github.com/facebook/docusaurus/edit/master/website/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},