Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Uhh, so jazzy doesn't seem to support ruby 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
friedbunny committed Jan 5, 2018
1 parent c39b440 commit 12ecfc8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'https://rubygems.org' do
gem 'jazzy', :git => 'https://github.com/realm/jazzy.git', :ref => '4157c7608610cddd43cfae08ee5606fde09a32a8'
#gem 'jazzy', :git => 'https://github.com/realm/jazzy.git', :ref => '4157c7608610cddd43cfae08ee5606fde09a32a8'
gem 'xcpretty', :git => 'https://github.com/technology-ebay-de/xcpretty.git', :branch => 'feature/parallel-testing-support'
end
12 changes: 8 additions & 4 deletions platform/ios/scripts/document.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ set -e
set -o pipefail
set -u

# Install jazzy (and other dependencies), if not already installed.
if [ ! -d "./gems" ]; then
bundle install --path=./gems
if [ -z `which jazzy` ]; then
echo "Installing jazzy…"
gem install jazzy --no-rdoc --no-ri
if [ -z `which jazzy` ]; then
echo "Unable to install jazzy. See https://github.com/mapbox/mapbox-gl-native/blob/master/platform/ios/INSTALL.md"
exit 1
fi
fi

OUTPUT=${OUTPUT:-documentation}
Expand All @@ -32,7 +36,7 @@ cp -r platform/ios/docs/img "${OUTPUT}"
DEFAULT_THEME="platform/darwin/docs/theme"
THEME=${JAZZY_THEME:-$DEFAULT_THEME}

bundle exec jazzy \
jazzy \
--config platform/ios/jazzy.yml \
--sdk iphonesimulator \
--github-file-prefix https://github.com/mapbox/mapbox-gl-native/tree/${BRANCH} \
Expand Down

0 comments on commit 12ecfc8

Please sign in to comment.