Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-6315

Relative urls in readme.md files only work half the time. (BB-7521)

      I have the following project structure:

      doc/
          getting_started.md
          ...
      readme.md
      

      In my readme.md file, I link to the getting_started.md document like so:

      [Get started](doc/getting_started.md)
      

      When viewing the readme.md file in the source tab this link 404's (it points to ../project/doc/contributing.md)

      But when I click on the readme.md file and view it, the link works (correctly points to ../project/src/31...8e/doc/contributing.md)

      There is a (possibly?) subtly different problem for relative links in sub-folders. Given the project structure of:

      doc/
          style/
              markdown.md
          readme.md
      top_level_readme.md
      

      In the readme.md file, if I have a link to style/markdown.md as follows:

      [Markdown Style Guide](style/markdown.md)
      

      It will break in a similar manner to the above (50% of the time), but with the following urls:

      Overview page links to: ../project/src/31...8e/style/markdown.md

      While viewing readme.md links to: ../project/src/31...8e/doc/style/markdown.md

            [BCLOUD-6315] Relative urls in readme.md files only work half the time. (BB-7521)

            I think it is still broken

            Ratnesh Chauhan added a comment - I think it is still broken

            Felix Herz added a comment -

            I still can't see the linked Images in Bitbucket.
            Is it broken again?

            Felix Herz added a comment - I still can't see the linked Images in Bitbucket. Is it broken again?

            Just FYI this is still broken in branches other than master: BCLOUD-16322

            Reza Teshnizi added a comment - Just FYI this is still broken in branches other than master: BCLOUD-16322

            ducla6 added a comment -

            The fix i tried is just quite simple:

            so base URL: {{https://bitbucket.org/

            {project}/{repo}/{branch}/README.md}}

            bq. README.md file

            Unable to find source-code formatter for language: md. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
            [README.md](./subfolder/README.md
            


            If i clicked that with a different branch, it is going to return a full git log like 2ec0707bc23f8a6cc3d78d5097 into the url.

            so base URL: {{https://bitbucket.org/{project}

            /

            {repo}

            /2ec0707bc23f8a6cc3d78d5097/subfolder/README.md}}


            FYI. I am just passing by

            ducla6 added a comment - The fix i tried is just quite simple: so base URL: {{ https://bitbucket.org/ {project}/{repo}/{branch}/README.md}} bq. README.md file Unable to find source-code formatter for language: md. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml [README.md](./subfolder/README.md If i clicked that with a different branch, it is going to return a full git log like 2ec0707bc23f8a6cc3d78d5097 into the url. so base URL: {{ https://bitbucket.org/ {project} / {repo} /2ec0707bc23f8a6cc3d78d5097/subfolder/README.md}} FYI. I am just passing by

            ahjoe86 added a comment -

            The relative URL doesn't work if the file is at branch other than master branch. Can't it be fixed?

            ahjoe86 added a comment - The relative URL doesn't work if the file is at branch other than master branch. Can't it be fixed?

            jerome___ added a comment -

            @johnburbridge in 2020 only ? ... before this date, i think someone will find a justification for not do nothing more for repair what has been broken. Now they make high school level for teach to daddy's boys how to argument the way to not do nothing as a best concept.
            And in the same time, an other one will provide a way to paid easy 100$ by month for see this features back, like magic.
            what a wonderful world...

            jerome___ added a comment - @johnburbridge in 2020 only ? ... before this date, i think someone will find a justification for not do nothing more for repair what has been broken. Now they make high school level for teach to daddy's boys how to argument the way to not do nothing as a best concept. And in the same time, an other one will provide a way to paid easy 100$ by month for see this features back, like magic. what a wonderful world...

            I am sorry but this is a functionality GitHub has provided for years and it's rather a fundamental one I think. We have visual diffs of images in pull requests and whatever but before we need these extra features, we'd like to simply have existing features work and show the images. Thanks.

            lorenzwalthert added a comment - I am sorry but this is a functionality GitHub has provided for years and it's rather a fundamental one I think. We have visual diffs of images in pull requests and whatever but before we need these extra features, we'd like to simply have existing features work and show the images. Thanks.

            Given the track record on this thread, I'll check back for a resolution in June, 2020.

            John Burbridge added a comment - Given the track record on this thread, I'll check back for a resolution in June, 2020.

            I agree with @Spaceport. Can you guys upvote @Spaceport's new issue to help this to get eventually fixed?

            lorenzwalthert added a comment - I agree with @Spaceport. Can you guys upvote @Spaceport's new issue to help this to get eventually fixed?

            Spaceport added a comment -

            Opened new issue BCLOUD-16322 .
            See also similar issue BCLOUD-15949

            Spaceport added a comment - Opened new issue BCLOUD-16322 . See also similar issue BCLOUD-15949

              Unassigned Unassigned
              30aa78f367ba nickfrez
              Affected customers:
              178 This affects my team
              Watchers:
              121 Start watching this issue

                Created:
                Updated:
                Resolved: