-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-585] Add new doc on how to embed Note\Paragraph plots into … #672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
5599d69
648067d
c7d380b
4e92c9f
9b877f6
fea0c4f
edab76d
a728c28
746b13c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| --- | ||
| layout: page | ||
| title: "Publish your Paragraph" | ||
| description: "" | ||
| group: manual | ||
| --- | ||
| <!-- | ||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
|
|
||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| --> | ||
| {% include JB/setup %} | ||
|
|
||
| ## How can you publish your paragraph ? | ||
| Zeppelin provides a feature for publishing your notebook paragraph results. Using this feature, you can show Zeppelin notebook paragraph results in your own website. | ||
| It's very straightforward. Just use `<iframe>` tag in your page. | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could have another Note under that line as a warning that says:
|
||
| ### Copy a Paragraph Link | ||
| A first step to publish your paragraph result is **Copy a Paragraph Link**. | ||
|
|
||
| * After running a paragraph in your Zeppelin notebook, click a gear button located on the right side. Then, click **Link this Paragraph** tab like below image. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure what's the right name for it, maybe it's not a 'tab'? Is it a menu item?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @felixcheung I applied it too : ) |
||
| <center><img src="../assets/themes/zeppelin/img/docs-img/link-the-paragraph.png" height="100%" width="100%"></center> | ||
|
|
||
| * Just copy the provided link. After then, change the host name to your ip address. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think changing host name only necessary if someone is running Zeppelin locally (like a laptop) but want it to be accessible outside of it? In normal use cases, Zeppelin should be running on a server?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @felixcheung You're right. I think I have to change this line for the normal use case : ) |
||
| <center><img src="../assets/themes/zeppelin/img/docs-img/copy-the-link.png" height="100%" width="100%"></center> | ||
|
|
||
| ### Embed the Paragraph to Your Own Web Site | ||
| For publishing the copied paragraph, you may use `<iframe>` tag in your web site page. | ||
| For example, | ||
|
|
||
| ``` | ||
| <iframe src="http://<your-ip-address>:<your-zeppelin-port>/#/notebook/2B3QSZTKR/paragraph/...?asIframe" height="" width="" ></iframe> | ||
| ``` | ||
|
|
||
| Finally, you can see your beautiful visualization results in your web site. | ||
| <center><img src="../assets/themes/zeppelin/img/docs-img/your-website.png" height="90%" width="90%"></center> | ||
|
|
||
| > **Note**: If your paragraph is not embeded properly, please confirm whether your ip address is valid or not. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please checkout [here]
--> please visit [this page]