mirror of
https://github.com/apple/pkl.git
synced 2026-04-28 11:17:17 +02:00
Store PklProject annotations in the project metadata (#708)
Write annotations to project metadata, and provide them to pkl-doc\ The following annotations have meaning for pkl-doc: * `@Unlisted`: hide package from documentation site * `@Deprecated`: add deprecated information
This commit is contained in:
@@ -108,7 +108,8 @@ class CliDocGenerator(private val options: CliDocGeneratorOptions) : CliCommand(
|
||||
overview = metadata.description,
|
||||
extraAttributes = mapOf("Checksum" to checksum.sha256),
|
||||
sourceCode = metadata.sourceCode,
|
||||
sourceCodeUrlScheme = metadata.sourceCodeUrlScheme
|
||||
sourceCodeUrlScheme = metadata.sourceCodeUrlScheme,
|
||||
annotations = metadata.annotations,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user