diff options
author | Eric Wolfe <eric.r.wolfe@gmail.com> | 2016-12-21 10:22:13 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-21 10:22:13 -0800 |
commit | 9faa4af1c3cf0665ede20de8d98005ef9016b792 (patch) | |
tree | 39f2b2ab956798038271bf4a2507c5d6d6d1b9ea /platform/ios/scripts/document.sh | |
parent | b27dabfe472b633922c8beb615a80201ef5b8635 (diff) | |
download | qtlocation-mapboxgl-9faa4af1c3cf0665ede20de8d98005ef9016b792.tar.gz |
[ios] Add inline examples in documentation (#7337)
Diffstat (limited to 'platform/ios/scripts/document.sh')
-rwxr-xr-x | platform/ios/scripts/document.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/ios/scripts/document.sh b/platform/ios/scripts/document.sh index fddf5abb0f..78eb5121eb 100755 --- a/platform/ios/scripts/document.sh +++ b/platform/ios/scripts/document.sh @@ -35,11 +35,16 @@ cp platform/ios/screenshot.png "${OUTPUT}" DEFAULT_THEME="platform/darwin/docs/theme" THEME=${JAZZY_THEME:-$DEFAULT_THEME} +DEFAULT_FRAMEWORK_PATH="build/ios/pkg/dynamic/Mapbox.framework" +FRAMEWORK_PATH=${FRAMEWORK_PATH:-$DEFAULT_FRAMEWORK_PATH} + jazzy \ --config platform/ios/jazzy.yml \ --sdk iphonesimulator \ --github-file-prefix https://github.com/mapbox/mapbox-gl-native/tree/${BRANCH} \ --module-version ${SHORT_VERSION} \ + --framework-root ${FRAMEWORK_PATH} \ + --umbrella-header "${FRAMEWORK_PATH}/Headers/Mapbox.h" \ --readme ${README} \ --documentation="platform/ios/docs/Info.plist Keys.md" \ --root-url https://www.mapbox.com/ios-sdk/api/${RELEASE_VERSION}/ \ |