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
|
- name: Build Docs
|
||||||
run: |
|
run: |
|
||||||
xcrun xcodebuild docbuild \
|
xcrun xcodebuild docbuild \
|
||||||
-scheme Meta \
|
-scheme MetaSQLite \
|
||||||
-destination 'generic/platform=macOS' \
|
-destination 'generic/platform=macOS' \
|
||||||
-derivedDataPath "$PWD/.derivedData" \
|
-derivedDataPath "$PWD/.derivedData" \
|
||||||
-skipPackagePluginValidation
|
-skipPackagePluginValidation
|
||||||
xcrun docc process-archive transform-for-static-hosting \
|
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" \
|
--output-path "docs" \
|
||||||
--hosting-base-path "Meta"
|
--hosting-base-path "meta-sqlite"
|
||||||
- name: Modify Docs
|
- name: Modify Docs
|
||||||
run: |
|
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
|
sed -i '' 's/,2px/,10px/g' docs/css/index.*.css
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user