-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
How could I add a link for the "Edit" icon to private Bitbucket repo? #1435
Comments
What is the link supposed to be for bitbucket source file edition ? What would be the correct link to generate ? |
The link for bitbucket source file edition is something like this: I searched online about this issue but I did not found a solution yet. Here my Stackoverflow question: https://stackoverflow.com/questions/76590504/how-could-i-add-a-link-for-the-edit-icon-to-private-bitbucket-repo |
What you described above does not match what you put in your configuration
I believe Bitbucket is adding some parameters to URL so you could try putting the same url you have in your browser and adds The URL I got on bitbucket.org is not exactly the same as yours though
when I clicked it adds So you need to adapt and put the right url in |
Hello, Same problem here but with the links to a devops repo
I've modified the links in the "_output.yml" :
But the links on the built book are modified as:
And another question : how to open the link on a new tab ? |
I think the problem comes from the function
|
yes bs4_book() does not support the url you want to put. If should be extended in configuration to allow that. This is probably part of |
Any way to workaround other than make a local modified version of bookdown ? |
Unfortunately know, you found the place where this is built Lines 416 to 427 in cedaac9
Currently it will add the file in the path, and not as a query params like your dev azure expect. A PR is welcome to improve support. Thanks ! |
I also modified the |
Yes you can make a PR for this too. |
Hello, related to Bookdown I am editing the "index.Rmd" and "_output.yaml" file in order to make functional the "Edit" button.
I followed the instructions detailed in this page: 29.4 Edits and source code
But when render my book and I click on that "Edit icon" I get again the error page in Bitbucket.
I have a private bitbucket and I added the following lines of code in the :
"_output.yml"
"index.Rmd"
Does anybody know if Bookdown can have a Edit button to edit in a private Bitbucket repo? (or suggest edits?)
Many thanks!
The text was updated successfully, but these errors were encountered: