diff --git a/docs/_static/source-in-links.js b/docs/_static/source-in-links.js deleted file mode 100644 index 6c3a733eb..000000000 --- a/docs/_static/source-in-links.js +++ /dev/null @@ -1,22 +0,0 @@ -function addUTMSourceToLink(href) { - try { - var url = new URL(href); - url.searchParams.set("utm_source", "clip-as-service"); - return url.href - } - catch{ - return href - } -} - -function addUTMSourceToLinks() { - var anchors = document.getElementsByTagName("a"); - - for (var i = 0; i < anchors.length; i++) { - anchors[i].href = addUTMSourceToLink(anchors[i].href) - } -} - -window.onload = function () { - addUTMSourceToLinks() -} \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 66edadc4d..6f895606c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -74,7 +74,6 @@ ] html_js_files = [ 'https://cdn.jsdelivr.net/npm/vue@2/dist/vue.min.js', - 'source-in-links.js', ] htmlhelp_basename = slug html_show_sourcelink = False