Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add Dash Ads Inline #1079

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 7, 2018
Merged

Add Dash Ads Inline #1079

merged 4 commits into from
Sep 7, 2018

Conversation

jdamiba
Copy link
Contributor

@jdamiba jdamiba commented Sep 7, 2018

closes https://github.com/plotly/streambed/issues/11340
The ad is showing on the Python page but not the JavaScript or R page.

@jdamiba jdamiba changed the base branch from master to source-design-merge September 7, 2018 01:08
@jdamiba jdamiba requested a review from cldougl September 7, 2018 01:11
@@ -717,7 +721,7 @@ <h4 class="example-section-title" id="layout-options">
{% if databases %}
<section class="--tutorial-section no-image" id="databases">
<header class="--section-header"><a href="#databases">Connecting to Databases</a>
<div class="icon copy" data-tooltip="Click to copy direct link.">
<div class="icon copy" data-tooltip="Click to copy direct lin k.">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this may be a typo here

@@ -627,6 +627,10 @@ <h4 class="example-section-title" id="layout-options">
</div>
{% endif %}

{% if page.language == "python" or page.language == "r" or page.language == "javascript" %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is working for me on /python and /r
for https://plot.ly/javascript the language is actually "plotly_js"
for example: https://github.com/plotly/documentation/pull/1079/files#diff-3c5b21462f63fc69d620c11747257935R501

@jdamiba
Copy link
Contributor Author

jdamiba commented Sep 7, 2018

I think this should be ready for review now. The ad is now visible on all 3 pages.

@cldougl
Copy link
Member

cldougl commented Sep 7, 2018

💃 lgtm now!
Let's see if this creates more traffic and then we can assess if we want to change the placement or make any further edits from there!

@jdamiba jdamiba merged commit e0f0e59 into source-design-merge Sep 7, 2018
@jdamiba jdamiba deleted the dash-ads branch October 2, 2019 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants