-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-29659 Replace reflow-default-webdeps to fix site build failure #7386
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
HBASE-29659 Replace reflow-default-webdeps to fix site build failure #7386
Conversation
…eflow-default-webdeps Reason: reflow-default-webdeps causes a Maven ERROR and Yetus build considers the site build to be broken. Turned off these features in the site skin which we don't need and would require to add more JavaScript: - highlight.js, - lightbox.js, - smooth scrolling. Improved code blocks style to look good without highlight.js. Also extracted MathJax.js and fontawesome (needed for RefGuide) versions to Maven properties.
|
Implemented this based on how reflow-default-webdeps pom.xml gathers these dependencies except the problematic hightlight.js: Tested this the following way: Built the site locally by executing the command which yetus runs, then server the site locally via HTTP server: The Maven build log does not contain The website is functional - no missing JS, CSS, webfont, no error on browser developer console - OK ✔️
RefGuide looks good - fontawesome icons and mathematical formulas are displayed - OK ✔️
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
instead of downloading it from a URL. We prefer maven resource as it can be cached locally.
| background-color: #f5f5f5; | ||
| border-radius: 6px; | ||
| border: 1px solid rgba(0, 0, 0, 0.15); | ||
| padding: 10px; |
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.
Improved code blocks style to look good without highlight.js.
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.
Nice, thanks @PDavid
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.
Tried to build site locally with this PR in, no problem.
Thanks @PDavid !
|
🎊 +1 overall
This message was automatically generated. |
|
The PR build timed out. I'm merging this now to fix the RefGuide build on master. If we see any issues there we can still fix them. |



Replace reflow-default-webdeps with separate webjar dependencies because reflow-default-webdeps causes a Maven ERROR in the build log and Yetus build considers the site build to be broken.
Turned off these features in the site skin which we don't need and would require to add more JavaScript:
Improved code blocks style to look good without highlight.js.
Also extracted MathJax.js and fontawesome (needed for RefGuide) versions to Maven properties.