[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:
Submodule platform/darwin/docs/theme updated: 681c200620...75b9170a8b
@@ -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}
|
||||
|
||||
@@ -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"; }
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user