### What is this PR for? This PR contains miscellaneous fixes & improvements for documentation: - fixes for code snippets formatting, like, https://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/setup/security/shiro_authentication.html#apply-multiple-roles-in-shiro-configuration - fixes syntax highlighting (adding `scala`, `xml`, `java`, `bash`, ...) - fixes for list of interpreters - ... ### What type of PR is it? Documentation Author: Alex Ott <alexott@gmail.com> Closes #2997 from alexott/doc-formatting-fixes and squashes the following commits:10eed86ca[Alex Ott] Merge branch 'master' into doc-formatting-fixes37a2bb778[Alex Ott] miscellaneous fixes - wording, formatting, etc.63ca2b0e2[Alex Ott] fix usage of the ``` markup that lead to broken formatting9d285a1b7[Alex Ott] Fix list of interpreters5a7950e79[Alex Ott] add missing language spec for syntax highlightingbb26a2954[Alex Ott] use same formatting for parser namec90b61f11[Alex Ott] use same capitalization in all interpreter namesa994f4ecf[Alex Ott] improve formatting for Cassandra interpreter docs
2.1 KiB
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