-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix build error caused by content in datasource guide #41651
Conversation
Thanks for your pull request! Your pull request does not follow our editorial rules. Could you have a look?
This message is automatically generated by a bot. |
Cross reference: https://issues.redhat.com/browse/QDOCS-789 |
Status for workflow
|
@rolfedh Ok. lets try that out. Thank you for the PR. :) |
I guess this is not something generated, thus the escape should not ruin anything, but I am not 100% sure. |
Would replacing the |
I think it's because we should only escape the character when preparing the downstream doc. |
@rolfedh do you confirm that escaping the |
Turns out the docs team currently doesn't have an easy way to test it without merging it. The "dirty" way of merging, running the downstream pipeline, and then reverting may be a workaround if this needs to be fixed quickly. |
Hi, @gsmet. Thanks for asking. Yes, I verified that escaping the square bracket in Please go ahead with your proposed solution and close this PR. |
Good point, @jmartisk. I did some research and found a solution so writers don't have to perform "dirty" merges. If a writer encounters a build failure in a synchronization job PR, they can use these git commands or the GitHub CLI |
🙈 The PR is closed and the preview is expired. |
I have some local tests running atm so can't work on that but I'll have a look tomorrow morning. |
Thank you, @gsmet! |
If that works for you then great. What I had in mind was the ability to make "dry runs" of the synchronization pipeline that would be based on a branch of a particular (upstream) PR, instead of a regular branch like If you later decide that this would be useful to you, I am able to help (it would require parametrizing some additional stuff in the downstream scripts). |
@jmartisk That would be great. Let me have a chat with Rolfe on Monday to decide about this and we will get back to you. |
Supersedes quarkusio#41651 (cherry picked from commit 2691190)
@MichalMaler @jmartisk I invited Mickey to discuss this in about an hour or so. |
Supersedes quarkusio#41651 (cherry picked from commit 2691190)
In community
main
, line 550 in/asciidoc/datasource.adoc
is:In the syncrhonization PR, it causes the following preview build failure,
In this PR, the previously mentioned line 550 has been transformed into:
If you inspect line 556 in the master.adoc file for this PR, https://jenkins.dxp.redhat.com/job/CCS/job/ccs-mr-preview/80313/artifact/pantheon/configure-data-sources/build/en-US/master.xml/*view*/, that same line renders as follows:
In other words, the right bracket in
name]
terminates the<link>
element prematurely. Instead, the right bracket in</literal>]
should close that<link>
element.I have confirmed that escaping the right bracket in
name]
solves the issue, as shown in the following example: