From 3e7cba79ed0c1173afc5ecae998400f46bb2b1a9 Mon Sep 17 00:00:00 2001 From: Fabien Maussion Date: Fri, 9 Aug 2024 14:11:12 +0100 Subject: [PATCH] Add plausible analytics --- docs/conf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 3e60b93..fa25995 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -322,6 +322,11 @@ # implements a search results scorer. If empty, the default will be used. # html_search_scorer = 'scorer.js' +# Plausible analytics +html_js_files = [ + ('https://plausible.io/js/script.js', {"data-domain": "salem.readthedocs.io", "defer": "defer"}), +] + # Output file base name for HTML help builder. htmlhelp_basename = "salemdoc"