Skip to content
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

Fix several broken links and console errors #261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions _includes/posts/mainlang_documentation_eg.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/plotly-fundamentals" class="langindexlink">More Fundamentals &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -107,7 +107,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/basic-charts/" class="langindexlink">More Basic Charts &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -146,7 +146,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/statistical-charts/" class="langindexlink">More Statistical Charts &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -179,7 +179,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/scientific-charts/" class="langindexlink">More Scientific Charts &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -212,7 +212,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/financial-charts/" class="langindexlink">More Financial Charts &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -245,7 +245,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/maps/" class="langindexlink">More Maps &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -278,7 +278,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/ai-ml/" class="langindexlink">More AI and ML &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -332,7 +332,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/3d-charts/" class="langindexlink">More 3D Charts &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -365,7 +365,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/subplot-charts/" class="langindexlink">More Subplots &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -398,7 +398,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/chart-events/" class="langindexlink">More Chart Events &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -431,7 +431,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/chart-events/" class="langindexlink">More Chart Events &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -464,7 +464,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/chart-events/" class="langindexlink">More Chart Events &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -497,7 +497,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/transforms/" class="langindexlink">More Transforms &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -530,7 +530,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/controls/" class="langindexlink">More Controls &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -563,7 +563,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/animations/" class="langindexlink">More Animations &raquo;</a>
{% endif %}
</header>
Expand Down Expand Up @@ -596,7 +596,7 @@
{% endif %}
{%- endfor -%}

{% if forloop_idx >= num_examples %}
{% if forloop_idx > num_examples %}
<a href="/{{language}}/financial-analysis/" class="langindexlink">More Financial Analysis &raquo;</a>
{% endif %}
</header>
Expand Down
2 changes: 1 addition & 1 deletion _posts/plotly_js/2015-04-05-plotly_js-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h1>Plotly JavaScript Open Source Graphing Library</h1>
margin: {l: 40, b: 40, t: 60},
annotations: [{
showarrow: false,
text: 'Credit: <a target="_blank" href="https://plotly.com/~DanielCarrera">Daniel Carrera</a>',
text: 'Credit: Daniel Carrera',
x: 0, y: 0, xref: 'paper', yref: 'paper'
}]
}
Expand Down
4 changes: 1 addition & 3 deletions _posts/plotly_js/2015-07-21-plotlyjs-getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ <h2>Hello World Example</h2>
<section class="sponsor--wrap">
<div class="sponsor--desc">Distribution powered by</div>
<div class="sponsor--title">
<a target="_blank" href="https://www.fastly.com/open-source">
<img src="https://www.fastly.com/sites/default/files/fastly_logo.png" alt="Fastly">
</a>
<a target="_blank" href="https://www.fastly.com/open-source">Fastly</a>
</div>
</section>
5 changes: 2 additions & 3 deletions all_static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2929,8 +2929,8 @@ code {
*/
@font-face {
font-family: 'FontAwesome';
src: url("../components/font-awesome/fonts/fontawesome-webfont.eot?v=4.3.0");
src: url("../components/font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=4.3.0") format("embedded-opentype"), url("../components/font-awesome/fonts/fontawesome-webfont.woff2?v=4.3.0") format("woff2"), url("../components/font-awesome/fonts/fontawesome-webfont.woff?v=4.3.0") format("woff"), url("../components/font-awesome/fonts/fontawesome-webfont.ttf?v=4.3.0") format("truetype"), url("../components/font-awesome/fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular") format("svg");
src: url("../fonts/font-awesome/font/fontawesome-webfont.eot?v=4.3.0");
src: url("../fonts/font-awesome/font/fontawesome-webfont.eot?#iefix&v=4.3.0") format("embedded-opentype"), url("../fonts/font-awesome/font/fontawesome-webfont.woff?v=4.3.0") format("woff"), url("../fonts/font-awesome/font/fontawesome-webfont.ttf?v=4.3.0") format("truetype"), url("../fonts/font-awesome/font/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular") format("svg");
font-weight: normal;
font-style: normal; }

Expand Down Expand Up @@ -8065,7 +8065,6 @@ div#notebook {
color: #20293d;
padding-top: 10px;
padding-bottom: 20px; }
c
@media (max-width: 584px) {
.page.\--home .hero .\--welcome p, .page.\--home .hero .\--welcome section.section div.content-box, section.section .page.\--home .hero .\--welcome div.content-box {
padding: 0 40px; } }
Expand Down
3 changes: 1 addition & 2 deletions all_static/javascripts/algolia/instantsearch.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion all_static/javascripts/improve.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@
})(jQuery);
document.addEventListener("DOMContentLoaded", (event) => {
document.querySelectorAll("pre code").forEach((block) => {
hljs.highlightBlock(block);
hljs.highlightElement(block);
// hljs.initLineNumbersOnLoad();
setTimeout(function () {
hljsln.initLineNumbersOnLoad();
Expand Down