Workaround Jazzy script bug

Summary:
Temporary fix for the doc generation bug. Works now by simply running `$ ./build_docs.sh`.

cc jessesquires that this fix is good for now

Fixes #55

Jazzy bug at realm/jazzy#667
Closes https://github.com/Instagram/IGListKit/pull/93

Differential Revision: D4051337

Pulled By: jessesquires

fbshipit-source-id: 2ad1c45df55ca61ef9a243d0ad33af20b8349f96
This commit is contained in:
Ryan Nystrom 2016-10-20 09:23:30 -07:00 committed by Facebook Github Bot
parent f6e088acd8
commit 7163cf8868

View file

@ -3,6 +3,12 @@
# Docs by jazzy
# https://github.com/realm/jazzy
# ------------------------------
SOURCE=Source
SOURCE_TMP=IGListKit
# temporary workaround when using SPM dir format
# https://github.com/realm/jazzy/issues/667
mv $SOURCE $SOURCE_TMP
jazzy \
--objc \
@ -13,6 +19,9 @@ jazzy \
--sdk iphonesimulator \
--module 'IGListKit' \
--framework-root . \
--umbrella-header Source/IGListKit.h \
--umbrella-header $SOURCE_TMP/IGListKit.h \
--readme README.md \
--output docs/
# restore the dir per the jazzy issue
mv $SOURCE_TMP $SOURCE