Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Publishing documentation: issues with wiki (.html) and webpage ("_" in workspace id)

rossella gamba December 2, 2023

Hello,

We have some code hosted on a Bitbucket repo for which we'd like to publish doxygen documentation (.html files) to be easily accessed from the web.
Unfortunately, we cannot push these files to the webpage linked to the workspace, since due to the underscore appearing in its name and id ("eob_ihes", the WS was created around 2018) the page does not display properly.
Similarly, the wiki does not support html/xml files, and the conversion xml-->md does not work very well.

What is the best way to proceed in this situation? In particular:

  • Does Bitbucket plan to allow for pushing .html files to the wiki of the repo? (related issue )
  • Alternatively, would it be possible to change the workspace id from "eob_ihes" to "eob-ihes", and have the old URL point/redirect to the new one? This repo has a rather long history, and there exists a large body of published papers that link to the current address. Simply modifying the workspace id would "break" all these links.

Note that the documentation is already accessible via the downloads page, but we'd like for it to be displayed online. We'd also prefer to avoid having to use Confluence.

Thank you in advance,

Rossella

1 answer

1 accepted

2 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 4, 2023

Hi Rosella,

The feature request ticket you have linked is still with our developers, but we have no ETA as to when/if it will be implemented - more information concerning our feature request implementation policy can be found below:

Unfortunately, changing the workspaceID would require that remote URL's are updated locally so that the linkage is not broken, more information can be found here:

Are you able to share a screenshot of how the webpage appears with the underscore workspaceID? I wish to know what is not displaying properly so I can attempt to reproduce the issue on my end.

Cheers!

- Ben (Bitbucket Cloud Support)

rossella gamba December 5, 2023

Hello Ben,

thank you for the very prompt answer. When navigating to https://eob_ihes.bitbucket.io I see the following:

Screenshot_20231205_132605.png

I guess "displaying properly" is not the correct wording: it is not showing anything at all (but an error message) -- apologies for not being clearer! :)

I also tried navigating to https://eob-ihes.bitbcuket.io, but get a "repository not found" message, as expected.

Thank you,

Rossella

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 5, 2023

Hi Rossella,

I've been able to reproduce this on my end, the same HTTP error response is returned.

I've found an old bug ticket that was closed, but I have re-opened it on your behalf as I believe that work could be done to avoid the requirement of a workspace ID change to fix the issue - please feel free to Watch this to receive future updates related to it and click This Affects My Team to raise its visibility:

Essentially, underscores aren't supported by DNS hostnames - but when they are present in a repository name, for example, we replace these with dashes in the URL (this doesn't occur for static webpages).

Unfortunately, at this stage, the only interim fix is to remove the underscore from your Workspace ID and then update the static website repository name to fix this.

Cheers!

- Ben (Bitbucket Cloud Support)

rossella gamba December 6, 2023

Hi Ben,

I see, thank you! Marking this as resolved then, as we wait for updates :)

Cheers,
Rossella

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events