summaryrefslogtreecommitdiff
path: root/ios/docs
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-03-22 00:53:36 -0700
committerJustin R. Miller <incanus@codesorcery.net>2015-03-22 00:53:36 -0700
commitecb8e2800d0fbc4e4f843b0d13efc28038ede3ef (patch)
tree76696092f23c0a09111bb4cc86508947719ab008 /ios/docs
parent188331505e78ccacb8f010b91d549735062c69e6 (diff)
downloadqtlocation-mapboxgl-ecb8e2800d0fbc4e4f843b0d13efc28038ede3ef.tar.gz
Cocoa annotations API
Diffstat (limited to 'ios/docs')
-rwxr-xr-xios/docs/install_docs.sh10
-rwxr-xr-xios/docs/remove_docs.sh2
2 files changed, 3 insertions, 9 deletions
diff --git a/ios/docs/install_docs.sh b/ios/docs/install_docs.sh
index 4d116c0332..cd6fcdda73 100755
--- a/ios/docs/install_docs.sh
+++ b/ios/docs/install_docs.sh
@@ -5,7 +5,7 @@ if [ -z `which appledoc` ]; then
exit 1
fi
-VERSION=$( git tag | sort -r | sed -n '1p' )
+VERSION=$( git tag | grep ^[0-9] | sort -r | sed -n '1p' )
echo "Creating new docs for $VERSION..."
echo
@@ -15,10 +15,4 @@ appledoc \
--project-company Mapbox \
--create-docset \
--company-id com.mapbox \
- --ignore app \
- --ignore dist \
- --ignore pkg \
- --ignore test \
- --ignore .m \
- --ignore .mm \
- . \ No newline at end of file
+ ../../include/mbgl/ios
diff --git a/ios/docs/remove_docs.sh b/ios/docs/remove_docs.sh
index bb8c008dc2..09e2c1d399 100755
--- a/ios/docs/remove_docs.sh
+++ b/ios/docs/remove_docs.sh
@@ -4,4 +4,4 @@ echo
echo "Removing docs from ~/Library/Developer/Shared/Documentation/DocSets..."
echo
-rm -rfv ~/Library/Developer/Shared/Documentation/DocSets/com.mapbox.Mapbox-GL-* \ No newline at end of file
+rm -rfv ~/Library/Developer/Shared/Documentation/DocSets/com.mapbox.Mapbox-GL-*