[ANNOUNCE] Commons Skin 4.2 Released

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ANNOUNCE] Commons Skin 4.2 Released

Alex Herbert-2
[Not cross posted to @announce since this is internal to Commons]

The Apache Commons Team is pleased to announce the availability of
version 4.2 of "Apache Commons Skin".

Apache Commons Skin is a Maven skin to apply the Commons styling to a site
built using the Maven site plugin.

Changes in this version include:

New features:
o   Optionally render bare <div class="source"><pre> tags using prettyprint.
    The functionality is enabled using custom properties to be added to the
    site.xml.

Fixed Bugs:
o   Fix processing of custom <footer> element from commons-parent site.xml.
o   Update processing of <head> section to handle injected XHTML.
o   Fixed background on navigation menu collapsed icon from white to
    transparent.

Removed:
o   Remove unused css files. These are not used in the current skin and
    are from previous skin versions.

Maven artifacts are available in the central Maven repository:
  https://repo.maven.apache.org/maven2/org/apache/commons/

You can test Apache Commons Skin by adding the following to your site.xml
site descriptor for the maven-site-plugin:

  <skin>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-skin</artifactId>
    <version>4.2</version>
  </skin>

  <custom>
    <!-- Custom properties controlling the commons-skin template. -->
    <commonsSkin>
      <!--
        Convert preformatted source section tags to prettyprint:
          <div class="source"><pre> to <div class="source"><pre
class="prettyprint">
      -->
      <prettyPrintSourcePreTags>true</prettyPrintSourcePreTags>

      <!-- Add the "linenums" class to the prettyprint enabled source tags
-->
      <prettyPrintLineNumbersEnabled>false</prettyPrintLineNumbersEnabled>
    </commonsSkin>
  </custom>


The Apache Commons Team