Skip to content

Commit 484c155

Browse files
authored
Ensure all links to semconv pages are localized (#3401)
1 parent 5d822a7 commit 484c155

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.warnings-skip-list.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
docs/specs/otel/common/attribute-requirement-level.md

scripts/content-modules/adjust-pages.pl

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ ()
128128
s|(\]:\s+\|\()?https://github.com/open-telemetry/opentelemetry-proto/(\w+/.*?/)?docs/specification.md(\)?)|$1$specBasePath/otlp/$3|g;
129129
s|github.com/open-telemetry/opentelemetry-proto/docs/specification.md|OTLP|g;
130130

131-
# Match links to semconv
132-
s|(\]:\s+\|\()https://github.com/open-telemetry/semantic-conventions/\w+/(main\|v$semconvVers)/docs(.*?\)?)|$1$specBasePath/semconv$3|;
131+
# Localize links to semconv
132+
s|(\]:\s+\|\()https://github.com/open-telemetry/semantic-conventions/\w+/(main\|v$semconvVers)/docs(.*?\)?)|$1$specBasePath/semconv$3|g;
133133

134134
# Images
135135
s|(\.\./)?internal(/img/[-\w]+\.png)|$2|g;

0 commit comments

Comments
 (0)