summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadia Barbosa <captainbarbosa@users.noreply.github.com>2019-07-17 13:02:30 -0700
committerGitHub <noreply@github.com>2019-07-17 13:02:30 -0700
commit54fb5b046e335fe1f71dcc1d41c8e65daca2e45c (patch)
tree10f0211d41b0f985875275030be0f5a53043c33c
parent5b820a926dae65547c6548b5a95f49a98728c99d (diff)
downloadqtlocation-mapboxgl-54fb5b046e335fe1f71dcc1d41c8e65daca2e45c.tar.gz
[ios, macos] Update Jazzy theme (#15125)
* [ios, macos] Update Jazzy theme module_version -> module-version * Update platform/macos/scripts/document.sh
m---------platform/darwin/docs/theme0
-rwxr-xr-xplatform/ios/scripts/document.sh8
-rwxr-xr-xplatform/ios/scripts/install-packaging-dependencies.sh2
-rwxr-xr-xplatform/macos/scripts/document.sh7
4 files changed, 7 insertions, 10 deletions
diff --git a/platform/darwin/docs/theme b/platform/darwin/docs/theme
-Subproject 681c200620233b9bf7b5b22f7a15be417324f67
+Subproject 75b9170a8b9f85d64f94e3083f8204edce10302
diff --git a/platform/ios/scripts/document.sh b/platform/ios/scripts/document.sh
index b2e8dc4f68..bb1c63dc6c 100755
--- a/platform/ios/scripts/document.sh
+++ b/platform/ios/scripts/document.sh
@@ -45,8 +45,6 @@ jazzy \
--root-url https://docs.mapbox.com/ios/api/maps/${RELEASE_VERSION}/ \
--theme ${THEME} \
--head "${CUSTOM_HEAD}" \
- --output ${OUTPUT}
-
-# https://github.com/realm/jazzy/issues/411
-find ${OUTPUT} -name *.html -exec \
- perl -pi -e 's/BRANDLESS_DOCSET_TITLE/iOS SDK $1/, s/Mapbox\s+(Docs|Reference)/Mapbox Maps SDK for iOS $1/' {} \;
+ --output ${OUTPUT} \
+ --title "Maps SDK for iOS" \
+ --module-version ${SHORT_VERSION}
diff --git a/platform/ios/scripts/install-packaging-dependencies.sh b/platform/ios/scripts/install-packaging-dependencies.sh
index 6f09e0d264..08b1e4278e 100755
--- a/platform/ios/scripts/install-packaging-dependencies.sh
+++ b/platform/ios/scripts/install-packaging-dependencies.sh
@@ -2,7 +2,7 @@
set -euo pipefail
-JAZZY_VERSION="0.9.6"
+JAZZY_VERSION="0.10.0"
function step { >&2 echo -e "\033[1m\033[36m* $@\033[0m"; }
function finish { >&2 echo -en "\033[0m"; }
diff --git a/platform/macos/scripts/document.sh b/platform/macos/scripts/document.sh
index 7960c87698..8d8d1c7bf2 100755
--- a/platform/macos/scripts/document.sh
+++ b/platform/macos/scripts/document.sh
@@ -47,7 +47,6 @@ jazzy \
--readme ${README} \
--documentation="platform/{darwin,macos}/docs/guides/*.md" \
--theme platform/darwin/docs/theme \
- --output ${OUTPUT}
-# https://github.com/realm/jazzy/issues/411
-find ${OUTPUT} -name *.html -exec \
- perl -pi -e 's/BRANDLESS_DOCSET_TITLE/Maps SDK for macOS $1/, s/Mapbox\s+(Docs|Reference)/Mapbox Maps SDK for macOS $1/' {} \;
+ --output ${OUTPUT} \
+ --title "Maps SDK for macOS" \
+ --module-version ${SHORT_VERSION}