Skip to content

Commit a7bb869

Browse files
committed
Change docbuild path
1 parent 4bd04e5 commit a7bb869

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.scripts/build-docs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

1818
if [ ! -d "$doccarchive_path" ]; then
1919
echo "❌ Error: Expected a directory at '$doccarchive_path', but it does not exist or is not a directory."
@@ -23,5 +23,5 @@ fi
2323
# Step 3: Transform for static hosting
2424
xcrun 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"

0 commit comments

Comments
 (0)