You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2024/05/20 08:23:27 UTC

(maven-fluido-skin) branch bugfix/add-code-highlightling-for-all-pre-code-combinations updated (2b56992 -> ab1e6a3)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch bugfix/add-code-highlightling-for-all-pre-code-combinations
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git


    omit 2b56992  [MSKINS-245] Add code highlighting class to every <pre><code> combination
     add 1f449b6  [MSKINS-246] Upgrade plugins and components (in ITs)
     add 341db6d  Bump maven-gh-actions-shared to v4
     new ab1e6a3  [MSKINS-245] Add code highlighting class to every <pre><code> combination

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (2b56992)
            \
             N -- N -- N   refs/heads/bugfix/add-code-highlightling-for-all-pre-code-combinations (ab1e6a3)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/maven-verify.yml        | 2 +-
 pom.xml                                   | 2 +-
 src/it/mskins-107/verify.groovy           | 2 +-
 src/main/resources/META-INF/maven/site.vm | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)


(maven-fluido-skin) 01/01: [MSKINS-245] Add code highlighting class to every
 combination

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch bugfix/add-code-highlightling-for-all-pre-code-combinations
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git

commit ab1e6a348671a3413bb51da45f1e4cfa97a3c5da
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Mon Mar 11 09:07:35 2024 +0100

    [MSKINS-245] Add code highlighting class to every <pre><code> combination
    
    Don't rely on custom div classes surrounding those.
    
    This closes #58
---
 src/main/resources/META-INF/maven/site.vm | 2 +-
 src/main/resources/css/maven-base.css     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/META-INF/maven/site.vm b/src/main/resources/META-INF/maven/site.vm
index 5e0604f..26bb876 100644
--- a/src/main/resources/META-INF/maven/site.vm
+++ b/src/main/resources/META-INF/maven/site.vm
@@ -239,7 +239,7 @@
 #*        *##set( $sourceStyle = "prettyprint" )
 #*      *##end
 ##
-#*      *#$bodyContent.replaceAll( '<div class="verbatim source">(\r?\n)?<pre>', '<div class="verbatim source"><pre class="' + $sourceStyle + '">' ).replaceAll( 'class="bodyTable"', 'class="table table-striped"' ).replaceAll( 'class="bodyTable bodyTableBorder"', 'class="table table-bordered table-striped"' )
+#*      *#$bodyContent.replace( '<pre><code>', '<pre class="' + $sourceStyle + '"><code>' ).replace( 'class="bodyTable"', 'class="table table-striped"' ).replace( 'class="bodyTable bodyTableBorder"', 'class="table table-bordered table-striped"' )
         </main>
 #*    *##if( $sideBarEnabled )
       </div>
diff --git a/src/main/resources/css/maven-base.css b/src/main/resources/css/maven-base.css
index 829ef71..5747cd6 100644
--- a/src/main/resources/css/maven-base.css
+++ b/src/main/resources/css/maven-base.css
@@ -30,7 +30,7 @@ section > p,
 section > dt,
 section > dl,
 section > table.table,
-section > div.verbatim {
+section > pre {
   margin-right: 7px;
   margin-left: 7px;
 }