From a5a617985ebe41d59c07a6173e3fb210932df96c Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Thu, 16 May 2024 18:13:09 -0400 Subject: [PATCH 1/3] Update Docsy to use new Hugo GA template --- .gitmodules | 2 +- themes/docsy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index e89e163409df..f6d58ec4fe43 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,7 @@ [submodule "themes/docsy"] path = themes/docsy url = https://github.com/google/docsy.git - docsy-pin = v0.10.0-2-g6f7e81d + docsy-pin = v0.10.0-6-g102892d docsy-note = "2024-04-01 Switching to google/docsy.git from cncf/docsy.git since we don't have any CNCF customizations." docsy-reminder = "Ensure that any tag referenced by `docsy-pin` is present in the remote repo (url), otherwise add (push) the tags to the repo." [submodule "content-modules/opentelemetry-specification"] diff --git a/themes/docsy b/themes/docsy index 6f7e81d34ca7..102892d931ab 160000 --- a/themes/docsy +++ b/themes/docsy @@ -1 +1 @@ -Subproject commit 6f7e81d34ca7c75558c5bc969969c96202a059ea +Subproject commit 102892d931ab79b573cb6aeca094b6f0f37b73b1 From cdf9b9fdab9645eb96c05487919f6c10bb9b287b Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Thu, 16 May 2024 18:20:49 -0400 Subject: [PATCH 2/3] Drop "test" config --- hugo.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index ae380fea4566..8e8111939383 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -196,13 +196,6 @@ params: If you are interested in helping out, get in touch with the [Client Instrumentation SIG](https://docs.google.com/document/d/16Vsdh-DM72AfMg_FIt9yT9ExEWF4A_vRbQ3jRNBe09w). -services: - googleAnalytics: - # The following is a placeholder (fake) ID useful for local test builds. The - # real ID is set in the Netlify config. For details, see - # https://github.com/open-telemetry/opentelemetry.io/issues/1626. - id: G-0000000000 - security: funcs: # cspell:disable-line getenv: # cspell:disable-line From 32011363fa8277b0bbbbd5de32148dc635e68689 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Thu, 16 May 2024 18:20:59 -0400 Subject: [PATCH 3/3] Fix production script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3cc7630b1e0f..7baaadc62599 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "_sync": "./scripts/sync-submodules.pl", "all": "bash -c 'x=0; for c in \"$@\"; do npm run $c || x=$((x+1)); done; ((!x)) || (echo \"ERROR: some scripts failed!\" && exit 1)' -", "build:preview": "set -x && npm run _build -- --minify", - "build:production": "npm run _hugo --minify", + "build:production": "npm run _hugo -- --minify", "build": "npm run _build", "cd:public": "cd public &&", "check:filenames": "test -z \"$(npm run -s _ls-bad-filenames)\" || npm run -s _filename-error",