The Metron website is a static site generated using Jekyll. The markdown content is stored in master, but the generated static site is stored in a special branch, asf-site, which is pulled and served up by the ASF Infra team.
If you need to merge a pull request that involves a change to the website, you can follow the following steps:
Prerequisites:
sudo gem install bundler
sudo gem install jekyll
To evaluate a website change, you should
bundle install
bundle exec jekyll serve
Navigate to http://localhost:4000 to review the site
This will create the static site in the target directory.
After the requisite +1's are obtained, you should commit this branch to master via the normal commit method. You still, however, need to push the generated site to the asf-site branch.
This is done by the following steps:
bundle install
bundle exec jekyll serve
After pushing the asf-site branch, go to the live site and reload (this may take a few seconds to go live). Click around and ensure the live site looks as expected.
If you have trouble installing Jekyll you may need to add some additional tools to get it to compile. This worked for me on Mac OSX 10.13.1 (High Sierra), Homebrew 1.5.3, Ruby 2.5.0p0. (Skip the ruby install if you already have it configured properly.)
brew install ruby
brew install autoconf
brew install automake
brew install libtool