Merge pull request #1508 from mapbox/1503-add-changelog

refs #1503: add changelog to appledoc
This commit is contained in:
Justin R. Miller
2015-05-11 13:29:54 -07:00
committed by Justin R. Miller
parent 93a5b71af9
commit b67ce2b09a
5 changed files with 30 additions and 70 deletions

View File

@@ -105,6 +105,11 @@ if [ -z `which appledoc` ]; then
fi
DOCS_OUTPUT="${OUTPUT}/static/Docs"
DOCS_VERSION=$( git tag -l ios\* --sort -v:refname | sed -n '1p' | sed 's/ios-v//' )
README="/tmp/GL-README.md"
cat ios/README.md > ${README}
echo >> ${README}
echo -n "#" >> ${README}
cat CHANGELOG.md >> ${README}
appledoc \
--output ${DOCS_OUTPUT} \
--project-name "Mapbox GL for iOS ${DOCS_VERSION}" \
@@ -113,4 +118,6 @@ appledoc \
--no-create-docset \
--no-install-docset \
--company-id com.mapbox \
--ignore include/mbgl/ios/private \
--index-desc ${README} \
include/mbgl/ios