### What is this PR for? What I did for the documents: * Highlight codes * Follow JSON syntax * Remove white spaces And in my opinion, [here](https://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/development/writingzeppelinvisualization.html#1-create-a-npm-package) is ambiguous: > "Normally, you can add any dependencies in package.json however Zeppelin Visualization package only allows two dependencies: zeppelin-vis and zeppelin-tabledata." Does it want to say "you can add any dependencies in package.json, but you must include two dependencies: zeppelin-vis and zeppelin-tabledata."? ### 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: Jun Kim <i2r.jun@gmail.com> Closes #2236 from tae-jun/helium-doc and squashes the following commits: |
||
|---|---|---|
| .. | ||
| _includes | ||
| _layouts | ||
| _plugins | ||
| assets/themes/zeppelin | ||
| development | ||
| displaysystem | ||
| install | ||
| interpreter | ||
| manual | ||
| quickstart | ||
| rest-api | ||
| security | ||
| storage | ||
| 404.html | ||
| _config.yml | ||
| atom.xml | ||
| Gemfile | ||
| Gemfile.lock | ||
| index.md | ||
| pleasecontribute.md | ||
| Rakefile | ||
| README.md | ||
| robot.txt | ||
| rss.xml | ||
| screenshots.md | ||
| search.md | ||
| search_data.json | ||
| sitemap.txt | ||
Apache Zeppelin documentation
This README will walk you through building the documentation of Apache Zeppelin. The documentation is included here with Apache Zeppelin source code. The online documentation at https://zeppelin.apache.org/docs/<ZEPPELIN_VERSION> is also generated from the files found in here.
Build documentation
Zeppelin is using Jekyll which is a static site generator and Github Pages as a site publisher. For the more details, see help.github.com/articles/about-github-pages-and-jekyll/.
Requirements
# ruby --version >= 2.0.0
# Install Bundler using gem
gem install bundler
cd $ZEPPELIN_HOME/docs
# Install all dependencies declared in the Gemfile
bundle install
For the further information about requirements, please see here.
On OS X 10.9, you may need to do
xcode-select --install
Run website locally
If you don't want to encounter uglily rendered pages, run the documentation site in your local first.
In $ZEPPELIN_HOME/docs,
bundle exec jekyll serve --watch
Using the above command, Jekyll will start a web server at http://localhost:4000 and watch the /docs directory to update.
Contribute to Zeppelin documentation
If you wish to help us and contribute to Zeppelin Documentation, please look at Zeppelin Documentation's contribution guideline.
For committers only
Bumping up version in a new release
ZEPPELIN_VERSIONandBASE_PATHproperty in _config.yml
Deploy to ASF svnpubsub infra
-
generate static website in
./_site# go to /docs under Zeppelin source bundle exec jekyll build --safe -
checkout ASF repo
svn co https://svn.apache.org/repos/asf/zeppelin asf-zeppelin -
copy
zeppelin/docs/_sitetoasf-zeppelin/site/docs/[VERSION] -
svn commit