tree: 2f17b687531aa8e23c59326d598cd55b56fc6daa [path history] [tgz]
  1. Gemfile
  2. Gemfile.lock
  3. Makefile
  5. _config.yml
  6. _docs/
  7. _layouts/
  8. archive/
  9. community/
  10. contribute/
  11. css/
  12. fonts/
  13. img/
  15. js/
  16. learn/
  17. less/
  18. sitemap.xml
  19. startup/


Samza's documentation uses Jekyll to build a website out of markdown pages. Prerequisites:

  1. You need Ruby installed on your machine (run ruby --version to check)
  2. Install Bundler by running sudo gem install bundler
  3. To install Jekyll and its dependencies, change to the docs directory and run bundle install

To serve the website on localhost:4000:

bundle exec jekyll serve --watch --baseurl

To compile the website in the _site directory, execute:

bundle exec jekyll build

To test the site, run:

bundle exec jekyll serve --watch --baseurl


If you‘re working with versioned content (anything in the learn or img directories), you’ll also need to run a script that generates the appropriate directories:


The script must be run every time a change is made to versioned content locally in order to trigger a refresh with Jekyll.

Keep in mind that versioned content in older versions links to, not the localhost:4000. This is because they are not updated by your branch and are using the values in SVN instead.

To add a new version, change the version number in _config.yml. All links in pages should use {{site.version}}, not hard-coded version number.


To auto-generate the latest Javadocs, run:



To build and publish the website to Samza's Apache SVN repository, run:

bin/ "updating welcome page" criccomini

This command will re-build the Javadocs and website, checkout locally, copy the site into the directory, and commit the changes.

Release-new-version Website Checklist

Assume we want to release x.x.x and the next release is y.y.y in master, need to work on two branches: x.x.x and master.

Following can be done when updating the file

  1. in x.x.x branch,

    • modify the docs/_config.yml to make the “version” and “latest-release” to x.x.x

    • remove “git checkout latest” in docs/startup/hello-samza/versioned/

  2. in master branch,

    • modify the docs/_config.yml to make the “latest-release” to x.x.x

    • add the x.x.x release to Archive category in docs/_layout/default.html and x.x.x release part in docs/archive/index.html

    • update the download page to use x.x.x release

    • update the version number in “tar -xvf ./target/hello-samza-y.y.y-dist.tar.gz -C deploy/samza” in docs/startup/hello-samza/versioned/

After apache mirrors pick up the new release,

  1. in x.x.x branch, run bin/ “updating welcome page” criccomini

  2. in master branch, run bin/ “updating welcome page” criccomini