Skip to content

Commit 0d08475

Browse files
authored
Merge pull request docker#15979 from crazy-max/remove-polldaddy
jekyll: remove polldaddy
2 parents 545de34 + 69f422b commit 0d08475

File tree

9 files changed

+1
-52
lines changed

9 files changed

+1
-52
lines changed

404.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: "Sorry, we can't find that page"
33
permalink: /404.html
4-
noratings: true
54
notoc: true
65
sitemap: false
76
skip_read_time: true

_config_production.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ exclude:
1515

1616
# Google Analytics, etc.
1717
google_analytics: GTM-WL2QLG5
18-
polldaddy_id: 8453675
19-
onetrust_id: 8e0ebfd9-035d-4ec2-9b2f-a2de9c09f906
18+
onetrust_id: 8e0ebfd9-035d-4ec2-9b2f-a2de9c09f906
2019

2120
# Assets
2221
#

_includes/analytics/polldaddy.html

-18
This file was deleted.

_layouts/docs.html

-4
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ <h1>{{ page.title }}</h1>
4242
</span>
4343
{%- endif -%}
4444
{%- endunless %}
45-
{%- if site.polldaddy_id and page.noratings != true -%}
46-
<div class="ratings-div"><div id="pd_rating_holder_{{ site.polldaddy_id }}"></div></div>
47-
{%- endif -%}
4845
</section>
4946
</main>
5047
<nav class="col-nav">
@@ -90,6 +87,5 @@ <h1>{{ page.title }}</h1>
9087
{% include footer.html %}
9188
</footer>
9289
<script>const pageURL = "{{ page.url }}";</script>
93-
{%- if jekyll.environment == 'production' -%}{%- include analytics/polldaddy.html -%}{%- endif -%}
9490
</body>
9591
</html>

_scss/_navigation.scss

-17
Original file line numberDiff line numberDiff line change
@@ -289,23 +289,6 @@ input:checked+.slider:before {
289289
margin: 15px 0 10px 0;
290290
}
291291

292-
/* polldaddy */
293-
294-
#rating_info_8453675 {
295-
display: none !important;
296-
}
297-
298-
.rating-msg {
299-
font: inherit !important;
300-
color: inherit !important;
301-
}
302-
303-
/* remove polldaddy ratings */
304-
305-
.rating-nero-value {
306-
visibility: hidden
307-
}
308-
309292
/*
310293
* Controls ********************************************************************
311294
*/

_scss/_utilities.scss

-7
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
margin-bottom: 20px!important;
2929
}
3030

31-
.ratings-div {
32-
color: #b9c2cc;
33-
margin-top: 150px;
34-
text-align: center;
35-
}
36-
3731
/*
3832
* tables **********************************************************************
3933
*/
@@ -217,7 +211,6 @@ input[type=text] {
217211
.col-toc,
218212
.footer,
219213
.glyphicon-tags,
220-
.ratings-div
221214
{
222215
display: none !important;
223216
}

contribute/contribute-guide.md

-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ local builds, and builds that are deployed to [docs.docker.com](/):
103103

104104
- search auto-completion, and generation of `js/metadata.json`
105105
- Google Analytics
106-
- page ratings
107106
- `sitemap.xml` generation
108107
- minification of stylesheets (`css/style.css`)
109108
- adjusting "edit this page" links for content in other repositories

glossary.md

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: "Glossary"
33
description: "Glossary of terms used around Docker"
44
keywords: "glossary, docker, terms, definitions"
55
notoc: true
6-
noratings: true
76
skip_read_time: true
87
redirect_from:
98
- /engine/reference/glossary/

search.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
description: Docker documentation search results
33
keywords: Search, Docker, documentation, manual, guide, reference, api
4-
noratings: true
54
notoc: true
65
notags: true
76
title: "Docs search"

0 commit comments

Comments
 (0)