mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-23 17:28:22 +00:00
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:
parent
f6e088acd8
commit
7163cf8868
1 changed files with 10 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue