koch: fix doc generation with Google Analytics enabled
This commit is contained in:
parent
a892d519a6
commit
04f899dad3
2 changed files with 1 additions and 3 deletions
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
|
tests [options] run the testsuite (run a subset of tests by
|
||||||
specifying a category, e.g. `tests cat async`)
|
specifying a category, e.g. `tests cat async`)
|
||||||
temp options creates a temporary compiler for testing
|
temp options creates a temporary compiler for testing
|
||||||
winrelease creates a Windows release
|
|
||||||
pushcsource push generated C sources to its repo
|
pushcsource push generated C sources to its repo
|
||||||
Web options:
|
Web options:
|
||||||
--googleAnalytics:UA-... add the given google analytics code to the docs. To
|
--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 "test", "tests": tests(op.cmdLineRest)
|
||||||
of "temp": temp(op.cmdLineRest)
|
of "temp": temp(op.cmdLineRest)
|
||||||
of "xtemp": xtemp(op.cmdLineRest)
|
of "xtemp": xtemp(op.cmdLineRest)
|
||||||
#of "winrelease": winRelease()
|
|
||||||
of "wintools": bundleWinTools()
|
of "wintools": bundleWinTools()
|
||||||
of "nimble": buildNimble(existsDir(".git"))
|
of "nimble": buildNimble(existsDir(".git"))
|
||||||
of "nimsuggest": bundleNimsuggest(buildExe=true)
|
of "nimsuggest": bundleNimsuggest(buildExe=true)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
import os, strutils, osproc
|
import os, strutils, osproc
|
||||||
|
|
||||||
const
|
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
|
nimArgs = "--hint[Conf]:off --hint[Path]:off --hint[Processing]:off -d:boot --putenv:nimversion=$#" % system.NimVersion
|
||||||
gitUrl = "https://github.com/nim-lang/Nim"
|
gitUrl = "https://github.com/nim-lang/Nim"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue