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 2019/06/17 21:11:32 UTC
[maven-fluido-skin] branch master updated: Remove superfluous
comments
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git
The following commit(s) were added to refs/heads/master by this push:
new 553320a Remove superfluous comments
553320a is described below
commit 553320ab099d0f5ad7978809093a8158de5b07e1
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon Jun 17 23:11:25 2019 +0200
Remove superfluous comments
---
src/main/resources/META-INF/maven/site-macros.vm | 46 +-----------------------
src/main/resources/META-INF/maven/site.vm | 1 +
2 files changed, 2 insertions(+), 45 deletions(-)
diff --git a/src/main/resources/META-INF/maven/site-macros.vm b/src/main/resources/META-INF/maven/site-macros.vm
index e9553f0..f4f769e 100644
--- a/src/main/resources/META-INF/maven/site-macros.vm
+++ b/src/main/resources/META-INF/maven/site-macros.vm
@@ -48,8 +48,6 @@
#**##end
#end
##
-##
-##
#macro ( topLink $href $name $target )
#**##set ( $linkTitle = ' title="' + $name + '"' )
#**##if( $target )
@@ -60,8 +58,6 @@
#**#<a href="$href"$linkTarget title="$name">$name</a>##
#end
##
-##
-##
#macro ( topLinks $links )
#**##set ( $counter = 0 )
#**##foreach( $item in $links )
@@ -72,8 +68,6 @@
#**##end
#end
##
-##
-##
#macro ( link $href $name $target $img $position $alt $border $width $height $icon)
#**##set ( $linkTitle = ' title="' + $name + '"' )
#**##if( $target )
@@ -101,8 +95,6 @@
#**##end
#end
##
-##
-##
#macro ( image $img $alt $border $width $height )
#**##if( $img )
#* *##if ( !$decoration.isLink( $img ) )
@@ -136,8 +128,6 @@
#**##end
#end
##
-##
-##
#macro ( banner $banner $id )
#**##if ( $banner )
#* *##if( $banner.href )
@@ -200,8 +190,6 @@
#**##end
#end
##
-##
-##
#macro ( links $links )
#**##set ( $counter = 0 )
#**### MSKINS-41
@@ -221,8 +209,6 @@
#**##end
#end
##
-##
-##
#macro ( breadcrumbs $breadcrumbs $cssClass )
#**##set ( $breadcrumbDivider = $decoration.getCustomValue( 'fluidoSkin.breadcrumbDivider', '/' ) )
#**##foreach( $item in $breadcrumbs )
@@ -248,8 +234,6 @@
#**##end
#end
##
-##
-##
#macro ( displayTree $display $item )
#**##if ( $item && $item.items && $item.items.size() > 0 )
#* *##foreach( $subitem in $item.items )
@@ -265,8 +249,6 @@
#**##end
#end
##
-##
-##
#macro ( menuItem $item $indent )
#**##set ( $collapseClass = "none" )
#**##set ( $currentItemHref = $PathTool.calculateLink( $item.href, $relativePath ) )
@@ -328,8 +310,6 @@ $indent </ul>##
#**#</li>
#end
##
-##
-##
#macro ( mainMenu $menus )
<ul class="nav nav-list">
#**##foreach( $menu in $menus )
@@ -392,8 +372,6 @@ $indent </ul>##
</ul>
#end
##
-##
-##
#macro ( copyright )
#**##if ( $project )
#* *##if ( ${project.organization} && ${project.organization.name} )
@@ -420,8 +398,6 @@ $indent </ul>##
#**##end
#end
##
-##
-##
#macro ( publishDate $position $decorationPublishDate $version )
#**##if ( $publishDate )
#* *##set ( $dateValue = $dateFormat.format( $publishDate ) )
@@ -508,8 +484,6 @@ $indent </ul>##
#**##end
#end
##
-##
-##
#macro ( builtByLogo $poweredBy )
#**##if( $poweredBy )
#**##foreach ($item in $poweredBy)
@@ -577,8 +551,6 @@ $indent </ul>##
#**##end
#end
##
-##
-##
#macro ( piwik )
#**##if ( $decoration.getCustomChild( 'fluidoSkin.piwik.piwikUrl' )
&& $decoration.getCustomChild( 'fluidoSkin.piwik.idsite' ) )
@@ -600,8 +572,6 @@ $indent </ul>##
#**##end
#end
##
-##
-##
#macro ( googleAnalytics $accountId )
#**##if( $accountId && $accountId != "" )
<!-- Google Analytics -->
@@ -622,8 +592,6 @@ $indent </ul>##
#**##end
#end
##
-##
-##
#macro ( googleSearch $top )
<form id="search-form" action="https://www.google.com/search" method="get" #if ( $top ) class="navbar-search pull-right" #end>
#**##if( $decoration.getCustomChild( 'fluidoSkin.googleSearch.sitesearch' ) )
@@ -638,8 +606,6 @@ $indent </ul>##
<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
#end
##
-##
-##
#macro ( forkMeOnGitHub )
#**##if ( $decoration.getCustomChild( 'fluidoSkin.gitHub.projectId' ) )
##
@@ -675,7 +641,6 @@ $indent </ul>##
#**##end
#end
##
-##
## activate profile background image if custom.fluidoSkin.profile value set to "retired", "pre-release" or "sandbox"
#macro ( prjProfile )
#**##set ( $profile = $decoration.getCustomValue( 'fluidoSkin.profile', '' ) )
@@ -686,8 +651,6 @@ $indent </ul>##
#**##end
#end
##
-##
-##
#macro ( facebookLike $sideBarEnabled )
#**##if ( $decoration.getCustomChild( 'fluidoSkin.facebookLike' ) && $project.url )
## ## kindly hardcoded
@@ -713,8 +676,6 @@ $indent </ul>##
#**##end
#end
##
-##
-##
#macro ( followTwitter $sideBarEnabled )
#**##if ( $decoration.getCustomChild( 'fluidoSkin.twitter.user' ) )
#* *##set( $user = $decoration.getCustomValue( 'fluidoSkin.twitter.user' ) )
@@ -742,8 +703,6 @@ $indent </ul>##
#**##end
#end
##
-##
-##
#macro ( ohloh )
#**##if ( $decoration.getCustomChild( 'fluidoSkin.ohloh.projectId' ) )
#* *##set ( $projectId = $decoration.getCustomValue( 'fluidoSkin.ohloh.projectId' ) )
@@ -788,8 +747,6 @@ $indent </ul>##
#end
#end
##
-##
-##
#macro ( flattrHead )
#**##if ( $decoration.getCustomChild( 'fluidoSkin.flattr.thing' )
&& ( $decoration.getCustomChild( 'fluidoSkin.flattr.url' ) || $project.url ) )
@@ -806,8 +763,6 @@ $indent </ul>##
#**##end
#end
##
-##
-##
#macro ( flattrBody $sideBarEnabled )
#**##if ( $decoration.getCustomChild( 'fluidoSkin.flattr.thing' )
&& ( $decoration.getCustomChild( 'fluidoSkin.flattr.url' ) || $project.url ) )
@@ -836,6 +791,7 @@ $indent </ul>##
#* *##end
#**##end
#end
+##
#macro( generatedBy )
Apache Maven Doxia Site Renderer#if( $doxiaSiteRendererVersion ) $doxiaSiteRendererVersion#end##
#end
diff --git a/src/main/resources/META-INF/maven/site.vm b/src/main/resources/META-INF/maven/site.vm
index d25cee3..e246a66 100644
--- a/src/main/resources/META-INF/maven/site.vm
+++ b/src/main/resources/META-INF/maven/site.vm
@@ -15,6 +15,7 @@
## KIND, either express or implied. See the License for the
## specific language governing permissions and limitations
## under the License.
+##
#parse( "site-macros.vm" )
#set ( $skipGenerationDate = 'true' == $decoration.getCustomValue( 'fluidoSkin.skipGenerationDate' ) )
<!--