Skip to content

Instantly share code, notes, and snippets.

@GregMefford
Last active August 29, 2015 13:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GregMefford/9382965 to your computer and use it in GitHub Desktop.
Save GregMefford/9382965 to your computer and use it in GitHub Desktop.
Building the Logstash Documentation
Setting up the Environment (on CentOS+EPEL, assuming you already have RVM installed)
====================================================================================
rvm install ruby-1.9
rvm use ruby-1.9
gem install bluecloth cabin i18n stud
yum install asciidoc pandoc
git checkout https://github.com/elasticsearch/logstash.git
cd logstash/
bin/logstash deps
cd ..
git checkout https://github.com/logstash/logstash.net.git
cd logstash.net/
bundle install
export VERSION=1.3.3
Build the doc source in the logstash repo
=========================================
cd ../logstash/
make docs
rm -rf ../logstash.net/docs/$VERSION
cp -R build/docs ../logstash.net/docs/$VERSION
Build the website in the logstash.net repo
==========================================
cd ../logstash.net/
make clean update VERSION=$VERSION
bundle exec jekyll --rdiscount --no-auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment