Skip to content

Commit 666bd3d

Browse files
committed
Pass flags to generate source links for published framework docs
1 parent ae3146a commit 666bd3d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/update-gh-pages-documentation-site

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ swift package \
5151
generate-documentation \
5252
--target SwiftDocC \
5353
--disable-indexing \
54+
--source-service github \
55+
--source-service-base-url https://github.com/apple/swift-docc/blob/main \
56+
--checkout-path "$SWIFT_DOCC_ROOT" \
5457
--transform-for-static-hosting \
5558
--hosting-base-path swift-docc \
5659
--output-path "$DOCC_OUTPUT_DIR"
@@ -64,6 +67,9 @@ swift package \
6467
generate-documentation \
6568
--target SwiftDocCUtilities \
6669
--disable-indexing \
70+
--source-service github \
71+
--source-service-base-url https://github.com/apple/swift-docc/blob/main \
72+
--checkout-path "$SWIFT_DOCC_ROOT" \
6773
--transform-for-static-hosting \
6874
--hosting-base-path swift-docc \
6975
--output-path "$DOCC_UTILITIES_OUTPUT_DIR"

0 commit comments

Comments
 (0)