diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2022-09-30 18:39:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 12:39:28 +0200 |
commit | 96c5586d030a97d9da2f08b2faacad8d34ebd2e4 (patch) | |
tree | 969c009315d7d39a71cc58232024f30f254b3121 /koch.nim | |
parent | ae050b05e9ce6f4e356c46de8722724a2f706e18 (diff) | |
download | Nim-96c5586d030a97d9da2f08b2faacad8d34ebd2e4.tar.gz |
add plausibleAnalytics support for koch docs[backport:1.6] (#20454)
add plausibleAnalytics to koch docs[backport:1.6]
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/koch.nim b/koch.nim index b0718dadc..ad1ad2624 100644 --- a/koch.nim +++ b/koch.nim @@ -92,9 +92,6 @@ Commands for core developers: tests [options] run the testsuite (run a subset of tests by specifying a category, e.g. `tests cat async`) temp options creates a temporary compiler for testing -Web options: - --googleAnalytics:UA-... add the given google analytics code to the docs. To - build the official docs, use UA-48159761-1 """ let kochExe* = when isMainModule: os.getAppFilename() # always correct when koch is main program, even if `koch` exe renamed e.g.: `nim c -o:koch_debug koch.nim` @@ -679,7 +676,7 @@ when isMainModule: case normalize(op.key) of "boot": boot(op.cmdLineRest) of "clean": clean(op.cmdLineRest) - of "doc", "docs": buildDocs(op.cmdLineRest, localDocsOnly, localDocsOut) + of "doc", "docs": buildDocs(op.cmdLineRest & paCode, localDocsOnly, localDocsOut) of "doc0", "docs0": # undocumented command for Araq-the-merciful: buildDocs(op.cmdLineRest & gaCode) |