-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bitbucket Edit Link goes to wrong link #1235
Comments
Thanks for the report, since I don't use Bitbucket, could you help to fix it. Contribution welcome! Ref: related code. |
This backports the fix from #1235 to 0.x
Thanks for the fix, but unfortunately there's no way to enable working This is happening because the code is checking for the string |
I don't why bitbucket put the /src in the end of repository, but when I did the edit link for bitbucket the configuration was: {
...
repo: "https://bitbucket.org/myrepo/myproject/src",
docsDir: "docs",
docsBranch: "master",
...
} So was only add the /src in the end of repo. I follow the pattern of github. But ins't a problem these way and ins't necessary to change. |
Bug report
Editing links for Bitbucket doesn't work giving wrong URL to edit.
Version
0.14.8
Steps to reproduce
No steps required
What is expected?
It should go to the link below in order to work.
https://bitbucket.org/example-team/example-repo/src/master/docs/
What is actually happening?
Click on link goes to below url instead
https://bitbucket.org/example-team/example-repo/master/docs/
Other relevant information
Proposed feature as well to allow editing dynamic links in case individual api changes.
For example
It should go to the link below in order to work.
https://bitbucket.org/${organisation}/${repo-name}/${additional-url}
The text was updated successfully, but these errors were encountered: