Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Documentation/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ else
fi

"$docc" "$command" xtool.docc \
--enable-experimental-code-block-annotations \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Gate the annotation flag on DocC support

When this script takes its Linux/no-xcrun path, the standalone DocC bundled with Swift 6.2.4 does not recognize this option: docc convert --help omits it from the feature flags, and running Documentation/build.sh now exits with Error: Unknown option '--enable-experimental-code-block-annotations' (status 64), while the parent version succeeds. Consequently, both make docs and make docs-preview are unusable on that supported toolchain; only pass the flag when the selected DocC advertises support, or use an option supported by the repository's toolchain.

Useful? React with 👍 / 👎.

--experimental-enable-custom-templates