Skip to content

Commit

Permalink
Merge pull request #2181 from mapbox/jazzy-updates
Browse files Browse the repository at this point in the history
Update Jazzy theme
  • Loading branch information
1ec5 authored Jul 23, 2019
2 parents 523120a + a68fbc7 commit 7ae6e4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/jazzy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module: MapboxNavigation
author: Mapbox
title: "Navigation SDK for iOS"
author_url: https://docs.mapbox.com/ios/navigation/
github_url: https://github.com/mapbox/mapbox-navigation-ios
dash_url: https://docs.mapbox.com/ios/docsets/MapboxNavigation.xml
Expand Down
5 changes: 2 additions & 3 deletions scripts/document.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ jazzy \
--documentation="docs/guides/*.md" \
--root-url "${BASE_URL}/navigation/${RELEASE_VERSION}/" \
--theme ${THEME} \
--output ${OUTPUT}
--output ${OUTPUT} \
--module_version ${RELEASE_VERSION}

REPLACE_REGEXP='s/MapboxNavigation\s+(Docs|Reference)/Mapbox Navigation SDK for iOS $1/, '
REPLACE_REGEXP+='s/BRANDLESS_DOCSET_TITLE/Navigation SDK for iOS $1/, '
REPLACE_REGEXP+="s/<span class=\"kt\">(${DIRECTIONS_SYMBOLS})<\/span>/<span class=\"kt\"><a href=\"${BASE_URL//\//\\/}\/directions\/${DIRECTIONS_VERSION}\/Classes\/\$1.html\">\$1<\/a><\/span>/, "

find ${OUTPUT} -name *.html -exec \
Expand Down

0 comments on commit 7ae6e4e

Please sign in to comment.