2016-09-07 22:37:59 +00:00
|
|
|
#!/bin/bash
|
2019-12-19 17:32:49 +00:00
|
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
|
#
|
|
|
|
|
# This source code is licensed under the MIT license found in the
|
|
|
|
|
# LICENSE file in the root directory of this source tree.
|
2016-09-07 22:37:59 +00:00
|
|
|
|
2017-05-25 14:38:06 +00:00
|
|
|
if ! which jazzy >/dev/null; then
|
|
|
|
|
echo "Jazzy not detected: You can download it from https://github.com/realm/jazzy"
|
|
|
|
|
exit
|
|
|
|
|
fi
|
|
|
|
|
|
2016-09-07 22:37:59 +00:00
|
|
|
# Docs by jazzy
|
|
|
|
|
# https://github.com/realm/jazzy
|
|
|
|
|
# ------------------------------
|
2016-10-20 16:23:30 +00:00
|
|
|
SOURCE=Source
|
|
|
|
|
SOURCE_TMP=IGListKit
|
2017-01-28 09:05:16 +00:00
|
|
|
SOURCEDIR=Source/
|
2016-09-07 22:37:59 +00:00
|
|
|
|
|
|
|
|
jazzy \
|
|
|
|
|
--objc \
|
|
|
|
|
--clean \
|
|
|
|
|
--author 'Instagram' \
|
|
|
|
|
--author_url 'https://twitter.com/fbOpenSource' \
|
|
|
|
|
--github_url 'https://github.com/Instagram/IGListKit' \
|
|
|
|
|
--sdk iphonesimulator \
|
|
|
|
|
--module 'IGListKit' \
|
2019-11-21 00:20:23 +00:00
|
|
|
--framework-root $SOURCEDIR/ \
|
|
|
|
|
--umbrella-header $SOURCEDIR/$SOURCE_TMP/IGListKit.h \
|
2016-09-07 22:37:59 +00:00
|
|
|
--readme README.md \
|
2016-11-23 20:42:52 +00:00
|
|
|
--documentation "Guides/*.md" \
|
2016-09-07 22:37:59 +00:00
|
|
|
--output docs/
|