We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f42f56 commit 5310054Copy full SHA for 5310054
packages/@vuepress/theme-default/components/PageEdit.vue
@@ -97,7 +97,7 @@ export default {
97
: `https://github.com/${docsRepo}`
98
return (
99
base.replace(endingSlashRE, '')
100
- + `/edit`
+ + (/gitlab.com/.test(repo) ? '/-/edit/' : '/edit')
101
+ `/${docsBranch}/`
102
+ (docsDir ? docsDir.replace(endingSlashRE, '') + '/' : '')
103
+ path
0 commit comments