mirror of
https://github.com/apple/swift-http-structured-headers
synced 2026-11-29 05:14:21 +00:00
Fix doc generation and jazzy version (#15)
Motivation: The combination of Ruby and Jazzy are throwing up issues in CI on older Ubuntu versions. Modifications: - Only install Jazzy on focal - Fix doc generation script to use more recent source-kitten syntax Results: - CI doesn't complain - Docs get built
This commit is contained in:
1 parent
92e9a35d70
commit
246da05986
2 files changed
+4
-6
No files matched your search
@@ -39,7 +39,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then
|
||||
# generate
|
||||
for module in "${modules[@]}"; do
|
||||
if [[ ! -f "$root_path/.build/sourcekitten/$module.json" ]]; then
|
||||
"$source_kitten_path/sourcekitten" doc --spm-module $module > "$root_path/.build/sourcekitten/$module.json"
|
||||
"$source_kitten_path/sourcekitten" doc --module-name $module > "$root_path/.build/sourcekitten/$module.json"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user