Switch the manual theme to Furo #104735
@ -7,5 +7,5 @@
|
||||
|
||||
{%- block theme_scripts -%}
|
||||
{{ super() }}
|
||||
{%- include "components/analytics.html" -%}
|
||||
<script defer data-domain="docs.blender.org" src="https://analytics.blender.org/js/script.js"></script>
|
||||
{%- endblock -%}
|
@ -1,13 +0,0 @@
|
||||
{%- if analytics_id %}
|
||||
<!-- Theme Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ theme_analytics_id }}"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag() { dataLayer.push(arguments); }
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', '{{ analytics_id }}', {
|
||||
'anonymize_ip': 'false',
|
||||
});
|
||||
</script>
|
||||
{%- endif %}
|
@ -151,10 +151,6 @@ if html_theme == "furo":
|
||||
]
|
||||
}
|
||||
|
||||
html_context = {
|
||||
"analytics_id": "UA-1418081-1",
|
||||
}
|
||||
|
||||
# The "title" for HTML documentation generated with Sphinx's own templates.
|
||||
# This is appended to the <title> tag of individual pages, and
|
||||
# used in the navigation bar as the "topmost" element.
|
||||
|
Loading…
Reference in New Issue
Block a user