Fix building docs failing
This commit is contained in:
parent
f69910b2fa
commit
f7144643b2
8
.github/workflows/docs.yml
vendored
8
.github/workflows/docs.yml
vendored
@ -24,17 +24,17 @@ jobs:
|
||||
- name: Build Docs
|
||||
run: |
|
||||
xcrun xcodebuild docbuild \
|
||||
-scheme Meta \
|
||||
-scheme MetaSQLite \
|
||||
-destination 'generic/platform=macOS' \
|
||||
-derivedDataPath "$PWD/.derivedData" \
|
||||
-skipPackagePluginValidation
|
||||
xcrun docc process-archive transform-for-static-hosting \
|
||||
"$PWD/.derivedData/Build/Products/Debug/Meta.doccarchive" \
|
||||
"$PWD/.derivedData/Build/Products/Debug/MetaSQLite.doccarchive" \
|
||||
--output-path "docs" \
|
||||
--hosting-base-path "Meta"
|
||||
--hosting-base-path "meta-sqlite"
|
||||
- name: Modify Docs
|
||||
run: |
|
||||
echo "<script>window.location.href += \"/documentation/meta\"</script>" > docs/index.html;
|
||||
echo "<script>window.location.href += \"/documentation/metasqlite\"</script>" > docs/index.html;
|
||||
sed -i '' 's/,2px/,10px/g' docs/css/index.*.css
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
|
Loading…
Reference in New Issue
Block a user