Files
jekyll/script/profile-docs
Ashwin Maroli 9e4b4f2bd1 Backport #7948 for v3.8.x (#8125)
Attain Ruby 3.0 compatibility
This backports 389eb88 to 3.8-stable

Additionally backports 51d1366 for v3.8.x

Includes additional changes to appease RuboCop
Includes additional changes to CI configs
2020-04-16 22:33:17 +05:30

11 lines
369 B
Bash
Executable File

#!/usr/bin/env bash
#
# Build Jekyll's Documentation site in 'debug' mode and outputs the site's profile stats.
# Helps detecting *hard* breaking-changes (`jekyll build` aborts) and optimizations
# in the `build` process.
#
# Usage: bash script/profile-docs
SOURCE_DIR=$PWD/docs
bundle exec jekyll build -s $SOURCE_DIR -d $SOURCE_DIR/_site --profile --trace --verbose