From 0b3e0e7c659e86a906bd9245bf98ac469ebb60b9 Mon Sep 17 00:00:00 2001 From: perry Date: Fri, 4 Dec 2015 13:27:09 -0600 Subject: [PATCH] docs(dgeni): setting API demo URL to be part of the meta data to be handled by jekyll --- scripts/docs/templates/common.template.html | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index ed4cf04820..35d6cb5476 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -9,6 +9,8 @@ title: "<@ if doc.docType == "directive" @><$ doc.name | dashCase $><@ else @><$ header_sub_title: "<$ doc.docType | capital $> in module <$ doc.module $>" doc: "<$ doc.name $>" docType: "<$ doc.docType $>" +<@- if doc.demo and false -@>show_preview_device: true +preview_device_url= "<$ doc.demo $>"<@- endif -@> --- @@ -84,24 +86,6 @@ docType: "<$ doc.docType $>" Improve this doc - - <@- if doc.demo and false -@> - - <@ endif @> - <@ block content @> @@ -252,4 +236,3 @@ Delegate: <$ doc.delegate $> <@ endblock @> -