forked from WebKit/Documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
12 lines (10 loc) · 640 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
github:
rm -rf docs/
DOCC_HTML_DIR=ThirdParty/docc-render-artifact/dist swift package --allow-writing-to-directory ./docs generate-documentation --disable-indexing --target WebKit --output-path ./docs --transform-for-static-hosting --hosting-base-path "/webkit/Documentation"
preview:
DOCC_HTML_DIR=ThirdParty/docc-render-artifact/dist swift package --disable-sandbox preview-documentation --product WebKit
docc:
rm -rf docs/
xcodebuild docbuild -scheme WebKit -destination 'platform=macOS' -derivedDataPath ./docs
echo "WebKit.doccarchive generated at docs/Build/Products/Debug/"
open docs/Build/Products/Debug/WebKit.doccarchive