mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
0ee1612fb1
commit
7ebb928834
1 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
output_dir=$1
|
||||
|
||||
if [[ -z $output_dir ]]; then
|
||||
echo "Docs will be generated in default directory in LS_HOME/build/docs"
|
||||
else
|
||||
echo "Docs will be generated in directory $output_dir"
|
||||
fi
|
||||
|
||||
# Since we are using the system jruby, we need to make sure our jvm process
|
||||
# uses at least 1g of memory, If we don't do this we can get OOM issues when
|
||||
# installing gems. See https://github.com/elastic/logstash/issues/5179
|
||||
|
@ -12,4 +20,4 @@ rm -rf build/docs/*
|
|||
grep -q -F "logstash-docgen" Gemfile || echo 'gem "logstash-docgen", :path => "./tools/logstash-docgen"' >> Gemfile
|
||||
rake bootstrap
|
||||
rake test:install-core
|
||||
rake docs:generate-plugins
|
||||
rake docs:generate-plugins[$output_dir]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue