File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ include docs/_static/copybutton.js
2020include docs/_static/css/custom.css
2121include docs/_static/favicon.ico
2222include docs/_static/sidebar.js
23+ include docs/_templates/layout.html
2324include docs/conf.py
2425include docs/index.rst
2526include docs/make.bat
Original file line number Diff line number Diff line change 1+ {% extends "!layout.html" %}
2+ {% block extrahead %}
3+ {{ super() }}
4+ <!-- Google tag (gtag.js) -->
5+ < script async src ="https://www.googletagmanager.com/gtag/js?id=G-G7374TFB11 "> </ script >
6+ < script >
7+ window . dataLayer = window . dataLayer || [ ] ;
8+ function gtag ( ) { dataLayer . push ( arguments ) ; }
9+ gtag ( 'js' , new Date ( ) ) ;
10+ gtag ( 'config' , 'G-G7374TFB11' ) ;
11+ </ script >
12+ {% endblock %}
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ def get_version():
6363 'sphinx.ext.imgmath' ,
6464 'sphinx.ext.viewcode' ,
6565 'sphinx.ext.intersphinx' ,
66- 'sphinxcontrib.googleanalytics' ,
6766]
6867
6968# Add any paths that contain templates here, relative to this directory.
@@ -376,6 +375,3 @@ def get_version():
376375 'https://media.readthedocs.org/css/readthedocs-doc-embed.css' ,
377376 'css/custom.css' ,
378377]
379-
380- googleanalytics_id = "G-G7374TFB11"
381- googleanalytics_enabled = True
You can’t perform that action at this time.
0 commit comments