You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2017/09/28 17:22:48 UTC

sling-site git commit: Adapt build instructions

Repository: sling-site
Updated Branches:
  refs/heads/master 1f63ef3cd -> 61ab6d216


Adapt build instructions


Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/61ab6d21
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/61ab6d21
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/61ab6d21

Branch: refs/heads/master
Commit: 61ab6d216855445f47e095543cc337d780f6654d
Parents: 1f63ef3
Author: Bertrand Delacretaz <bd...@apache.org>
Authored: Thu Sep 28 19:22:36 2017 +0200
Committer: Bertrand Delacretaz <bd...@apache.org>
Committed: Thu Sep 28 19:22:36 2017 +0200

----------------------------------------------------------------------
 README.md | 24 ++++--------------------
 1 file changed, 4 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sling-site/blob/61ab6d21/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 4f1bd00..10e7d8b 100644
--- a/README.md
+++ b/README.md
@@ -9,26 +9,10 @@ Clone this repository, run the below Maven command, http://localhost:8820/ and e
     mvn clean package jbake:inline -Djbake.port=8820 -Djbake.listenAddress=0.0.0.0
 
 ## How to publish the website
-Build the site using `mvn clean package` after changing the JBake settings using this patch:
-
-(TODO: automate this using Maven resource rewriting or something similar.)
-
-    diff --git a/src/main/jbake/jbake.properties b/src/main/jbake/jbake.properties
-    index 3f7121e..df175e6 100644
-    --- a/src/main/jbake/jbake.properties
-    +++ b/src/main/jbake/jbake.properties
-    @@ -1,6 +1,6 @@
-     feed.id=localhost
-    -site.host=http://localhost
-    -site.contextPath=/
-    +site.host=http://sling.apache.org      
-    +site.contextPath=/ng/
-     foundation.version=5.5.1
-     blog.title=Apache Sling
-     blog.subtitle=Work in progress...
-	 
-and then sync the `target/sling-site-*` folder to the `asf-site` branch
-of this Git repository. The ASF's gitpubsub mechanism then synchronizes that content
+Build the site using `mvn clean package` and then sync the `target/sling-site-*` folder to the `asf-site` branch
+of this Git repository, commit and push that branch.
+
+The ASF's gitpubsub mechanism then synchronizes that content
 on the http://sling.apache.org website, usually within a few seconds.
 
 ## TODO