Skip to content

Instantly share code, notes, and snippets.

@GregMefford

GregMefford/gist:9382965

Last active Aug 29, 2015
Embed
What would you like to do?
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