Skip to content
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

[MSKINS-169] Image height not effective #23

Merged
merged 1 commit into from
May 5, 2022
Merged

[MSKINS-169] Image height not effective #23

merged 1 commit into from
May 5, 2022

Conversation

michael-o
Copy link
Member

It is also imperative to provide units otherwise the browser will ignore
them.

Reason for the failure: https://stackoverflow.com/a/44010892/696632

This closes #23

@michael-o michael-o requested a review from hboutemy May 1, 2022 10:22
@michael-o
Copy link
Member Author

@kwin Please review.

@@ -253,7 +253,6 @@ under the License.
<goals>
<goal>site</goal>
</goals>
<streamLogsOnFailures>true</streamLogsOnFailures>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It spills the terminals with thousands of lines of debug output. Basically impossible to scroll back to the invoker report and pray that your terminal buffer is large enough. Moreover, in other components this isn't enabled also.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair enough but the problem is more: why do we have this for m-invoker-p? (as you complain about verbosity :) )

<debug>true</debug>

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't tell whether this is enabled for other components as well, but the build.log will contain debug output which is very helpful in failure cases. If it is not enabled, you need to enable it temporarily and and run everything again. Just losing time.

@michael-o
Copy link
Member Author

@kwin any change you can verify this in time?

Copy link
Member

@kwin kwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine, just some minor comments.

src/main/resources/META-INF/maven/site-macros.vm Outdated Show resolved Hide resolved
@@ -110,21 +110,21 @@
#* *##set ( $imgAlt = ' alt=""' )
#* *##end
#* *##if( $border )
#* *##set ( $imgBorder = ' border="' + $border + '"' )
#* *##set ( $imgBorder = 'border: ' + $border + ';' )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be rather border-width (https://developer.mozilla.org/en-US/docs/Web/CSS/border-width) as the css attribute border may also set other styles and may lead to some ambiguity and border-width is the equivalent of the border html attribute. The spec is not really clear in this regard though: https://maven.apache.org/doxia/doxia-sitetools/doxia-decoration-model/decoration.html#class_bannerLeft

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree this needs clarification or change, but that will happen in Doxia 2 only.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Raise an issue with Doxia Sitetools.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

michael-o added a commit that referenced this pull request May 5, 2022
It is also imperative to provide units otherwise the browser will ignore
them.

Reason for the failure: https://stackoverflow.com/a/44010892/696632

This closes #23
Copy link
Member

@kwin kwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes, looks good to me now.

It is also imperative to provide units otherwise the browser will ignore
them.

Reason for the failure: https://stackoverflow.com/a/44010892/696632

This closes #23
@michael-o michael-o closed this in 97b9161 May 5, 2022
@michael-o michael-o merged commit 97b9161 into master May 5, 2022
@michael-o michael-o deleted the MSKINS-169 branch May 5, 2022 19:40
@olamy olamy added the bug label May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants