Scoop API

scoop:scoop.core:0.1.0

src/documentation.scoop

Selected production source · src/documentation.scoop

1/**
2 * Omits a declaration and its contained API entries from generated documentation.
3 *
4 * The declaration remains available to normal language lookup and compilation.
5 * This annotation does not remove source text from generated source pages.
6 */
7@Target([
8 AnnotationTarget.Class,
9 AnnotationTarget.AnnotationClass,
10 AnnotationTarget.EnumVariant,
11 AnnotationTarget.Field,
12 AnnotationTarget.Property,
13 AnnotationTarget.Function,
14 AnnotationTarget.Constructor,
15 AnnotationTarget.TypeAlias
16])
17public annotation class DocHidden
19/**
20 * Adds a search keyword to a declaration's generated documentation.
21 *
22 * Apply this annotation repeatedly to provide several keywords.
23 *
24 * @param name The keyword used to find the documented declaration.
25 */
26@Target([
27 AnnotationTarget.Class,
28 AnnotationTarget.AnnotationClass,
29 AnnotationTarget.EnumVariant,
30 AnnotationTarget.Field,
31 AnnotationTarget.Property,
32 AnnotationTarget.Function,
33 AnnotationTarget.Constructor,
34 AnnotationTarget.TypeAlias
35])
36@Repeatable
37public annotation class DocAlias(val name: String)