summary refs log tree commit diff stats
path: root/tests/modules
diff options
context:
space:
mode:
authoralaviss <leorize+oss@disroot.org>2020-06-25 08:28:57 +0000
committerGitHub <noreply@github.com>2020-06-25 10:28:57 +0200
commit1a0725f022299ab345a34250d37d25498664184a (patch)
treed44217604aa3f659154706f0ebb853942d75b2bb /tests/modules
parent0c56eeda0e3a9a2fd5bb3d9b53f593d6d41fb5d9 (diff)
downloadNim-1a0725f022299ab345a34250d37d25498664184a.tar.gz
koch: add --localdocs to allow building only local docs (#14783)
* koch: add --localdocs to allow building only local docs

This flag also make koch doc use the passed arguments when building
the offline docs.

This is useful when generating nightlies as we would want to use
--doccmd:skip and also skipping a pass of docgen speed things up
drastically (for non-native targets).

This flag superseded the undocumented --docslocal.

* kochdocs: filter google analytics code from the arg list instead

This commit introduce a small PEG expression to filter out the google
analytics code before building local docs when --localdocs is not
specified. This lets us keep any arguments unrelated to google analytics
when building local docs, useful for use with --doccmd:skip
Diffstat (limited to 'tests/modules')
0 files changed, 0 insertions, 0 deletions