mirror of
https://github.com/tappollo/IGListKit.git
synced 2026-01-12 22:45:13 +08:00
Summary: - Create `Guides/` top-level dir - Move `README` "creating first list" contents into `Guides/Getting Started.md` - Add initial `Guides/Migration.md` (ref #221) - Fix #245 See rendered guides at: - https://github.com/Instagram/IGListKit/blob/guides-setup/Guides/Getting%20Started.md - https://github.com/Instagram/IGListKit/blob/guides-setup/Guides/Migration.md Closes https://github.com/Instagram/IGListKit/pull/252 Differential Revision: D4228332 Pulled By: jessesquires fbshipit-source-id: f26c2c1ee3cfefb40be1f99674702f95394d4aaf
29 lines
685 B
Bash
Executable File
29 lines
685 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 \
|
|
--documentation "Guides/*.md" \
|
|
--output docs/
|
|
|
|
# restore the dir per the jazzy issue
|
|
mv $SOURCE_TMP $SOURCE
|