-
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 bad numbering format (.1.) for section numbers (sectnums) and some... #36928
Conversation
@sheilamjones - Thanks so much for flagging this problem 👍 |
@maxandersen @aloubyansky - When this update is merged to |
🙈 The PR is closed and the preview is expired. |
From what I can see, this is not the only problem with this guide on the website. The tabs are broken in the My understanding was that you were supposed to use the common pattern we had everywhere else and have a transformation to make it compatible with downstream but I see that you are using a completely different pattern that is breaking the Javascript. |
@gsmet, thanks for your review. This PR is to address the numbering issue only. |
bcb91c6
to
5b36ab2
Compare
@gsmet - Thanks for reviewing and the above ^^ 👍 |
2962162
to
77760c7
Compare
This comment has been minimized.
This comment has been minimized.
a933c66
to
c080e04
Compare
c080e04
to
890f0e2
Compare
which guide is that from ? didn't spot such rendering on the preview or in quarkus.io? |
@@ -12,6 +12,7 @@ TODO: | |||
[id="..."] | |||
= Title using sentence capitalization | |||
include::_attributes.adoc[] | |||
:numbered: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this issue of :numbered: not general?
should it be set in pom.xml attributes section instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, that's a valid concern, any thoughts @michelle-purcell ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michelle-purcell could you please respond to the above question?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maxandersen - Sorry, I missed this Q...
Yes, I think you are right @maxandersen - Adding the header attribute numbered
fixed the .1. numbering part of the issue but wasn't enough to fix the indentation level 3-4 part of the numbering issue. The latest edits also resolve the numbering format issue too. I just tested without that attribute and the numbering works fine locally so I removed it from the 2 modified topics and the tutorial template. Thanks ⭐
@gastaldi @aloubyansky @sheilamjones - FYI.
168ae7d
to
36f16fd
Compare
36f16fd
to
9364443
Compare
@gsmet / @maxandersen / @aloubyansky - In the interest of closing this and getting the topic to QE ASAP for 3.2.8 product doc release, I fixed the code snippet issue that @gsmet raised during this review in this PR. Can we merge and backport now? |
This comment has been minimized.
This comment has been minimized.
9364443
to
3451582
Compare
Hi @gsmet / @maxandersen / @aloubyansky, would it be possible to merge and backport this PR please as a separate PR with some additional Vale fixes for this same topic is dependent on it? |
I am planning another backport round tomorrow. But I'd like somebody more familiar with the doc formatting review this one. Thanks. |
Removing backport labels as we are no longer publishing this guide on 3.2 for product. Instead we will improve on main. |
3451582
to
186a5a5
Compare
@aloubyansky / @gastaldi / @gsmet gsmet - Please approve and merge the content fixes. We no longer need this to be backported but it would be good to make the fix in main as the doc defect exists here and needs to be fixed. Thanks. |
Hi @aloubyansky / @gastaldi / @gsmet, would it be possible to please approve and merge these fixes in Main? Note that we no longer need to backport this, but it would be good to make these fixes in main. |
06b892d
to
6e5f781
Compare
Fix Fix other tutorial remove html output fix code block Removing :numbered: from header
6e5f781
to
85481e5
Compare
@maxandersen - All comments are now resolved. Can we merge this one to |
This PR fixes the problem of an extra dot (.) before each section number, which appears in tutorials with
:sectnums:
enabled.and
This update:
:numbered:
AsciiDoc attribute to the doc header of a tutorial and the tutorial template file to enforce the Arabic number format of 1. 2. 3. etc etc instead of .1. .2. .3. etc, which sometimes occurs depending on the markup.