[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

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