fix docs overview (only one module) (#14)

This commit is contained in:
Johannes Weiss authored and GitHub committed 2019-03-18 19:07:32 +00:00
1 parent c217b32d46
commit 399f98f61f
1 file changed
+5 -5
+5 -5
View File
@@ -62,14 +62,14 @@ jazzy_args=(--clean
cat > "$module_switcher" <<EOF
# swift-log Docs
swift-log contains multiple modules:
swift-log is a Swift 5 logging API package.
To get started with swift-log, [`import Logging`](../Logging/index.html). The
most important type is [`Logger`](https://apple.github.io/swift-log/docs/current/Logging/Structs/Logger.html)
which you can use to emit log messages.
EOF
for module in "${modules[@]}"; do
echo " - [$module](../$module/index.html)" >> "$module_switcher"
done
for module in "${modules[@]}"; do
args=("${jazzy_args[@]}" --output "$root_path/docs/$version/$module" --module "$module")
if [[ -f "$root_path/.build/sourcekitten/$module.json" ]]; then