Last active
August 29, 2015 13:57
-
-
Save GregMefford/9382965 to your computer and use it in GitHub Desktop.
Building the Logstash Documentation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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