Skip to content

Commit

Permalink
[i18n] Fallback to en for ja docs; en docs link normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Jun 7, 2024
1 parent a575dfd commit 76ecca6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .htmltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ IgnoreDirs:
- ^blog/(\d+/)?page/\d+
IgnoreInternalURLs: # list of paths
IgnoreURLs: # list of regexs of paths or URLs to be ignored
- ^(/zh)?/docs/languages/\w+/(api|examples|registry)/$
- ^(/zh)?/docs/collector/registry/$
- ^(/zh)?/docs/languages/net/(metrics-api|traces-api)/
- ^((/zh)?/docs/migration/)?opencensus/$
- ^(/..)?/docs/languages/\w+/(api|examples|registry)/$
- ^(/..)?/docs/collector/registry/$
- ^(/..)?/docs/languages/net/(metrics-api|traces-api)/
- ^((/..)?/docs/migration/)?opencensus/$
- ^/community/end-user/feedback-survey/$

- ^https://deploy-preview-\d+--opentelemetry.netlify.app/
Expand Down
2 changes: 1 addition & 1 deletion content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ show_banner: true

- [Learn more](/docs/what-is-opentelemetry/)
- [Try the demo](/docs/demo/)
- [Explore integrations](/ecosystem/integrations)
- [Explore integrations](/ecosystem/integrations/)

</div>

Expand Down
9 changes: 4 additions & 5 deletions content/en/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ aliases: [/docs/workshop/*]
OpenTelemetry, also known as OTel, is a vendor-neutral open source
[Observability](concepts/observability-primer/#what-is-observability) framework
for instrumenting, generating, collecting, and exporting telemetry data such as
[traces](/docs/concepts/signals/traces/),
[metrics](/docs/concepts/signals/metrics/), and
[logs](/docs/concepts/signals/logs/).
[traces](concepts/signals/traces/), [metrics](concepts/signals/metrics/), and
[logs](concepts/signals/logs/).

As an industry-standard, OpenTelemetry is
[supported by more than 40 observability vendors](/ecosystem/vendors/),
integrated by many [libraries, services, and apps](/ecosystem/integrations), and
adopted by [numerous end users](/ecosystem/adopters).
integrated by many [libraries, services, and apps](/ecosystem/integrations/),
and adopted by [numerous end users](/ecosystem/adopters/).

![OpenTelemetry Reference Architecture](/img/otel-diagram.svg)
8 changes: 4 additions & 4 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@ module:
target: content
lang: ja
# fallback pages
# - excludeFiles: specs/*
# source: content/en/docs
# target: content/docs
# lang: ja
- excludeFiles: specs/*
source: content/en/docs
target: content/docs
lang: ja
- source: content/en/announcements
target: content/announcements
lang: ja
Expand Down

0 comments on commit 76ecca6

Please sign in to comment.