This is an automated email from the ASF dual-hosted git repository.
paksyd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new d5ef81a6ad8 HBASE-29878 Improve the Documentation UI (addendum) (#7842)
d5ef81a6ad8 is described below
commit d5ef81a6ad8ac71aa574d1f94ea1bfb63c7cc91e
Author: Dávid Paksy <[email protected]>
AuthorDate: Wed Mar 4 13:03:22 2026 +0100
HBASE-29878 Improve the Documentation UI (addendum) (#7842)
- Ignore .mdx files in RAT check. The problem is that every MDX file starts
with the frontmatter section and the docs library parses it expecting it to be
at the start.
- Fix licenses of old book.html and it's CSS files.
- Ignore the generated
`hbase-website/app/pages/_docs/docs/_mdx/(multi-page)/configuration/hbase-default.md`
file from spotless check
Signed-off-by: Peter Somogyi <[email protected]>
---
hbase-website/public/book.html | 21 ++++++++++++++++++++-
pom.xml | 9 +++++++++
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/hbase-website/public/book.html b/hbase-website/public/book.html
index b01ddbef8b4..af9000fbc8f 100644
--- a/hbase-website/public/book.html
+++ b/hbase-website/public/book.html
@@ -1,3 +1,22 @@
+<!--
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
@@ -50336,4 +50355,4 @@ MathJax.Hub.Register.StartupHook("AsciiMath Jax Ready",
function () {
</script>
<script
src="./old-book-static-files/MathJax.js?config=TeX-MML-AM_HTMLorMML"></script>
-<div style="position: absolute; width: 0px; height: 0px; overflow: hidden;
padding: 0px; border: 0px; margin: 0px;"><div id="MathJax_Font_Test"
style="position: absolute; visibility: hidden; top: 0px; left: 0px; width:
auto; padding: 0px; border: 0px; margin: 0px; white-space: nowrap; text-align:
left; text-indent: 0px; text-transform: none; line-height: normal;
letter-spacing: normal; word-spacing: normal; font-size: 40px; font-weight:
normal; font-style: normal; font-size-adjust: none; [...]
\ No newline at end of file
+<div style="position: absolute; width: 0px; height: 0px; overflow: hidden;
padding: 0px; border: 0px; margin: 0px;"><div id="MathJax_Font_Test"
style="position: absolute; visibility: hidden; top: 0px; left: 0px; width:
auto; padding: 0px; border: 0px; margin: 0px; white-space: nowrap; text-align:
left; text-indent: 0px; text-transform: none; line-height: normal;
letter-spacing: normal; word-spacing: normal; font-size: 40px; font-weight:
normal; font-style: normal; font-size-adjust: none; [...]
diff --git a/pom.xml b/pom.xml
index ab87e9fabe8..f384710edd0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2130,6 +2130,12 @@
<exclude>**/src/main/resources/hbase-webapps/static/*/bootstrap*</exclude>
<!-- BSD 3-clause: Vega, Vega-Lite, Vega-Embed -->
<exclude>**/hbase-webapps/static/js/vega*.min.js</exclude>
+ <!-- MIT:
https://github.com/rubychan/coderay/blob/master/MIT-LICENSE -->
+
<exclude>**/public/old-book-static-files/coderay-asciidoctor.css</exclude>
+ <!-- MIT: Asciidoctor default stylesheet
https://github.com/asciidoctor/asciidoctor/blob/HEAD/LICENSE -->
+ <exclude>**/public/old-book-static-files/hbase.css</exclude>
+ <!-- http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT
License -->
+
<exclude>**/public/old-book-static-files/font-awesome.css</exclude>
<!-- vector graphics -->
<exclude>**/*.vm</exclude>
<!-- apache doxia generated -->
@@ -2153,6 +2159,8 @@
<exclude>**/CC-MAIN-2021-10-warc.paths.gz</exclude>
<!-- Cannot add ASF licence to JSON files as JSON files cannot
have comments in them. -->
<exclude>**/*.json</exclude>
+ <!-- MDX documentation pages -->
+ <exclude>**/*.mdx</exclude>
</excludes>
</configuration>
</plugin>
@@ -2895,6 +2903,7 @@
<exclude>**/dependency-reduced-pom.xml</exclude>
<exclude>**/.idea/**</exclude>
<exclude>**/node_modules/**</exclude>
+ <exclude>**/hbase-default.md</exclude>
</excludes>
<!-- define the steps to apply to those files -->
<trimTrailingWhitespace/>