Repository: zeppelin
Updated Branches:
  refs/heads/gh-pages 97810a07f -> e53101f87


Update Zeppelin Website building instructions

### What is this PR for?
Usually in order to push jekyll code to github pages, it will compile using the 
`--safe`
One drawback is that you cannot use any plugins.

After working on PR #1356 and introduction a plugin, using the build line with 
`--safe` specified in the README is failing.

However in our case, we are not forced to use that flag, since we are sending 
the compiled website directly to the Apache SVN, and I was able to confirm that 
fact when I sent the updated website to the SVN and it was rendered correctly

Also since plugins like Google Analytics needs to be activated only in 
production we are adding a special production environment option to add 
`JEKYLL_ENV=production`

### What type of PR is it?
Documentation

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Damien CORNEAU <cornead...@gmail.com>

Closes #1405 from corneadoug/update/buildCommandLine and squashes the following 
commits:

a5652b1 [Damien CORNEAU] Change also in the website contribution guide
08b46e5 [Damien CORNEAU] Update to handle the production flag
acd0b04 [Damien CORNEAU] Remove --safe from building instruction


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/e53101f8
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/e53101f8
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/e53101f8

Branch: refs/heads/gh-pages
Commit: e53101f8789e1378ab04e003f80775c0758635d6
Parents: 97810a0
Author: Damien CORNEAU <cornead...@gmail.com>
Authored: Wed Sep 7 15:32:06 2016 +0900
Committer: Damien CORNEAU <cornead...@gmail.com>
Committed: Wed Sep 7 19:47:15 2016 +0900

----------------------------------------------------------------------
 contribution/documentation.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/e53101f8/contribution/documentation.md
----------------------------------------------------------------------
diff --git a/contribution/documentation.md b/contribution/documentation.md
index 0b9ec5b..db464fd 100644
--- a/contribution/documentation.md
+++ b/contribution/documentation.md
@@ -171,7 +171,7 @@ If you're going to create new pages, there are some spots 
you need to add the lo
 
     ```
     # go to /docs under Zeppelin source
-    bundle exec jekyll build --safe
+    JEKYLL_ENV=production bundle exec jekyll build
     ```
 
  2. checkout ASF repo

Reply via email to