Skip to content

Commit

Permalink
Docs: add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
fdabrandao committed Nov 11, 2024
1 parent 23c82af commit 3f4c693
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ["sphinx.ext.todo", "sphinx.ext.ifconfig", "sphinx.ext.mathjax"]
extensions = [
"sphinx.ext.todo",
"sphinx.ext.ifconfig",
"sphinx.ext.mathjax",
"sphinxcontrib.googleanalytics",
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down Expand Up @@ -105,6 +110,7 @@
"logo_text": "R API",
}
html_context = {"default_mode": "light"}
googleanalytics_id = "G-LEM4RDGQBY"

html_baseurl = "https://rampl.ampl.com/en/latest/"

Expand Down

0 comments on commit 3f4c693

Please sign in to comment.