Repository: incubator-zeppelin
Updated Branches:
  refs/heads/gh-pages 493106f77 -> b375526ea


ZEPPELIN-74 Update document for changing interpreter selection from %[name] to 
%[group].[name]

Update document for changing interpreter selection from %[name] to 
%[group].[name], which is addressed in #96

Author: Lee moon soo <[email protected]>

Closes #115 from Leemoonsoo/ZEPPELIN-74-doc and squashes the following commits:

b0a5f77 [Lee moon soo] ZEPPELIN-74 Update document for changing interpreter 
selection from %[name] to %[group].[name]


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

Branch: refs/heads/gh-pages
Commit: b375526ea3d037c12d81d92cbaa33aeb7fdef3d1
Parents: 493106f
Author: Lee moon soo <[email protected]>
Authored: Mon Jun 22 14:04:48 2015 -0700
Committer: Lee moon soo <[email protected]>
Committed: Sat Jun 27 11:06:11 2015 -0700

----------------------------------------------------------------------
 docs/development/writingzeppelininterpreter.md | 47 +++++++++++++++++++++
 1 file changed, 47 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/b375526e/docs/development/writingzeppelininterpreter.md
----------------------------------------------------------------------
diff --git a/docs/development/writingzeppelininterpreter.md 
b/docs/development/writingzeppelininterpreter.md
index 266cecb..4e185ee 100644
--- a/docs/development/writingzeppelininterpreter.md
+++ b/docs/development/writingzeppelininterpreter.md
@@ -46,6 +46,7 @@ for example,
 
 ### Use your interpreter
 
+#### 0.5.0
 Inside of a notebook, %[INTERPRETER_NAME] directive will call your interpreter.
 Note that the first interpreter configuration in zeppelin.interpreters will be 
the default one.
 
@@ -58,6 +59,52 @@ val a = "My interpreter"
 println(a)
 ```
 
+<br />
+#### 0.6.0 and later
+Inside of a noteobok, %[INTERPRETER\_GROUP].[INTERPRETER\_NAME] directive will 
call your interpreter.
+Note that the first interpreter configuration in zeppelin.interpreters will be 
the default one.
+
+You can omit either [INTERPRETER\_GROUP] or [INTERPRETER\_NAME]. Omit 
[INTERPRETER\_NAME] selects first available interpreter in the 
[INTERPRETER\_GROUP].
+Omit '[INTERPRETER\_GROUP]' will selects [INTERPRETER\_NAME] from defualt 
interpreter group.
+
+
+For example, if you have two interpreter myintp1 and myintp2 in group mygrp,
+
+you can call myintp1 like
+
+```
+%mygrp.myintp1
+
+codes for myintp1
+```
+
+and you can call myintp2 like
+
+```
+%mygrp.myintp2
+
+codes for myintp2
+```
+
+If you ommit your interpreter name, it'll selects first available interpreter 
in the group (myintp1)
+
+```
+%mygrp
+
+codes for myintp1
+
+```
+
+You can only ommit your interpreter group when your interpreter group is 
selected as a default group.
+
+```
+%myintp2
+
+codes for myintp2
+```
+
+
+
 
 ### Examples
 

Reply via email to