Skip to content

Commit

Permalink
Merge pull request #39 from radifar/add-analytics
Browse files Browse the repository at this point in the history
docs: add analytics
  • Loading branch information
radifar authored Feb 15, 2024
2 parents 001a774 + 7df6bdf commit 8506af7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import os


# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
Expand Down Expand Up @@ -45,3 +48,7 @@
}

html_static_path = ["_static"]

if os.getenv("READTHEDOCS"):
extensions.append("sphinxcontrib.googleanalytics")
googleanalytics_id = "G-GV5XETXYHY"
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ furo
myst-parser
sphinx-design
sphinxcontrib-video
sphinxcontrib-googleanalytics==0.4

0 comments on commit 8506af7

Please sign in to comment.