Skip to content

Commit

Permalink
docs: upgrade to latest furo, drop google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
jab committed May 4, 2024
1 parent d8b7e8e commit bf916bd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
1 change: 0 additions & 1 deletion bidict/_orderedbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ def _init_from(self, other: MapOrItems[KT, VT]) -> None:
korv_by_node_set(new_node(), k if bykey else v)

def _write(self, newkey: KT, newval: VT, oldkey: OKT[KT], oldval: OVT[VT], unwrites: Unwrites | None) -> None:
"""See :meth:`bidict.BidictBase._spec_write`."""
super()._write(newkey, newval, oldkey, oldval, unwrites)
assoc, dissoc = self._assoc_node, self._dissoc_node
node_by_korv, bykey = self._node_by_korv, self._bykey
Expand Down
2 changes: 1 addition & 1 deletion dev-deps/python3.12/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ charset-normalizer==3.3.2
# via requests
docutils==0.20.1
# via sphinx
furo==2024.1.29
furo==2024.4.27
idna==3.6
# via requests
imagesize==1.4.1
Expand Down
13 changes: 0 additions & 13 deletions docs/_static/custom.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
'use strict';

document.addEventListener('DOMContentLoaded', function() {
function addScript(src) {
var el = document.createElement('script');
el.setAttribute('async', '');
el.setAttribute('src', src);
document.head.appendChild(el);
}
// Google Analytics
addScript('https://www.googletagmanager.com/gtag/js?id=UA-10116163-3');
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-10116163-3');

var sidebarUl = document.querySelector('.sidebar-tree > ul');
sidebarUl.insertAdjacentHTML('beforeend', '<li class="toctree l1"><a class="reference external" href="https://github.com/jab/bidict">GitHub Repository</a></li>');
});
Expand Down

0 comments on commit bf916bd

Please sign in to comment.