Skip to content

Commit

Permalink
Add Google Analytics support (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed Apr 21, 2021
1 parent d90219d commit fab63ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
sphinx==2.4.4
sphinxcontrib-googleanalytics
-e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
'collapse_navigation': False,
'display_version': True,
'logo_only': True,
'analytics_id': 'UA-117752657-2',
}

html_logo = '_static/img/pytorch-logo-dark.svg'
Expand Down

0 comments on commit fab63ed

Please sign in to comment.