Skip to content

Commit a406f04

Browse files
authored
Add Cloudflare Web Analytics to docs site (#3896)
1 parent 57ce0c4 commit a406f04

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/theme/main.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{% extends "base.html" %}
2+
3+
{% block analytics %}
4+
<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "e44a95720257486eab94698a6b4c6ca6"}'></script><!-- End Cloudflare Web Analytics -->
5+
{% endblock %}

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ plugins:
55
- markdownextradata
66
theme:
77
name: 'material'
8+
custom_dir: 'docs/theme'
89
palette:
910
primary: 'blue'
1011
accent: 'teal'

0 commit comments

Comments
 (0)