[ios, macos] Update Jazzy theme (#15125)

* [ios, macos] Update Jazzy theme

module_version -> module-version

* Update platform/macos/scripts/document.sh
This commit is contained in:
Nadia Barbosa
2019-07-17 13:02:30 -07:00
committed by GitHub
parent 5b820a926d
commit 54fb5b046e
4 changed files with 8 additions and 11 deletions

View File

@@ -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}

View File

@@ -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"; }

View File

@@ -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}