From c75caa650bb73ae6f3ce193145f11d967fab073c Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Thu, 23 Jun 2016 15:34:28 -0400 Subject: [ios] Update and bundle docs screenshot - Don't use an absolute URL for the screenshot image, include the file instead. - Add Sketch document for screenshot. --- platform/ios/docs/doc-README.md | 2 +- platform/ios/originals/screenshots.sketch | Bin 0 -> 2875392 bytes platform/ios/screenshot.png | Bin 302191 -> 1239986 bytes platform/ios/scripts/document.sh | 2 ++ 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 platform/ios/originals/screenshots.sketch diff --git a/platform/ios/docs/doc-README.md b/platform/ios/docs/doc-README.md index 12dc5495f6..057dbe719c 100644 --- a/platform/ios/docs/doc-README.md +++ b/platform/ios/docs/doc-README.md @@ -2,7 +2,7 @@ The Mapbox iOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa Touch applications on iOS 7.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox GL Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL. -[![](https://raw.githubusercontent.com/mapbox/mapbox-gl-native/master/platform/ios/screenshot.png)]() +![Mapbox iOS SDK screenshots](screenshot.png) For setup information, check out the [Mapbox iOS SDK homepage](https://www.mapbox.com/ios-sdk/). For detailed usage instructions, read “[First steps with the Mapbox iOS SDK](https://www.mapbox.com/help/first-steps-ios-sdk/)” and consult the [online examples](https://www.mapbox.com/ios-sdk/examples/). A [full changelog](https://github.com/mapbox/mapbox-gl-native/blob/master/platform/ios/CHANGELOG.md) is also available. diff --git a/platform/ios/originals/screenshots.sketch b/platform/ios/originals/screenshots.sketch new file mode 100644 index 0000000000..9098b3db60 Binary files /dev/null and b/platform/ios/originals/screenshots.sketch differ diff --git a/platform/ios/screenshot.png b/platform/ios/screenshot.png index 5bea3095a6..6f5f7bb7d8 100644 Binary files a/platform/ios/screenshot.png and b/platform/ios/screenshot.png differ diff --git a/platform/ios/scripts/document.sh b/platform/ios/scripts/document.sh index b525b6db41..da456be485 100755 --- a/platform/ios/scripts/document.sh +++ b/platform/ios/scripts/document.sh @@ -32,6 +32,8 @@ sed -n -e '/^## /{' -e ':a' -e 'n' -e '/^##/q' -e 'p' -e 'ba' -e '}' platform/io rm -rf ${OUTPUT} mkdir -p ${OUTPUT} +cp platform/ios/screenshot.png "${OUTPUT}" + jazzy \ --config platform/ios/jazzy.yml \ --sdk iphonesimulator \ -- cgit v1.2.1