From 9b7cc0d1462d066cd69ff839b994cfd37a5a1d10 Mon Sep 17 00:00:00 2001 From: Franklin Schrans Date: Tue, 10 Dec 2024 09:45:13 +0000 Subject: [PATCH] fixup! Allow `@Metadata` directives in doc comments --- .../Reference Syntax/API Reference Syntax/Metadata.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/docc/DocCDocumentation.docc/Reference Syntax/API Reference Syntax/Metadata.md b/Sources/docc/DocCDocumentation.docc/Reference Syntax/API Reference Syntax/Metadata.md index df85f3079..02ba29c88 100644 --- a/Sources/docc/DocCDocumentation.docc/Reference Syntax/API Reference Syntax/Metadata.md +++ b/Sources/docc/DocCDocumentation.docc/Reference Syntax/API Reference Syntax/Metadata.md @@ -58,15 +58,15 @@ previous versions, @Redirected must be used as a top level directive. ### Usage in documentation comments -You can specify `@Metadata` configuration in documentation comments for the following customizations: - -- ``Available`` -- ``CustomMetadata`` +You can specify `@Metadata` configuration in documentation comments to specify ``Available`` directives. Other metadata directives are +not supported in documentation comments. > Note: Don't specify an `@Metadata` directive in both the symbol's documentation comment and its documentation extension file. If you have one in each, DocC will pick the one in the documentation extension and discard the one in the documentation comment. +> Earlier versions: Before Swift-DocC 6.1, `@Metadata` was not supported in documentation comments. + ## Topics ### Extending or Overriding Source Documentation