From 4187503072acb8d7d8b756bc45249aa21c4f3066 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 27 Apr 2023 13:57:09 +0000 Subject: [PATCH] Build website --- docs/assets/css/just-the-docs-dark.css | 7 ------- docs/assets/css/just-the-docs-default.css | 7 ------- docs/assets/css/just-the-docs-light.css | 7 ------- docs/assets/images/search.svg | 1 - docs/assets/js/just-the-docs.js | 5 +++++ 5 files changed, 5 insertions(+), 22 deletions(-) delete mode 100644 docs/assets/images/search.svg diff --git a/docs/assets/css/just-the-docs-dark.css b/docs/assets/css/just-the-docs-dark.css index 05246c8..bd6cc91 100644 --- a/docs/assets/css/just-the-docs-dark.css +++ b/docs/assets/css/just-the-docs-dark.css @@ -199,9 +199,6 @@ pre.highlight { .highlight .gi { color: #43d089; } -.highlight ::selection { - background-color: #fff; } - .highlight .language-json .w + .s2 { color: #e35549; } @@ -716,10 +713,6 @@ template { * { box-sizing: border-box; } -::selection { - color: #fff; - background: #2c84fa; } - html { font-size: 14px !important; scroll-behavior: smooth; } diff --git a/docs/assets/css/just-the-docs-default.css b/docs/assets/css/just-the-docs-default.css index b5be973..b6e7390 100644 --- a/docs/assets/css/just-the-docs-default.css +++ b/docs/assets/css/just-the-docs-default.css @@ -199,9 +199,6 @@ pre.highlight { .highlight .gi { color: #43d089; } -.highlight ::selection { - background-color: #fff; } - .highlight .language-json .w + .s2 { color: #e35549; } @@ -516,10 +513,6 @@ template { * { box-sizing: border-box; } -::selection { - color: #fff; - background: #7253ed; } - html { font-size: 14px !important; scroll-behavior: smooth; } diff --git a/docs/assets/css/just-the-docs-light.css b/docs/assets/css/just-the-docs-light.css index b5be973..b6e7390 100644 --- a/docs/assets/css/just-the-docs-light.css +++ b/docs/assets/css/just-the-docs-light.css @@ -199,9 +199,6 @@ pre.highlight { .highlight .gi { color: #43d089; } -.highlight ::selection { - background-color: #fff; } - .highlight .language-json .w + .s2 { color: #e35549; } @@ -516,10 +513,6 @@ template { * { box-sizing: border-box; } -::selection { - color: #fff; - background: #7253ed; } - html { font-size: 14px !important; scroll-behavior: smooth; } diff --git a/docs/assets/images/search.svg b/docs/assets/images/search.svg deleted file mode 100644 index 421ca4d..0000000 --- a/docs/assets/images/search.svg +++ /dev/null @@ -1 +0,0 @@ -Search diff --git a/docs/assets/js/just-the-docs.js b/docs/assets/js/just-the-docs.js index 52f4fba..93863b0 100644 --- a/docs/assets/js/just-the-docs.js +++ b/docs/assets/js/just-the-docs.js @@ -459,6 +459,11 @@ jtd.onReady(function(){ jtd.onReady(function(){ + if (!window.isSecureContext) { + console.log('Window does not have a secure context, therefore code clipboard copy functionality will not be available. For more details see https://web.dev/async-clipboard/#security-and-permissions'); + return; + } + var codeBlocks = document.querySelectorAll('div.highlighter-rouge, div.listingblock > div.content, figure.highlight'); // note: the SVG svg-copied and svg-copy is only loaded as a Jekyll include if site.enable_copy_code_button is true; see _includes/icons/icons.html