Skip to content

Commit

Permalink
Merge pull request #450 from Xieql/site-add-feedback
Browse files Browse the repository at this point in the history
site: add feedback in each doc page
  • Loading branch information
kurator-bot authored Nov 20, 2023
2 parents 5b59508 + 9d9e6fe commit b466ba7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,19 @@ sidebar_search_disable = false
url = "https://groups.google.com/g/kurator-dev"
icon = "fa fa-envelope"
desc = "Kyverno mailing list"

# Adds an H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
# This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.
# If you want this feature, but occasionally need to remove the "Feedback" section from a single page,
# add "hide_feedback: true" to the page's front matter.
[params.ui.feedback]
enable = true
# The responses that the user sees after clicking "yes" (the page was helpful) or "no" (the page was not helpful).
yes = 'Glad to hear it! Please <a href="https://github.com/kurator-dev/kurator/issues/new?assignees=&labels=kind%2Ffeature&projects=&template=enhancement.md">tell us how we can improve</a>.'
no = 'Sorry to hear that. Please <a href="https://github.com/kurator-dev/kurator/issues/new">tell us how we can improve</a>.'

[services]
[services.googleAnalytics]
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
# "UA-00000000-0" is a placeholder Google Analytics ID, Future integration of actual analytics is straightforward, requiring only an update to the GA ID.
id = "UA-00000000-0"

0 comments on commit b466ba7

Please sign in to comment.