aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/pages
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin/pages')
-rw-r--r--core/src/main/kotlin/pages/PageNodes.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/pages/PageNodes.kt b/core/src/main/kotlin/pages/PageNodes.kt
index 75e27dcc..c643fd4b 100644
--- a/core/src/main/kotlin/pages/PageNodes.kt
+++ b/core/src/main/kotlin/pages/PageNodes.kt
@@ -21,7 +21,7 @@ interface ContentPage : PageNode {
val embeddedResources: List<String>
@Deprecated("Deprecated. Remove its usages from your code.",
- ReplaceWith("documentables.firstOrNull()")
+ ReplaceWith("this.documentables.firstOrNull()")
)
val documentable: Documentable?
get() = if (this is WithDocumentables) this.documentables.firstOrNull() else null