Skip to content

Commit a399cd3

Browse files
committed
build: add local umami analytics
Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
1 parent ef1932c commit a399cd3

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

mkdocs.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ edit_uri: edit/gh-pages/docs-new/
99

1010
theme:
1111
name: material
12-
12+
custom_dir: overrides
13+
1314
features:
1415
- announce.dismiss
1516
- content.action.edit
@@ -55,6 +56,8 @@ theme:
5556
logo: img/oslc-logo-white-100.png
5657

5758
extra:
59+
analytics:
60+
provider: custom
5861
social:
5962
- icon: fontawesome/brands/github
6063
link: https://github.com/oslc
@@ -107,7 +110,9 @@ markdown_extensions:
107110
- pymdownx.tilde
108111

109112
plugins:
110-
- privacy
113+
- privacy:
114+
# due to umami
115+
assets_fetch: false
111116
- search:
112117
lang: en
113118
separator: '[\s\-,:!=\[\]()"/]+|\.(?!\d)|&[lg]t;'
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<script defer src="https://umami.open-services.net/script.js"
2+
data-website-id="9ffaa224-8d27-443a-ab43-9b36cda930ee"></script>

0 commit comments

Comments
 (0)