Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
94e19193
Unverified
Commit
94e19193
authored
Apr 21, 2021
by
Nicolas Hug
Committed by
GitHub
Apr 21, 2021
Browse files
Update Google Analytics ID (#3700)
* Phew * not sure CI got properly triggered?
parent
23a67b3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
12 deletions
+1
-12
docs/source/_templates/layout.html
docs/source/_templates/layout.html
+0
-12
docs/source/conf.py
docs/source/conf.py
+1
-0
No files found.
docs/source/_templates/layout.html
View file @
94e19193
{% extends "!layout.html" %}
{%- block extrahead %}
<!-- Google Analytics -->
<script>
window
.
ga
=
window
.
ga
||
function
(){(
ga
.
q
=
ga
.
q
||
[]).
push
(
arguments
)};
ga
.
l
=+
new
Date
;
ga
(
'
create
'
,
'
UA-90545585-1
'
,
'
auto
'
);
ga
(
'
send
'
,
'
pageview
'
);
</script>
<script
async
src=
'https://www.google-analytics.com/analytics.js'
></script>
<!-- End Google Analytics -->
{{ super() }}
{% endblock %}
{% block sidebartitle %}
<div
class=
"version"
>
<a
href=
'https://pytorch.org/vision/versions.html'
>
{{ version }}
&
#x25BC
</a>
...
...
docs/source/conf.py
View file @
94e19193
...
...
@@ -127,6 +127,7 @@ html_theme_options = {
'logo_only'
:
True
,
'pytorch_project'
:
'docs'
,
'navigation_with_keys'
:
True
,
'analytics_id'
:
'UA-117752657-2'
,
}
html_logo
=
'_static/img/pytorch-logo-dark.svg'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment