Skip to content

Commit a0935d8

Browse files
authored
[CI] Patch search results page so search results will display (#5675)
1 parent e4716bd commit a0935d8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"_filename-error": "echo 'ERROR: the following files violate naming conventions; fix using: `npm run fix:filenames`'; echo; npm run -s _ls-bad-filenames; exit 1",
2424
"_get:no": "echo SKIPPING get operation",
2525
"_get:submodule": "set -x && git submodule update --init ${DEPTH:- --depth 999}",
26+
"_hugo-0_139_0_gcse-patch": "perl -i -pe 's/gcse :/gcse:/' public/search/index.html",
2627
"_hugo": "hugo --cleanDestinationDir",
2728
"_install:dict": "npm install -D $(npm run -s _list:dict)",
2829
"_install:netlify-cli": "npm list netlify-cli || npm install -O netlify-cli",
@@ -94,6 +95,8 @@
9495
"prepare": "npm run seq -- get:submodule _prepare:docsy",
9596
"preserve:hugo": "npm run _prebuild",
9697
"preserve:netlify": "npm run seq -- _prebuild _install:netlify-cli",
98+
"postbuild:preview": "npm run _hugo-0_139_0_gcse-patch",
99+
"postbuild:production": "npm run _hugo-0_139_0_gcse-patch",
97100
"schemas:update": "npm run update:submodule content-modules/opentelemetry-specification",
98101
"seq": "bash -c 'for cmd in \"$@\"; do npm run $cmd || exit 1; done' - ",
99102
"serve:hugo": "npm run _serve:hugo -- --renderToMemory",
@@ -139,7 +142,7 @@
139142
"@opentelemetry/resources": "^1.28.0",
140143
"@opentelemetry/sdk-trace-base": "^1.28.0",
141144
"@opentelemetry/sdk-trace-web": "^1.28.0",
142-
"@opentelemetry/semantic-conventions": "^1.27.0",
145+
"@opentelemetry/semantic-conventions": "^1.28.0",
143146
"path": "^0.12.7"
144147
},
145148
"optionalDependencies": {

0 commit comments

Comments
 (0)