From 36ce5e26b772ff4879410d5a3a0a3f70a4289023 Mon Sep 17 00:00:00 2001 From: Aaron Crawfis Date: Mon, 12 Oct 2020 20:50:58 -0700 Subject: [PATCH] Add Google Analytics and Algolia --- daprdocs/config.toml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/daprdocs/config.toml b/daprdocs/config.toml index 99c31b201..734655ef6 100644 --- a/daprdocs/config.toml +++ b/daprdocs/config.toml @@ -4,24 +4,19 @@ title = "Dapr Docs" theme = "docsy" enableRobotsTXT = true +enableGitInfo = true # Language Configuration languageCode = "en-us" contentDir = "content/en" defaultContentLanguage = "en" -# GitHub Information -enableGitInfo = true -github_repo = "https://github.com/dapr/docs" -github_project_repo = "https://github.com/dapr/dapr" -github_subdir = "daprdocs" - # Disable categories & tags disableKinds = ["taxonomy", "term"] -# Algolia -# algolia_docsearch = true -# sidebar_search_disable = true +# Google Analytics +[services.googleAnalytics] +id = "UA-149338238-3" # Markdown Engine - Allow inline html [markup] @@ -55,6 +50,16 @@ disableKinds = ["taxonomy", "term"] copyright = "Dapr" #privacy_policy = "https://policies.google.com/privacy" +# GitHub Information +github_repo = "https://github.com/dapr/docs" +github_project_repo = "https://github.com/dapr/dapr" +github_subdir = "daprdocs" +github_branch = "hugo-docs" + +# Algolia +algolia_docsearch = true +sidebar_search_disable = true + # Versioning version_menu = "Releases" version = "v0.11"