PDavid commented on code in PR #6668:
URL: https://github.com/apache/hbase/pull/6668#discussion_r1971106678


##########
pom.xml:
##########
@@ -2910,6 +2987,55 @@
               </target>
             </configuration>
           </execution>
+          <!-- Copy static CSS and JS files for the website. -->
+          <execution>
+            <id>copy-css-js-to-site</id>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <phase>pre-site</phase>
+            <configuration>
+              <target>
+                <copy flatten="true" 
todir="${project.build.directory}/site/css">

Review Comment:
   Hmm, very good question, I guess it can work. :thinking:  I'll try this.
   
   Just there is one exception: in most cases we flatten the copied files but 
for MathJax we should not flatten (we should preserve the directory structure) 
as MathJax loads those files using those directories in the URI.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to