Switch the manual theme to Furo #104735

Merged
Aaron Carlisle merged 30 commits from furo-theme into blender-v4.1-release 2024-03-20 21:38:49 +01:00
3 changed files with 1 additions and 18 deletions
Showing only changes of commit c42be80e8d - Show all commits

View File

@ -7,5 +7,5 @@
{%- block theme_scripts -%} {%- block theme_scripts -%}
{{ super() }} {{ super() }}
{%- include "components/analytics.html" -%} <script defer data-domain="docs.blender.org" src="https://analytics.blender.org/js/script.js"></script>
{%- endblock -%} {%- endblock -%}

View File

@ -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 %}

View File

@ -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. # The "title" for HTML documentation generated with Sphinx's own templates.
# This is appended to the <title> tag of individual pages, and # This is appended to the <title> tag of individual pages, and
# used in the navigation bar as the "topmost" element. # used in the navigation bar as the "topmost" element.