File: disable-plausible-in-koch.patch

package info (click to toggle)
nim 2.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,951,160 kB
  • sloc: sh: 24,599; ansic: 1,771; python: 1,493; makefile: 1,013; sql: 298; asm: 141; xml: 13
file content (22 lines) | stat: -rw-r--r-- 820 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Federico Ceratto <federico@debian.org>
Date: Wed, 14 Dec 2022 22:10:37 +0000
Subject: Disable Plausible analytics from koch docs

Forwarded: not-needed
---
 tools/kochdocs.nim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/kochdocs.nim b/tools/kochdocs.nim
index c0f508a..212ef81 100644
--- a/tools/kochdocs.nim
+++ b/tools/kochdocs.nim
@@ -13,7 +13,7 @@ import "../compiler/nimpaths"
 
 const
   gaCode* = " --doc.googleAnalytics:UA-48159761-1"
-  paCode* = " --doc.plausibleAnalytics:nim-lang.org"
+  paCode* = ""
   # errormax: subsequent errors are probably consequences of 1st one; a simple
   # bug could cause unlimited number of errors otherwise, hard to debug in CI.
   docDefines = "-d:nimExperimentalLinenoiseExtra" # deadcode `nimExperimentalLinenoiseExtra` has been enabled