You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2021/01/05 11:39:52 UTC

[sling-site] branch master updated: SLING-10036 add information about Maven Central and different artifact (#53)

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

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e676fc  SLING-10036 add information about Maven Central and different artifact (#53)
3e676fc is described below

commit 3e676fc87f459bdcf97e42d63bf18302437772f0
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Tue Jan 5 12:39:43 2021 +0100

    SLING-10036 add information about Maven Central and different artifact (#53)
    
    types
    
    add TOC
    restructure page
---
 src/main/jbake/content/downloads.md    | 32 +++++++++++++++++++++++++-------
 src/main/jbake/templates/downloads.tpl | 28 +++++++++++++++++-----------
 2 files changed, 42 insertions(+), 18 deletions(-)

diff --git a/src/main/jbake/content/downloads.md b/src/main/jbake/content/downloads.md
index 00d3c5d..1e72b12 100644
--- a/src/main/jbake/content/downloads.md
+++ b/src/main/jbake/content/downloads.md
@@ -2,22 +2,38 @@ title=Downloads
 type=downloads
 status=published
 tags=downloads,community,pmc
-tableOfContents=false
 ~~~~~~
 
-To get the latest development release of Apache Sling, you can check out the Source Code and Getting and Building Sling yourself. Otherwise, the releases below are available for download. To install, just download and extract.
+[TOC]
 
-Older releases are available at [http://archive.apache.org/dist/sling/](http://archive.apache.org/dist/sling/) .
+# Overview
 
-All Apache Sling products are distributed under the terms of The [Apache Software License](http://apache.org/licenses/) (version 2.0). See our license, or the LICENSE file included in each distribution.
+To get the latest development release of Apache Sling, you can [check out the source code and build Sling yourself](documentation/development/getting-and-building-sling.html). Otherwise, the releases below are available for download. To install, just download and extract.
 
-# How to validate the downloaded files
+All Apache Sling products are distributed under the terms of the [Apache Software License](http://apache.org/licenses/) (version 2.0). See our license, or the LICENSE file included in each distribution.
+
+For each module the following artifact types are provided
+
+1. Main binary
+1. Zip archive with complete project source code (classifier `source-release`)
+1. Jar archive with source files of classes contained in 1. (classifier `sources`)
+1. Jar archive containing [javadoc](https://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/)( (classifier `javadoc`)
+
+All those artifacts are accompanied by an according `*.asc` file containing the PGP signature.
+
+# Downloads
+
+## How to validate downloaded files
 
 The PGP keys at [https://downloads.apache.org/sling/KEYS](https://downloads.apache.org/sling/KEYS) can be used to verify the integrity of the release archives. See [https://www.apache.org/info/verification](https://www.apache.org/info/verification) for how that works.
 
-# Mirrors
+## Maven Central
+
+All Sling modules are provided from [Maven Central with groupId `org.apache.sling`](https://search.maven.org/search?q=g:org.apache.sling).
 
-Use the links below to download binary or source distributions of Apache Sling from one of our mirrors.
+## Apache Mirrors
+
+Use the links below to download binary or source distributions of Apache Sling from one of our ASF mirrors.
 
 You are currently using **[preferred]**. If you encounter a problem with
 this mirror, please select another mirror. If all mirrors are failing,
@@ -39,3 +55,5 @@ please reload this page by [downloads.cgi](clicking here)
 [end]
 </select>
 <input type="submit" value="Change"></input>
+
+Older releases are available at [http://archive.apache.org/dist/sling/](http://archive.apache.org/dist/sling/).
\ No newline at end of file
diff --git a/src/main/jbake/templates/downloads.tpl b/src/main/jbake/templates/downloads.tpl
index f5b749e..e1c3c24 100644
--- a/src/main/jbake/templates/downloads.tpl
+++ b/src/main/jbake/templates/downloads.tpl
@@ -359,20 +359,20 @@ def tableHead(String [] headers) {
 // ------------------------------------------------------------------------------------------------
 layout 'layout/main.tpl', true,
         projects: projects,
-        tags : contents {
-            include template: 'tags-brick.tpl'
+        breadcrumbs : contents {
+            include template : 'breadcrumbs-brick.tpl'
         },
-        lastModified: contents {
-            include template : 'lastmodified-brick.tpl'
+        tableOfContents : contents {
+            include template : 'toc-brick.tpl'
         },
         bodyContents: contents {
 
             div(class:"row"){
                 div(class:"small-12 columns"){
                     section(class:"wrap"){
-                        yieldUnescaped content.body
+                        yieldUnescaped U.processBody(content, config)
 
-						h2("Sling Application")
+						h3("Sling Application")
 						table(class:"table") {
 							tableHead("Artifact", "Version", "GitHub", "Provides", "Package")
 							tbody() {
@@ -394,7 +394,7 @@ layout 'layout/main.tpl', true,
 							}
 						}
 
-						h2("Sling IDE Tooling")
+						h3("Sling IDE Tooling")
 						table(class:"table") {
 							tableHead("Artifact", "Version", "Provides", "Update Site")
 							tbody() {
@@ -413,7 +413,7 @@ layout 'layout/main.tpl', true,
 							}
 						}
 
-						h2("Sling Components")
+						h3("Sling Components")
 						table(class:"table") {
 							tableHead("Artifact", "Version", "GitHub", "Binary", "Source")
 							tbody() {
@@ -440,7 +440,7 @@ layout 'layout/main.tpl', true,
 							}
 						}
 
-						h2("Maven Plugins")
+						h3("Maven Plugins")
 						table(class:"table") {
 							tableHead("Artifact", "Version", "GitHub", "Binary", "Source")
 							tbody() {
@@ -466,7 +466,7 @@ layout 'layout/main.tpl', true,
 							}
 						}
 
-						h2("bnd Plugins")
+						h3("bnd Plugins")
 						table(class:"table") {
 							tableHead("Artifact", "Version", "GitHub", "Binary", "Source")
 							tbody() {
@@ -492,7 +492,7 @@ layout 'layout/main.tpl', true,
 							}
 						}
 
-						h2("Deprecated")
+						h3("Deprecated")
 						table(class:"table") {
 							tableHead("Artifact", "Replacement", "Version", "Binary", "Source")
 							tbody() {
@@ -517,4 +517,10 @@ layout 'layout/main.tpl', true,
                     }
                 }
             }
+        },
+        tags : contents {
+            include template: 'tags-brick.tpl'
+        },
+        lastModified: contents {
+            include template : 'lastmodified-brick.tpl'
         }