summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2018-09-25 16:46:03 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-10-04 07:18:23 +0200
commitdf6a1306e8ed9fa50c8aa44bc037d2a34f61bfc8 (patch)
treed79a5905eb149f80d088e81134554578a96bb99d /Makefile
parent9577946bedbe610bbe16782783ab2fca407425c6 (diff)
downloadandroid-node-v8-df6a1306e8ed9fa50c8aa44bc037d2a34f61bfc8.tar.gz
android-node-v8-df6a1306e8ed9fa50c8aa44bc037d2a34f61bfc8.tar.bz2
android-node-v8-df6a1306e8ed9fa50c8aa44bc037d2a34f61bfc8.zip
doc: remove GA tracking
The Google Analytics tracking wasn't wholly uncontroversial and hasn't been used in practice. Remove it. PR-URL: https://github.com/nodejs/node/pull/23083 Fixes: https://github.com/nodejs/node/issues/22652 Refs: https://github.com/nodejs/node/pull/6601 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 6b9aa510f2..c5a6b19da0 100644
--- a/Makefile
+++ b/Makefile
@@ -597,11 +597,6 @@ test-v8 test-v8-intl test-v8-benchmarks test-v8-all:
"$ git clone https://github.com/nodejs/node.git"
endif
-# Google Analytics ID used for tracking API docs page views, empty
-# DOCS_ANALYTICS means no tracking scripts will be included in the
-# generated .html files
-DOCS_ANALYTICS ?=
-
apidoc_dirs = out/doc out/doc/api out/doc/api/assets
apidoc_sources = $(wildcard doc/api/*.md)
apidocs_html = $(addprefix out/,$(apidoc_sources:.md=.html))
@@ -646,8 +641,7 @@ out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets
run-npm-ci = $(PWD)/$(NPM) ci
gen-api = tools/doc/generate.js --node-version=$(FULLVERSION) \
- --apilinks=out/apilinks.json \
- --analytics=$(DOCS_ANALYTICS) $< --output-directory=out/doc/api
+ --apilinks=out/apilinks.json $< --output-directory=out/doc/api
gen-apilink = tools/doc/apilinks.js $(wildcard lib/*.js) > $@
out/apilinks.json: $(wildcard lib/*.js) tools/doc/apilinks.js