Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Fix building docs failing
Browse files Browse the repository at this point in the history
  • Loading branch information
david-swift committed Oct 3, 2024
1 parent f69910b commit f714464
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f714464

Please sign in to comment.