Skip to content

Commit 5afa723

Browse files
authored
[i18n] Make instrumentation-intro shortcode a simple include (#6364)
1 parent 192d128 commit 5afa723

21 files changed

+53
-17
lines changed

content/en/_includes/_index.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: # bogus for markdownlint
3+
cascade:
4+
build: { list: never, render: never }
5+
---
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
2-
title: # Bogus entry for markdownlint
3-
_build: { list: never, render: never }
2+
title: # bogus entry for markdownlint
43
---
54

65
<i class="fa-solid fa-circle-info" style="margin-left: -1.5rem"></i> You are
7-
viewing the **English version** of this page because it has not yet been
6+
viewing the **English version** of this page because it has not yet been fully
87
translated. Interested in helping out? See [Contributing](/docs/contributing/).
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: # bogus for markdownlint
3+
cascade:
4+
build: { list: never, render: never }
5+
---

layouts/shortcodes/docs/languages/instrumentation-intro.md content/en/docs/languages/_includes/instrumentation-intro.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: # bogus for markdownlint
3+
---
4+
15
[Instrumentation](/docs/concepts/instrumentation/) is the act of adding
26
observability code to an app yourself.
37

content/en/docs/languages/cpp/instrumentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cSpell:ignore: decltype labelkv nostd nullptr
99

1010
<!-- markdownlint-disable no-duplicate-heading -->
1111

12-
{{% docs/languages/instrumentation-intro %}}
12+
{{% include instrumentation-intro.md %}}
1313

1414
{{% alert title="Note" color="primary" %}}
1515

content/en/docs/languages/erlang/instrumentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ weight: 30
55
description: Instrumentation for OpenTelemetry Erlang/Elixir
66
---
77

8-
{{% docs/languages/instrumentation-intro %}}
8+
{{% include instrumentation-intro.md %}}
99

1010
## Setup
1111

content/en/docs/languages/go/instrumentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: Manual instrumentation for OpenTelemetry Go
88
cSpell:ignore: fatalf logr logrus otlplog otlploghttp sdktrace sighup
99
---
1010

11-
{{% docs/languages/instrumentation-intro %}}
11+
{{% include instrumentation-intro.md %}}
1212

1313
## Setup
1414

content/en/docs/languages/js/instrumentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: Instrumentation for OpenTelemetry JavaScript
88
cSpell:ignore: dicelib Millis rolldice
99
---
1010

11-
{{% docs/languages/instrumentation-intro %}}
11+
{{% include instrumentation-intro.md %}}
1212

1313
{{% alert title="Note" color="info" %}}
1414

content/en/docs/languages/net/instrumentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Instrumentation for OpenTelemetry .NET
66
cSpell:ignore: dicelib rolldice
77
---
88

9-
{{% docs/languages/instrumentation-intro %}}
9+
{{% include instrumentation-intro.md %}}
1010

1111
{{% alert title="Note" color="info" %}}
1212

content/en/docs/languages/php/instrumentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cSpell:ignore: guzzlehttp myapp
88

99
<!-- markdownlint-disable no-duplicate-heading -->
1010

11-
{{% docs/languages/instrumentation-intro %}}
11+
{{% include instrumentation-intro.md %}}
1212

1313
## Example app preparation {#example-app}
1414

content/en/docs/languages/python/instrumentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cSpell:ignore: millis ottrace textmap
88

99
<!-- markdownlint-disable no-duplicate-heading -->
1010

11-
{{% docs/languages/instrumentation-intro %}}
11+
{{% include instrumentation-intro.md %}}
1212

1313
## Setup
1414

content/en/docs/languages/ruby/instrumentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: Instrumentation for OpenTelemetry Ruby
1010
cSpell:ignore: SIGHUP
1111
---
1212

13-
{{% docs/languages/instrumentation-intro %}}
13+
{{% include instrumentation-intro.md %}}
1414

1515
## Setup
1616

content/en/docs/languages/swift/instrumentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ aliases: [manual]
55
description: Instrumentation for OpenTelemetry Swift
66
---
77

8-
{{% docs/languages/instrumentation-intro %}}
8+
{{% include instrumentation-intro.md %}}
99

1010
## Setup
1111

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: # bogus for markdownlint
3+
cascade:
4+
build: { list: never, render: never }
5+
default_lang_commit: 7811e854ba3b31c56ce681f1d60cf19e8a5c4358
6+
---

layouts/shortcodes/es/docs/languages/instrumentation-intro.md content/es/docs/languages/_includes/instrumentation-intro.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: # bogus for markdownlint
3+
default_lang_commit: 7811e854ba3b31c56ce681f1d60cf19e8a5c4358
4+
---
5+
16
[Instrumentar](/docs/concepts/instrumentation/) consiste en añadir el código de
27
observabilidad a una app.
38

content/es/docs/languages/python/instrumentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cSpell:ignore: millis ottrace textmap
99

1010
<!-- markdownlint-disable no-duplicate-heading -->
1111

12-
{{% es/docs/languages/instrumentation-intro %}}
12+
{{% include instrumentation-intro.md %}}
1313

1414
## Configuración
1515

content/pt/_includes/_index.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: # bogus for markdownlint
3+
cascade:
4+
build: { list: never, render: never }
5+
default_lang_commit: 7811e854ba3b31c56ce681f1d60cf19e8a5c4358
6+
---

content/pt/_includes/page-not-translated-msg.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: # Bogus entry for markdownlint
3-
_build: { list: never, render: never }
43
default_lang_commit: 8d115a9df96c52dbbb3f96c05a843390d90a9800
54
---
65

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: # bogus for markdownlint
3+
cascade:
4+
build: { list: never, render: never }
5+
default_lang_commit: 7811e854ba3b31c56ce681f1d60cf19e8a5c4358
6+
---

layouts/shortcodes/pt/docs/languages/instrumentation-intro.md content/pt/docs/languages/_includes/instrumentation-intro.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
{{/*
1+
---
2+
title: # bogus for markdownlint
23
default_lang_commit: 080527543eae90112f01c89342891aabd6258173
3-
*/ -}}
4+
---
45

56
[Instrumentação](/docs/concepts/instrumentation/) é o ato de adicionar código de
67
observabilidade a uma aplicação por conta própria.

content/pt/docs/languages/go/instrumentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ default_lang_commit: 748555c22f43476291ae0c7974ca4a2577da0472
99
cSpell:ignore: fatalf logr logrus otlplog otlploghttp sdktrace sighup updown
1010
---
1111

12-
{{% docs/languages/instrumentation-intro %}}
12+
{{% include instrumentation-intro.md %}}
1313

1414
## Configuração {#setup}
1515

0 commit comments

Comments
 (0)