Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't create a docs alias for the "other" instrumentation page #2114

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/en/docs/instrumentation/other/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
linkTitle: Other
title: Other languages
linkTitle: Other
weight: 99
description: >-
Language-specific implementation of OpenTelemetry for other languages.
Expand All @@ -10,7 +10,7 @@ Implementing the OpenTelemetry specification is not limited to the languages you
will find in our documentation. OpenTelemetry is designed in a way that it is
possible to implement it in every language you like.

For some languages unofficial implementations exist, you can find them in the
For some languages, unofficial implementations exist -- you can find them in the
[registry](/registry). If you know about an implementation not listed there,
please [add it to the registry][].

Expand Down
2 changes: 2 additions & 0 deletions layouts/index.redirects
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
{{ $languages := (.Site.GetPage "/docs/instrumentation").Pages -}}
{{ range $languages -}}
{{ $lang := .File.ContentBaseName -}}
{{ if ne $lang "other" -}}
/docs/{{ $lang }} /docs/instrumentation/{{ $lang }}
/docs/{{ $lang }}/* /docs/instrumentation/{{ $lang }}/:splat
{{ end -}}
{{ end -}}

{{/*
Social-media image redirects. As mentioned in
Expand Down