mirror of
https://github.com/apple/swift-log
synced 2026-11-30 04:18:44 +00:00
fix docs overview (only one module) (#14)
This commit is contained in:
1 parent
c217b32d46
commit
399f98f61f
1 file changed
+5
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user