Skip to content

Commit

Permalink
[i18n] Make instrumentation-intro shortcode a simple include (open-…
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Feb 18, 2025
1 parent 192d128 commit 5afa723
Show file tree
Hide file tree
Showing 21 changed files with 53 additions and 17 deletions.
5 changes: 5 additions & 0 deletions content/en/_includes/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: # bogus for markdownlint
cascade:
build: { list: never, render: never }
---
5 changes: 2 additions & 3 deletions content/en/_includes/page-not-translated-msg.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
title: # Bogus entry for markdownlint
_build: { list: never, render: never }
title: # bogus entry for markdownlint
---

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

[Instrumentation](/docs/concepts/instrumentation/) is the act of adding
observability code to an app yourself.

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/cpp/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cSpell:ignore: decltype labelkv nostd nullptr

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

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

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

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/erlang/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ weight: 30
description: Instrumentation for OpenTelemetry Erlang/Elixir
---

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

## Setup

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/go/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: Manual instrumentation for OpenTelemetry Go
cSpell:ignore: fatalf logr logrus otlplog otlploghttp sdktrace sighup
---

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

## Setup

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/js/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: Instrumentation for OpenTelemetry JavaScript
cSpell:ignore: dicelib Millis rolldice
---

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

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

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/net/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Instrumentation for OpenTelemetry .NET
cSpell:ignore: dicelib rolldice
---

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

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

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/php/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cSpell:ignore: guzzlehttp myapp

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

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

## Example app preparation {#example-app}

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/python/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cSpell:ignore: millis ottrace textmap

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

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

## Setup

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/ruby/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: Instrumentation for OpenTelemetry Ruby
cSpell:ignore: SIGHUP
---

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

## Setup

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/swift/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ aliases: [manual]
description: Instrumentation for OpenTelemetry Swift
---

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

## Setup

Expand Down
6 changes: 6 additions & 0 deletions content/es/docs/languages/_includes/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: # bogus for markdownlint
cascade:
build: { list: never, render: never }
default_lang_commit: 7811e854ba3b31c56ce681f1d60cf19e8a5c4358
---
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: # bogus for markdownlint
default_lang_commit: 7811e854ba3b31c56ce681f1d60cf19e8a5c4358
---

[Instrumentar](/docs/concepts/instrumentation/) consiste en añadir el código de
observabilidad a una app.

Expand Down
2 changes: 1 addition & 1 deletion content/es/docs/languages/python/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cSpell:ignore: millis ottrace textmap

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

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

## Configuración

Expand Down
6 changes: 6 additions & 0 deletions content/pt/_includes/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: # bogus for markdownlint
cascade:
build: { list: never, render: never }
default_lang_commit: 7811e854ba3b31c56ce681f1d60cf19e8a5c4358
---
1 change: 0 additions & 1 deletion content/pt/_includes/page-not-translated-msg.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: # Bogus entry for markdownlint
_build: { list: never, render: never }
default_lang_commit: 8d115a9df96c52dbbb3f96c05a843390d90a9800
---

Expand Down
6 changes: 6 additions & 0 deletions content/pt/docs/languages/_includes/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: # bogus for markdownlint
cascade:
build: { list: never, render: never }
default_lang_commit: 7811e854ba3b31c56ce681f1d60cf19e8a5c4358
---
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{/*
---
title: # bogus for markdownlint
default_lang_commit: 080527543eae90112f01c89342891aabd6258173
*/ -}}
---

[Instrumentação](/docs/concepts/instrumentation/) é o ato de adicionar código de
observabilidade a uma aplicação por conta própria.
Expand Down
2 changes: 1 addition & 1 deletion content/pt/docs/languages/go/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ default_lang_commit: 748555c22f43476291ae0c7974ca4a2577da0472
cSpell:ignore: fatalf logr logrus otlplog otlploghttp sdktrace sighup updown
---

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

## Configuração {#setup}

Expand Down

0 comments on commit 5afa723

Please sign in to comment.