zeppelin/docs
1ambda 90e8b80b56 [ZEPPELIN-2070][DOCS] Create Docs for Spell
### What is this PR for?

Docs for Spell which was added by #1940

### What type of PR is it?
[Documentation]

### Todos
* [x] - Add docs for spell
* [x] - Fix typo in vis docs

### What is the Jira issue?

[ZEPPELIN-2070](https://issues.apache.org/jira/browse/ZEPPELIN-2070)

### How should this be tested?

- `cd docs`
- `/usr/local/bin/bundle exec jekyll serve --watch`
- Open `http://localhost:4000/development/writingzeppelinspell.html`

### Screenshots (if appropriate)

![image](https://cloud.githubusercontent.com/assets/4968473/22772190/9e6cfbfc-eede-11e6-8f36-8ee3749d4b36.png)

![image](https://cloud.githubusercontent.com/assets/4968473/22772341/703c4d54-eedf-11e6-87ba-a8446f35c862.png)

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

Author: 1ambda <1amb4a@gmail.com>

Closes #1998 from 1ambda/ZEPPELIN-2070/docs-for-spell and squashes the following commits:

dbb8082 [1ambda] fix: Typo
af63ff6 [1ambda] fix: Enhance spell doc
9fd2a3b [1ambda] fix: Typo
0851ad1 [1ambda] fix: Typo in spell doc
00d5158 [1ambda] fix: Indent
c7dc9bd [1ambda] fix: Typo in writing in viz
bcc9b3e [1ambda] docs: Add docs for spell
83ee050 [1ambda] docs: Add spell doc to nav
04deb81 [1ambda] fix: Invalid desc in vis docs
2017-02-16 10:25:55 +09:00
..
_includes [ZEPPELIN-2070][DOCS] Create Docs for Spell 2017-02-16 10:25:55 +09:00
_layouts ZEPPELIN-279: move website w/ docs to master branch 2015-09-05 19:48:22 +09:00
_plugins ZEPPELIN-279: move website w/ docs to master branch 2015-09-05 19:48:22 +09:00
assets/themes/zeppelin [ZEPPELIN-2070][DOCS] Create Docs for Spell 2017-02-16 10:25:55 +09:00
development [ZEPPELIN-2070][DOCS] Create Docs for Spell 2017-02-16 10:25:55 +09:00
displaysystem [HOT FIX] Fix broken display_formula.png by using relative path 2016-12-13 16:03:29 -08:00
install [MINOR][ZEPPELIN-2087] Make each Zeppelin conf property accessible with anchor link 2017-02-11 21:07:12 +09:00
interpreter [ZEPPELIN-2003] Remove PostgresqlInterpreter 2017-02-02 15:54:19 +09:00
manual [MINOR][ZEPPELIN-2090] Remove "zeppelin.interpreters" property related guide msg 2017-02-11 21:29:05 +09:00
quickstart [ZEPPELIN-1798][DOCS] Update docs with benv instead of env in Flink e… 2016-12-17 07:46:53 -08:00
rest-api [ZEPPELIN-2003] Remove PostgresqlInterpreter 2017-02-02 15:54:19 +09:00
security [ZEPPELIN-2036] add documentation on separating workspaces (public/private) 2017-02-03 21:14:23 +09:00
storage [ZEPPELIN-1465] Add an option to allow S3 server-side encryption 2017-02-05 15:55:08 +09:00
404.html ZEPPELIN-279: move website w/ docs to master branch 2015-09-05 19:48:22 +09:00
_config.yml Bump up version to 0.8.0-SNAPSHOT 2017-01-19 02:04:24 +09:00
atom.xml [ZEPPELIN-1514] Make atom, rss, sitemap file not to be searched 2016-10-03 16:46:44 +09:00
Gemfile Apply #407 into master branch 2015-11-13 21:12:36 +09:00
Gemfile.lock [ZEPPELIN-813] Update safe_yaml version 0.9.7 -> 1.0.4 2016-07-21 11:01:44 +09:00
index.md [MINOR][ZEPPELIN-1913] Separate "Apache Zeppelin Configuration" from quickstart page 2017-01-08 14:43:47 +09:00
pleasecontribute.md [ZEPPELIN-1219] Add searching feature to Zeppelin docs site 2016-08-10 12:39:22 +09:00
Rakefile ZEPPELIN-279: move website w/ docs to master branch 2015-09-05 19:48:22 +09:00
README.md [ZEPPELIN-1421] Fix dead link in docs/README.md 2016-09-19 15:50:43 +09:00
robot.txt Apply #407 into master branch 2015-11-13 21:12:36 +09:00
rss.xml [ZEPPELIN-1514] Make atom, rss, sitemap file not to be searched 2016-10-03 16:46:44 +09:00
screenshots.md [ZEPPELIN-1398] Use relative path for search_data.json 2016-09-06 18:22:57 +09:00
search.md [ZEPPELIN-1219] Add searching feature to Zeppelin docs site 2016-08-10 12:39:22 +09:00
search_data.json [ZEPPELIN-1219] Add searching feature to Zeppelin docs site 2016-08-10 12:39:22 +09:00
sitemap.txt [ZEPPELIN-1514] Make atom, rss, sitemap file not to be searched 2016-10-03 16:46:44 +09:00

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_VERSION and BASE_PATH property in _config.yml

Deploy to ASF svnpubsub infra

  1. generate static website in ./_site

    # go to /docs under Zeppelin source
    bundle exec jekyll build --safe
    
  2. checkout ASF repo

    svn co https://svn.apache.org/repos/asf/zeppelin asf-zeppelin
    
  3. copy zeppelin/docs/_site to asf-zeppelin/site/docs/[VERSION]

  4. svn commit