mirror of
https://github.com/tappollo/IGListKit.git
synced 2026-05-28 23:21:32 +08:00
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
28 lines
649 B
Bash
Executable File
28 lines
649 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# 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 \
|
|
--clean \
|
|
--author 'Instagram' \
|
|
--author_url 'https://twitter.com/fbOpenSource' \
|
|
--github_url 'https://github.com/Instagram/IGListKit' \
|
|
--sdk iphonesimulator \
|
|
--module 'IGListKit' \
|
|
--framework-root . \
|
|
--umbrella-header $SOURCE_TMP/IGListKit.h \
|
|
--readme README.md \
|
|
--output docs/
|
|
|
|
# restore the dir per the jazzy issue
|
|
mv $SOURCE_TMP $SOURCE
|