Skip to content

Commit 5afa723

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

File tree

21 files changed

+53
-17
lines changed

21 files changed

+53
-17
lines changed

content/en/_includes/_index.md

Lines changed: 5 additions & 0 deletions
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+
---
Lines changed: 2 additions & 3 deletions
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/).
Lines changed: 5 additions & 0 deletions
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 renamed to content/en/docs/languages/_includes/instrumentation-intro.md

Lines changed: 4 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)