From 5ed0c10ea4c25eff94e3df30163c1f0c0ab5bbf1 Mon Sep 17 00:00:00 2001 From: msaelices Date: Tue, 26 Jun 2018 13:52:00 +0200 Subject: [PATCH] Allow adding both NS API docs and a link to the NS guide. --- content/docs/en/elements/layouts/absolute-layout.md | 1 + layouts/docs.ejs | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/content/docs/en/elements/layouts/absolute-layout.md b/content/docs/en/elements/layouts/absolute-layout.md index 941998f2..03abe3ae 100644 --- a/content/docs/en/elements/layouts/absolute-layout.md +++ b/content/docs/en/elements/layouts/absolute-layout.md @@ -1,6 +1,7 @@ --- title: AbsoluteLayout apiRef: https://docs.nativescript.org/api-reference/modules/_ui_layouts_absolute_layout_ +docRef: https://docs.nativescript.org/ui/layouts/layout-containers#absolutelayout contributors: [rigor789] --- diff --git a/layouts/docs.ejs b/layouts/docs.ejs index c331f959..ccaa1120 100644 --- a/layouts/docs.ejs +++ b/layouts/docs.ejs @@ -47,7 +47,15 @@ text-blue-dark p-4 my-8">

This is an overview of the most common usage of <%= current.title %>. - For more information about the available properties, methods, and events, head over + <% if (current.docRef) { %> + See + the NativeScript docs + for more information about <%= current.title %>. + <% } %> + For information about the available properties, methods, and events, head over to