From 0b971ed6409833ff0a1fcc99ed0041f96a104a27 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Mon, 6 Mar 2023 13:43:30 -0600 Subject: [PATCH 1/2] fix: Generate API Reference --- Scripts/jazzy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/jazzy.sh b/Scripts/jazzy.sh index c63184308..fdfb7f10a 100755 --- a/Scripts/jazzy.sh +++ b/Scripts/jazzy.sh @@ -14,7 +14,7 @@ bundle exec jazzy \ --skip-undocumented \ --exclude=./Bolts/* \ --module Parse \ - --umbrella-header Parse/Parse/Parse.h \ + --umbrella-header Parse/Parse/Source/Parse.h \ --framework-root Parse \ --output docs/api From ed71dd4dc50303989ff53defb37856577dbc2717 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Mon, 6 Mar 2023 14:07:22 -0600 Subject: [PATCH 2/2] allow script to fail properly --- Scripts/jazzy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/jazzy.sh b/Scripts/jazzy.sh index fdfb7f10a..5980869b4 100755 --- a/Scripts/jazzy.sh +++ b/Scripts/jazzy.sh @@ -2,7 +2,7 @@ mkdir -p ./Parse/Bolts # Create a temporary bolts folder cp -R Carthage/Checkouts/Bolts-ObjC/Bolts/**/*.h ./Parse/Bolts # Copy bolts ver=`/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" Parse/Parse/Resources/Parse-iOS.Info.plist` -bundle exec jazzy \ +set -eo pipefail && bundle exec jazzy \ --objc \ --clean \ --author "Parse Community" \