mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 20:17:42 +00:00
koch: fix doc generation with Google Analytics enabled
This commit is contained in:
2
koch.nim
2
koch.nim
@@ -60,7 +60,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
|
||||
winrelease creates a Windows release
|
||||
pushcsource push generated C sources to its repo
|
||||
Web options:
|
||||
--googleAnalytics:UA-... add the given google analytics code to the docs. To
|
||||
@@ -530,7 +529,6 @@ when isMainModule:
|
||||
of "test", "tests": tests(op.cmdLineRest)
|
||||
of "temp": temp(op.cmdLineRest)
|
||||
of "xtemp": xtemp(op.cmdLineRest)
|
||||
#of "winrelease": winRelease()
|
||||
of "wintools": bundleWinTools()
|
||||
of "nimble": buildNimble(existsDir(".git"))
|
||||
of "nimsuggest": bundleNimsuggest(buildExe=true)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import os, strutils, osproc
|
||||
|
||||
const
|
||||
gaCode* = " --googleAnalytics:UA-48159761-1"
|
||||
gaCode* = " --doc.googleAnalytics:UA-48159761-1"
|
||||
|
||||
nimArgs = "--hint[Conf]:off --hint[Path]:off --hint[Processing]:off -d:boot --putenv:nimversion=$#" % system.NimVersion
|
||||
gitUrl = "https://github.com/nim-lang/Nim"
|
||||
|
||||
Reference in New Issue
Block a user