Skip to content

Commit

Permalink
fix: bitbucket edit link goes to wrong link (vuejs#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickngqs committed Jan 30, 2019
1 parent 2ca2611 commit ade3e51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@vuepress/theme-default/components/Page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export default {
: repo
return (
base.replace(endingSlashRE, '') +
`/src` +
`/${docsBranch}` +
(docsDir ? '/' + docsDir.replace(endingSlashRE, '') : '') +
path +
Expand Down

0 comments on commit ade3e51

Please sign in to comment.