add plausibleAnalytics support for koch docs[backport:1.6] (#20454)

add plausibleAnalytics to koch docs[backport:1.6]
This commit is contained in:
ringabout
2022-09-30 18:39:28 +08:00
committed by GitHub
parent ae050b05e9
commit 96c5586d03
3 changed files with 10 additions and 4 deletions

View File

@@ -13,6 +13,7 @@ import "../compiler/nimpaths"
const
gaCode* = " --doc.googleAnalytics:UA-48159761-1"
paCode* = " --doc.plausibleAnalytics:nim-lang.org"
# 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"