From e0be20b331e09c519af7b7a2a01c36c0725deac8 Mon Sep 17 00:00:00 2001 From: Joseph Damiba Date: Thu, 6 Sep 2018 14:55:37 -0400 Subject: [PATCH 1/4] add dash ad to python, javascript, and r pages --- _includes/documentation_eg.html | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/_includes/documentation_eg.html b/_includes/documentation_eg.html index caa6e9cd7bef..557cd31760bc 100644 --- a/_includes/documentation_eg.html +++ b/_includes/documentation_eg.html @@ -627,6 +627,24 @@

{% endif %} +{% if page.language == "python" %} + +{% endif %} + +{% if page.language == "javascript" %} + +{% endif %} + +{% if page.language == "r" %} + + +{% endif %} + + + + + + {% if style_options %}
Style Options @@ -717,7 +735,7 @@

{% if databases %}
Connecting to Databases -
+
From 19801ca8b060e8912602488ecdfdb044fd704460 Mon Sep 17 00:00:00 2001 From: Joseph Damiba Date: Thu, 6 Sep 2018 21:06:14 -0400 Subject: [PATCH 2/4] consolidating if statements for ad into one line --- _includes/documentation_eg.html | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/_includes/documentation_eg.html b/_includes/documentation_eg.html index 557cd31760bc..cacaaca779c2 100644 --- a/_includes/documentation_eg.html +++ b/_includes/documentation_eg.html @@ -627,24 +627,10 @@

{% endif %} -{% if page.language == "python" %} +{% if page.language == "python" or page.language == "r" or page.language == "javascript" %} {% endif %} -{% if page.language == "javascript" %} - -{% endif %} - -{% if page.language == "r" %} - - -{% endif %} - - - - - - {% if style_options %}
Style Options From b6e6be42b1b71dcdf56602907066082515c76cb8 Mon Sep 17 00:00:00 2001 From: Joseph Damiba Date: Fri, 7 Sep 2018 09:53:05 -0400 Subject: [PATCH 3/4] fix typo in documentation_eg.html --- _includes/documentation_eg.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/documentation_eg.html b/_includes/documentation_eg.html index cacaaca779c2..69eb1dc5802f 100644 --- a/_includes/documentation_eg.html +++ b/_includes/documentation_eg.html @@ -721,7 +721,7 @@

{% if databases %}
Connecting to Databases -
+
From 0b3bb82d03d3ed638e508892d67ce538c13f8e4d Mon Sep 17 00:00:00 2001 From: Joseph Damiba Date: Fri, 7 Sep 2018 10:25:05 -0400 Subject: [PATCH 4/4] changed to page.language == plotly_js --- _includes/documentation_eg.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/documentation_eg.html b/_includes/documentation_eg.html index 69eb1dc5802f..84dc1f0d259b 100644 --- a/_includes/documentation_eg.html +++ b/_includes/documentation_eg.html @@ -627,7 +627,7 @@

{% endif %} -{% if page.language == "python" or page.language == "r" or page.language == "javascript" %} +{% if page.language == "python" or page.language == "r" or page.language == "plotly_js" %} {% endif %}