Skip to content

Commit 7cb1bd3

Browse files
authored
[CI/i18n/pt] Illustrate notes for pt and drop _param shortcode (#6078)
1 parent 149cb6f commit 7cb1bd3

File tree

14 files changed

+28
-36
lines changed

14 files changed

+28
-36
lines changed

content/en/blog/2022/apisix/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,6 @@ communicate via the
393393

394394
_A version of this article was [originally posted][] on the Apache APISIX blog._
395395

396-
[^1]: {{% _param notes.docker-compose-v2 %}}
396+
[^1]: {{% param notes.docker-compose-v2 %}}
397397

398398
[originally posted]: {{% param canonical_url %}}

content/en/blog/2022/debug-otel-with-otel/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ COPY default.conf /etc/nginx/conf.d
247247
COPY opentelemetry_module.conf /etc/nginx/conf.d
248248
```
249249

250-
[^1]: {{% _param notes.docker-compose-v2 %}}
250+
[^1]: {{% param notes.docker-compose-v2 %}}
251251

252252
[learn how to instrument nginx with opentelemetry]: /blog/2022/instrument-nginx/
253253
[put nginx between two services]:

content/en/blog/2022/demo-announcement/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@ from there.
155155
- [Demo Requirements](/docs/demo/requirements/)
156156
- [Get Involved](https://github.com/open-telemetry/opentelemetry-demo#contributing)
157157

158-
[^1]: {{% _param notes.docker-compose-v2 %}}
158+
[^1]: {{% param notes.docker-compose-v2 %}}

content/en/blog/2022/instrument-apache-httpd-server/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ writing this blog, support for other architectures is not provided.
254254
- Now, restart the Apache HTTP Server and OpenTelemetry module should be
255255
instrumented.
256256

257-
[^1]: {{% _param notes.docker-compose-v2 %}}
257+
[^1]: {{% param notes.docker-compose-v2 %}}
258258

259259
[docker-compose.yml]:
260260
https://github.com/open-telemetry/opentelemetry-cpp-contrib/blob/main/instrumentation/otel-webserver-module/docker-compose.yml

content/en/blog/2022/instrument-nginx/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ You should now be able to apply what you have learned from this blog post to
369369
your own installation of NGINX. We would love to hear about your experience! If
370370
you run into any problems, [create an issue][].
371371

372-
[^1]: {{% _param notes.docker-compose-v2 %}}
372+
[^1]: {{% param notes.docker-compose-v2 %}}
373373

374374
[create an issue]:
375375
https://github.com/open-telemetry/opentelemetry-cpp-contrib/issues

content/en/blog/2023/end-user-q-and-a-02.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,4 +304,4 @@ Be sure to follow OpenTelemetry on
304304
[Twitter](https://twitter.com/opentelemetry), and share your stories using the
305305
**#OpenTelemetry** hashtag!
306306

307-
[^1]: {{% _param notes.docker-compose-v2 %}}
307+
[^1]: {{% param notes.docker-compose-v2 %}}

content/en/docs/contributing/development.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ website files.
3131
## Local setup
3232

3333
1. [Fork][] and then [clone][] the website repository at
34-
<{{% _param github_repo %}}>.
34+
<{{% param github_repo %}}>.
3535
2. Go to the repository directory.
3636
3. Install or upgrade to the [**active LTS** release][nodejs-rel] of Node.js.
3737
We recommend using [nvm][] to manage your Node installation. Under Linux,

content/en/docs/demo/docker-deployment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,4 @@ After updating the `otelcol-config-extras.yml`, start the demo by running
145145
`make start`. After a while, you should see the traces flowing into your backend
146146
as well.
147147

148-
[^1]: {{% _param notes.docker-compose-v2 %}}
148+
[^1]: {{% param notes.docker-compose-v2 %}}

content/en/docs/demo/tests.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ commands for each type of test[^1]:
2222
To learn more about these tests, see
2323
[Service Testing](https://github.com/open-telemetry/opentelemetry-demo/tree/main/test).
2424

25-
[^1]: {{% _param notes.docker-compose-v2 %}}
25+
[^1]: {{% param notes.docker-compose-v2 %}}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cSpell:ignore: Roadmap
1212
{{% docs/languages/index-intro js /%}}
1313

1414
{{% alert title="Warning" color="warning" %}}
15-
{{% _param notes.browser-instrumentation %}} {{% /alert %}}
15+
{{% param notes.browser-instrumentation %}} {{% /alert %}}
1616

1717
## Version Support
1818

content/en/docs/languages/js/getting-started/browser.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 20
66
---
77

88
{{% alert title="Warning" color="warning" %}}
9-
{{% _param notes.browser-instrumentation %}} {{% /alert %}}
9+
{{% param notes.browser-instrumentation %}} {{% /alert %}}
1010

1111
While this guide uses the example application presented below, the steps to
1212
instrument your own application should be similar.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ above, you have a `TracerProvider` setup for you already. You can continue with
336336
#### Browser
337337

338338
{{% alert title="Warning" color="warning" %}}
339-
{{% _param notes.browser-instrumentation %}} {{% /alert %}}
339+
{{% param notes.browser-instrumentation %}} {{% /alert %}}
340340

341341
First, ensure you've got the right packages:
342342

hugo.yaml

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cSpell:ignore docsy goldmark linkify netlify wordmark
1+
# cSpell:ignore docsy goldmark linkify netlify wordmark noopener
22
baseURL: https://opentelemetry.io
33
title: OpenTelemetry
44
disableKinds: [taxonomy]
@@ -33,6 +33,14 @@ languages:
3333
languageCode: pt-BR
3434
params:
3535
description: Site do Projeto OpenTelemetry
36+
notes:
37+
browser-instrumentation: |
38+
A instrumentação do cliente para o navegador é **experimental** e,
39+
em grande parte, **não está especificada**. Caso possua interesse em
40+
auxiliar, entre em contato com o [SIG de Instrumentação do
41+
Cliente][sig].
42+
43+
[sig]: https://docs.google.com/document/d/16Vsdh-DM72AfMg_FIt9yT9ExEWF4A_vRbQ3jRNBe09w
3644
zh:
3745
languageName: 中文 (Chinese)
3846
languageCode: zh-cn
@@ -217,14 +225,19 @@ params:
217225
sizes: [300, 400, 600, 700]
218226
type: sans_serif
219227

220-
notes: # as markdown
228+
notes:
229+
# Syntax is markdown. This params section is the default for `en` and
230+
# fallback for other languages. Add locale specific entries under the
231+
# top-level `languages.XX.params` entry for your locale XX.
221232
docker-compose-v2: |
222233
`docker-compose` is deprecated. For details, see
223234
[Migrate to Compose V2](https://docs.docker.com/compose/migrate/).
224235
browser-instrumentation: |
225236
Client instrumentation for the browser is **experimental** and mostly **unspecified**.
226237
If you are interested in helping out, get in touch with the
227-
[Client Instrumentation SIG](https://docs.google.com/document/d/16Vsdh-DM72AfMg_FIt9yT9ExEWF4A_vRbQ3jRNBe09w).
238+
[Client Instrumentation SIG][sig].
239+
240+
[sig]: https://docs.google.com/document/d/16Vsdh-DM72AfMg_FIt9yT9ExEWF4A_vRbQ3jRNBe09w
228241
229242
security:
230243
funcs: # cspell:disable-line

layouts/shortcodes/_param.md

-21
This file was deleted.

0 commit comments

Comments
 (0)