Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Google analytics implementation in docs #1342

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update analytics implementation in docs re deprecation of analytics_id
  • Loading branch information
akeeste committed Oct 16, 2024
commit 2f347c66b41bb45a355092a40d8090891b2b671e
8 changes: 4 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
'sphinxcontrib.matlab',
'sphinxext.remoteliteralinclude',
'sphinx_multiversion',
'sphinx_rtd_theme'
'sphinx_rtd_theme',
'sphinxcontrib.googleanalytics',
]

# autodoc settings
Expand Down Expand Up @@ -161,9 +162,8 @@
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
'analytics_id': 'UA-88158104-1'
}
googleanalytics_id = 'UA-88158104-1'
googleanalytics_enabled = True

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
Expand Down
1 change: 1 addition & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ dependencies:
- sphinx-multiversion-scylla
- sphinxcontrib-matlabdomain
- sphinxext-remoteliteralinclude
- sphinxcontrib-googleanalytics