Skip to content

AndyShen105/kudu

 
 

Repository files navigation

Viewing the Kudu web site locally

This repository contains a handy wrapper tool called 'site_tool' which takes care of installing and running the correct version of jekyll.

Note
this tool has the following minimum dependencies:
  • Python 2.6.6

  • Ruby 1.9.3 and the Ruby development headers. On Ubuntu, these are the ruby and ruby-dev packages.

  • libxslt and libxml2 development headers. On Ubuntu, these are the libxslt-dev and libxml2-dev packages.

./site_tool jekyll serve

This will start a local web server on http://localhost:4000/ where you can view the site just like it renders on the site.

In addition to serving static content, jekyll will render Markdown (the kramdown flavor) and also supports templating using Liquid templates.

Note
to use site_tool on CentOS 6.x, Ruby 1.9.3 and a compatible version of the V8 Javascript engine must be installed by enabling the ruby193 and v8314 SCL repos, installing the ruby193 and ruby193-ruby-devel packages, and running scl enable ruby193 bash before running site_tool.

Checking for broken links or syntax errors

Use the following command to verify that you didn’t introduce any broken links or HTML errors:

./site_tool proof

Updating the Kudu Website

To update HTML or MarkDown pages in this directory, edit them and git commit, then push your changes to Gerrit by issuing a command like:

git push gerrit HEAD:refs/for/gh-pages --no-thin

Updating the Site Navigation

To update the site navigation or overall page layout, edit _layouts/default.html. Submit your proposed changes to Gerrit, as above.

Updating the CSS

See the css/ directory.

kudu.css

Styles for the overall website.

asciidoc.css

Overrides for the documentation.

Updating the Documentation

For instructions on updating the Kudu documentation (the contents of the docs/ directory in this branch), and the Java API documentation (the contents of the apidocs/ directory in this branch, see https://github.com/apache/incubator-kudu#building-kudu-documentation.

About

Mirror of Apache Kudu

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 80.2%
  • Java 10.4%
  • C 2.6%
  • Python 1.9%
  • Scala 1.5%
  • CMake 1.0%
  • Other 2.4%