Enabled feedback for testing

This commit is contained in:
squidfunk 2021-10-24 16:50:11 +02:00
parent adb4808859
commit db1739e748
2 changed files with 9 additions and 2 deletions

View File

@ -68,8 +68,8 @@ complicated manual setup. If you want to set up site search tracking yourself,
:octicons-milestone-24: Default: _none_
Material for MkDocs ships a native and extensible cookie consent form which
asks the user for his consent prior to sending any analytics. Add the following
to `mkdocs.yml`:
asks the user for his consent prior to sending any data via analytics. Add the
following to `mkdocs.yml`:
``` yaml
extra:

View File

@ -102,6 +102,13 @@ extra:
analytics:
provider: google
property: !ENV GOOGLE_ANALYTICS_KEY
feedback:
- icon: material/emoticon-happy-outline
name: This page was helpful
data: good
- icon: material/emoticon-sad-outline
name: This page could be improved
data: bad
social:
- icon: fontawesome/brands/github
link: https://github.com/squidfunk