diff options
author | Jason Wray <jason@mapbox.com> | 2016-06-23 15:34:28 -0400 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2016-07-01 14:45:45 -0400 |
commit | c75caa650bb73ae6f3ce193145f11d967fab073c (patch) | |
tree | fb0f6bb992fd2c2e08b849cdd0acc895df86f2da | |
parent | 2e0ab45f42f260192ba5aa1eac02bdeb70e3f481 (diff) | |
download | qtlocation-mapboxgl-c75caa650bb73ae6f3ce193145f11d967fab073c.tar.gz |
[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.
-rw-r--r-- | platform/ios/docs/doc-README.md | 2 | ||||
-rw-r--r-- | platform/ios/originals/screenshots.sketch | bin | 0 -> 2875392 bytes | |||
-rw-r--r-- | platform/ios/screenshot.png | bin | 302191 -> 1239986 bytes | |||
-rwxr-xr-x | platform/ios/scripts/document.sh | 2 |
4 files changed, 3 insertions, 1 deletions
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 Binary files differnew file mode 100644 index 0000000000..9098b3db60 --- /dev/null +++ b/platform/ios/originals/screenshots.sketch diff --git a/platform/ios/screenshot.png b/platform/ios/screenshot.png Binary files differindex 5bea3095a6..6f5f7bb7d8 100644 --- a/platform/ios/screenshot.png +++ b/platform/ios/screenshot.png 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 \ |