Skip to content

Commit 7ace043

Browse files
otelbot-docs[bot]otelbot[bot]vitorvascchalin
authored
Refresh refcache (#8480)
Signed-off-by: Vitor Vasconcellos <[email protected]> Co-authored-by: otelbot <[email protected]> Co-authored-by: Vitor Vasconcellos <[email protected]> Co-authored-by: Patrice Chalin <[email protected]>
1 parent 9c45ace commit 7ace043

File tree

4 files changed

+850
-835
lines changed

4 files changed

+850
-835
lines changed

content/en/docs/zero-code/dotnet/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ restarts.
315315
## .NET CLR Profiler
316316

317317
The CLR uses the following environment variables to set up the profiler. See
318-
[.NET Runtime Profiler Loading](https://github.com/dotnet/runtime/blob/main/docs/design/coreclr/profiling/Profiler%20Loading.md)
318+
[.NET Runtime Profiler Loading](https://github.com/dotnet/runtime/blob/d8302cef7946be82775ba5b94a88ad8eee800714/docs/design/coreclr/profiling/Profiler%20Loading.md)
319319
for more information.
320320

321321
| .NET Framework environment variable | .NET environment variable | Description | Required value | Status |

content/fr/docs/zero-code/dotnet/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Configuration et paramètres
33
linkTitle: Configuration
44
aliases: [/docs/languages/net/automatic/config]
55
weight: 20
6-
default_lang_commit: 3d179dbe1270b83aafff0d3b6aa3311afd482649
6+
default_lang_commit: 3d179dbe1270b83aafff0d3b6aa3311afd482649 # patched
77
drifted_from_default: true
88
# prettier-ignore
99
cSpell:ignore: AZUREAPPSERVICE CLSID CORECLR dylib NETFX OPERATINGSYSTEM PROCESSRUNTIME UNHANDLEDEXCEPTION
@@ -330,7 +330,7 @@ quand l'application redémarre.
330330

331331
Le CLR utilise les variables d'environnement suivantes pour configurer le
332332
profileur. Voir
333-
[.NET Runtime Profiler Loading](https://github.com/dotnet/runtime/blob/main/docs/design/coreclr/profiling/Profiler%20Loading.md)
333+
[.NET Runtime Profiler Loading](https://github.com/dotnet/runtime/blob/d8302cef7946be82775ba5b94a88ad8eee800714/docs/design/coreclr/profiling/Profiler%20Loading.md)
334334
pour plus d'informations.
335335

336336
| Variable d'environnement .NET Framework | Variable d'environnement .NET | Description | Valeur requise | Statut |

scripts/content-modules/adjust-pages.pl

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,31 @@ ($$$)
9595
return 0;
9696
}
9797

98-
# sub patchSpec_because_of_SemConv_GenAiSpanRelativePath() {
99-
# return unless $ARGV =~ /^tmp\/semconv\/docs\/gen-ai\/gen-ai-spans/
100-
# && applyPatchOrPrintMsgIf('2025-08-28-gen-ai-span-relative-path', 'semconv', '1.38.0-dev');
101-
#
102-
# # See https://github.com/open-telemetry/semantic-conventions/issues/2690#issue-3364744586
103-
# # Replace [foo](./some-path) with [foo](/docs/gen-ai/some-path)
104-
# s|\]\(\./|](/docs/gen-ai/|g;
105-
# }
98+
sub patchSpec_because_of_SemConv_DockerAPIVersions() {
99+
return unless
100+
# Restrict the patch to the proper spec, and section or file:
101+
$ARGV =~ m|^tmp/semconv/docs/|
102+
&&
103+
# Call helper function that will cause the function to return early if the
104+
# current version of the named spec (arg 2) is greater than the target
105+
# version (arg 3). The first argument is a unique id that will be printed if
106+
# the patch is outdated. Otherwise, if the patch is still relevant we fall
107+
# through to the body of this patch function.
108+
applyPatchOrPrintMsgIf('2025-11-21-docker-api-versions', 'semconv', '1.39.0-dev');
109+
110+
# Give infor about the patch:
111+
#
112+
# For the problematic links, see:
113+
# https://github.com/open-telemetry/semantic-conventions/issues/3103
114+
#
115+
# Replace older Docker API versions with the latest one like in:
116+
# https://github.com/open-telemetry/semantic-conventions/pull/3093
117+
118+
# This is the actual regex-based patch code:
119+
s{
120+
(https://docs.docker.com/reference/api/engine/version)/v1.(43|51)/(\#tag/)
121+
}{$1/v1.52/$3}gx;
122+
}
106123

107124
sub getVersFromSubmodule() {
108125
my %repoNames = qw(
@@ -189,6 +206,8 @@ ()
189206
s|(\]\()/docs/|$1$specBasePath/semconv/|g;
190207
s|(\]:\s*)/docs/|$1$specBasePath/semconv/|;
191208
s|\((/model/.*?)\)|($semconvSpecRepoUrl/tree/v$semconvVers/$1)|g;
209+
210+
patchSpec_because_of_SemConv_DockerAPIVersions();
192211
}
193212

194213

0 commit comments

Comments
 (0)