File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ xcodebuild docbuild \
1010 -scheme SafariUI \
1111 -destination " platform=iOS Simulator,OS=18.4,name=iPhone 16 Pro" \
1212 -sdk iphonesimulator \
13- -derivedDataPath docs
13+ -derivedDataPath build
1414
1515# Step 2: Check if the .doccarchive exists and is a directory
16- doccarchive_path=" docs /Build/Products/Debug-iphonesimulator/SafariUI.doccarchive"
16+ doccarchive_path=" build /Build/Products/Debug-iphonesimulator/SafariUI.doccarchive"
1717
1818if [ ! -d " $doccarchive_path " ]; then
1919 echo " ❌ Error: Expected a directory at '$doccarchive_path ', but it does not exist or is not a directory."
2323# Step 3: Transform for static hosting
2424xcrun docc process-archive transform-for-static-hosting \
2525 --hosting-base-path SafariUI/docs \
26- --output-path docs/html \
26+ --output-path docs \
2727 " $doccarchive_path "
You can’t perform that action at this time.
0 commit comments