forked from alexisakers/BulletinBoard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.generate-docs.sh
executable file
·28 lines (26 loc) · 797 Bytes
/
.generate-docs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
set -e
MODULE_VERSION=$1
OUTPUT=$2
SWIFT_VERSION="5.1"
AUTHOR="Alexis Aubry"
AUTHOR_URL="https://twitter.com/_alexaubry"
MODULE_NAME="BLTNBoard"
COPYRIGHT="Copyright © 2017 - present $AUTHOR. Available under the MIT License."
GITHUB_URL="https://github.com/alexaubry/BulletinBoard"
GH_PAGES_URL="https://alexisakers.github.io/BulletinBoard"
bundle exec jazzy \
--swift-version $SWIFT_VERSION \
-a "$AUTHOR" \
-u "$AUTHOR_URL" \
-m "$MODULE_NAME" \
--module-version "$MODULE_VERSION" \
--copyright "$COPYRIGHT" \
-g "$GITHUB_URL" \
--github-file-prefix "$GITHUB_URL/tree/master" \
-r "$GH_PAGES_URL" \
-o "$OUTPUT" \
--min-acl public \
--use-safe-filenames \
--exclude="Sources/Support/*.swift" \
--documentation="guides/*.md"