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_ :octicons-milestone-24: Default: _none_
Material for MkDocs ships a native and extensible cookie consent form which 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 asks the user for his consent prior to sending any data via analytics. Add the
to `mkdocs.yml`: following to `mkdocs.yml`:
``` yaml ``` yaml
extra: extra:

View File

@ -102,6 +102,13 @@ extra:
analytics: analytics:
provider: google provider: google
property: !ENV GOOGLE_ANALYTICS_KEY 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: social:
- icon: fontawesome/brands/github - icon: fontawesome/brands/github
link: https://github.com/squidfunk link: https://github.com/squidfunk