Skip to content

Commit

Permalink
📝 Docs: Removed deprecated Gitter community chat sidecard.
Browse files Browse the repository at this point in the history
- 🔥 Removed Gitter community chat sidecard javascript.
  • Loading branch information
abhiTronix committed Jul 6, 2024
1 parent 4c121a1 commit 68c69b6
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 47 deletions.
7 changes: 2 additions & 5 deletions docs/overrides/assets/javascripts/extra.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
===============================================
DeFFcode library source-code is deployed under the Apache 2.0 License:
Expand All @@ -18,7 +18,4 @@ limitations under the License.
===============================================
*/

// gitter sidecard
((window.gitter = {}).chat = {}).options = {
room: 'deffcode-python/community'
};
// empty
83 changes: 41 additions & 42 deletions docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,55 +1,54 @@
{% extends "base.html" %}
{% block extrahead %}
{% set title = config.site_name %}
{% if page and page.meta and page.meta.title %}
{% set title = title ~ " - " ~ page.meta.title %}
{% elif page and page.title and not page.is_homepage %}
{% set title = title ~ " - " ~ page.title | striptags %}
{% endif %}
{% set image = config.site_url ~ '/assets/images/decode-banner.png' %}
<meta property="og:type" content="website">
<meta property="og:title" content="{{ title }}">
<meta property="og:description" content="{{ config.site_description }}">
<meta property="og:url" content="{{ page.canonical_url }}">
<meta property="og:image" content="{{ image }}">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@abhi_una12">
<meta name="twitter:creator" content="@abhi_una12">
<meta name="twitter:title" content="{{ title }}">
<meta name="twitter:description" content="{{ config.site_description }}">
<meta name="twitter:image" content="{{ image }}">
{% set title = config.site_name %}
{% if page and page.meta and page.meta.title %}
{% set title = title ~ " - " ~ page.meta.title %}
{% elif page and page.title and not page.is_homepage %}
{% set title = title ~ " - " ~ page.title | striptags %}
{% endif %}
{% set image = config.site_url ~ '/assets/images/decode-banner.png' %}
<meta property="og:type" content="website">
<meta property="og:title" content="{{ title }}">
<meta property="og:description" content="{{ config.site_description }}">
<meta property="og:url" content="{{ page.canonical_url }}">
<meta property="og:image" content="{{ image }}">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@abhi_una12">
<meta name="twitter:creator" content="@abhi_una12">
<meta name="twitter:title" content="{{ title }}">
<meta name="twitter:description" content="{{ config.site_description }}">
<meta name="twitter:image" content="{{ image }}">
{% endblock %}
{% block announce %}
<!-- Add announcement here, including arbitrary HTML -->
{% set announcement_link = config.site_url ~ '/recipes/basic/decode-camera-devices/#decoding-camera-devices-using-indexes' %}
<!-- Add announcement here, including arbitrary HTML -->
{% set announcement_link = config.site_url ~
'/recipes/basic/decode-camera-devices/#decoding-camera-devices-using-indexes' %}

<b>Hey, Index based Camera Device Capture support has been added in <code>v0.2.4</code>. Checkout these <a href="{{ announcement_link }}">new recipes <span class="twemoji"> {% include ".icons/material/pot-steam-outline.svg" %} </span></a></b>
<b>Hey, Index based Camera Device Capture support has been added in <code>v0.2.4</code>. Checkout these <a
href="{{ announcement_link }}">new recipes <span class="twemoji"> {% include ".icons/material/pot-steam-outline.svg"
%} </span></a></b>
{% endblock %}
{% block outdated %}
You're not viewing the latest version.
<a href="{{ '../' ~ base_url }}">
<strong>Click here to go to latest.</strong>
</a>
You're not viewing the latest version.
<a href="{{ '../' ~ base_url }}">
<strong>Click here to go to latest.</strong>
</a>
{% endblock %}
{% block content %}
{{ super() }}
<footer class="sponsorship">
<hr>
<a href="https://ko-fi.com/W7W8WTYO">
<span class="twemoji heart-throb-hover">
<img alt="" class="twemoji heart" src="https://twemoji.maxcdn.com/v/latest/svg/2764.svg" title="Donate">
</span>
</a>
<hr>
</footer>
{% endblock %}
{% block libs %}
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
{{ super() }}
<footer class="sponsorship">
<hr>
<a href="https://ko-fi.com/W7W8WTYO">
<span class="twemoji heart-throb-hover">
<img alt="" class="twemoji heart" src="https://twemoji.maxcdn.com/v/latest/svg/2764.svg" title="Donate">
</span>
</a>
<hr>
</footer>
{% endblock %}

<!--
===============================================
DeFFcode library source-code is deployed under the Apache 2.0 License:
Expand Down

0 comments on commit 68c69b6

Please sign in to comment.