diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py index 9bf87e1..fe93398 100644 --- a/docs/sphinx/conf.py +++ b/docs/sphinx/conf.py @@ -56,6 +56,7 @@ 'sphinx.ext.inheritance_diagram', 'sphinx.ext.napoleon', # 'sphinxcontrib.fulltoc', + 'sphinxcontrib.googleanalytics', 'sphinxcontrib.mermaid', ] @@ -92,6 +93,9 @@ # The encoding of source files. #source_encoding = 'utf-8-sig' +googleanalytics_id = 'G-NESEWWF02Y' +# googleanalytics_enabled = False + # MyST Markdown Support myst_enable_extensions = [ "dollarmath", diff --git a/docs/sphinx/requirements.txt b/docs/sphinx/requirements.txt index 1710427..cec6aa2 100644 --- a/docs/sphinx/requirements.txt +++ b/docs/sphinx/requirements.txt @@ -1,3 +1,4 @@ furo myst-parser[linkify] +sphinxcontrib-googleanalytics sphinxcontrib-mermaid diff --git a/tox.ini b/tox.ini index 25f92ad..8ebdcbc 100644 --- a/tox.ini +++ b/tox.ini @@ -95,6 +95,7 @@ deps = sphinx sphinx_rtd_theme myst-parser[linkify] + sphinxcontrib-googleanalytics sphinxcontrib-mermaid commands = # http://www.sphinx-doc.org/en/master/man/sphinx-build.html