docs: add analytics (#78)

This commit is contained in:
d3vyce
2026-02-19 18:05:30 +01:00
committed by GitHub
parent 1591cd3d64
commit 823a0b3e36
2 changed files with 8 additions and 1 deletions

7
docs/overrides/main.html Normal file
View File

@@ -0,0 +1,7 @@
{% extends "base.html" %} {% block extrahead %}
<script
defer
src="https://analytics.d3vyce.fr/script.js"
data-website-id="338b8816-7b99-4c6a-82f3-15595be3fd47"
></script>
{{ super() }} {% endblock %}

View File

@@ -85,7 +85,7 @@ repo_url = "https://github.com/d3vyce/fastapi-toolsets"
# Read more:
# - https://zensical.org/docs/customization/#extending-the-theme
#
#custom_dir = "overrides"
custom_dir = "docs/overrides"
# With the "favicon" option you can set your own image to use as the icon
# browsers will use in the browser title bar or tab bar. The path provided