Skip to content

Commit 3a02a0d

Browse files
authored
Update Docsy to use new Hugo GA template + config & script tweaks (#4500)
1 parent 06d5ed3 commit 3a02a0d

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[submodule "themes/docsy"]
22
path = themes/docsy
33
url = https://github.com/google/docsy.git
4-
docsy-pin = v0.10.0-2-g6f7e81d
4+
docsy-pin = v0.10.0-6-g102892d
55
docsy-note = "2024-04-01 Switching to google/docsy.git from cncf/docsy.git since we don't have any CNCF customizations."
66
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."
77
[submodule "content-modules/opentelemetry-specification"]

hugo.yaml

-7
Original file line numberDiff line numberDiff line change
@@ -196,13 +196,6 @@ params:
196196
If you are interested in helping out, get in touch with the
197197
[Client Instrumentation SIG](https://docs.google.com/document/d/16Vsdh-DM72AfMg_FIt9yT9ExEWF4A_vRbQ3jRNBe09w).
198198
199-
services:
200-
googleAnalytics:
201-
# The following is a placeholder (fake) ID useful for local test builds. The
202-
# real ID is set in the Netlify config. For details, see
203-
# https://github.com/open-telemetry/opentelemetry.io/issues/1626.
204-
id: G-0000000000
205-
206199
security:
207200
funcs: # cspell:disable-line
208201
getenv: # cspell:disable-line

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"_sync": "./scripts/sync-submodules.pl",
3434
"all": "bash -c 'x=0; for c in \"$@\"; do npm run $c || x=$((x+1)); done; ((!x)) || (echo \"ERROR: some scripts failed!\" && exit 1)' -",
3535
"build:preview": "set -x && npm run _build -- --minify",
36-
"build:production": "npm run _hugo --minify",
36+
"build:production": "npm run _hugo -- --minify",
3737
"build": "npm run _build",
3838
"cd:public": "cd public &&",
3939
"check:filenames": "test -z \"$(npm run -s _ls-bad-filenames)\" || npm run -s _filename-error",

0 commit comments

Comments
 (0)