Skip to content

Commit

Permalink
Link to latest release for all SIGs (non-submodule) (#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Nov 16, 2021
1 parent 64aa362 commit 28820f0
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 17 deletions.
3 changes: 3 additions & 0 deletions content/en/docs/collector/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ weight: 10
description: >-
<img width="35" src="https://raw.github.com/open-telemetry/opentelemetry.io/main/iconography/32x32/Collector.svg" alt="Collector logo"></img>
Vendor-agnostic way to receive, process and export telemetry data.
spelling: cSpell:ignore Otel
aliases: [/docs/collector/about]
---

Expand All @@ -23,3 +24,5 @@ Objectives:
- *Observability*: An exemplar of an observable service.
- *Extensibility*: Customizable without touching the core code.
- *Unification*: Single codebase, deployable as an agent or collector with support for traces, metrics, and logs (future).

{{% latest_release "collector" /%}}
7 changes: 3 additions & 4 deletions content/en/docs/cpp/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
title: "C++"
title: C++
weight: 11
description: >
A language-specific implementation of OpenTelemetry in C++.
description: A language-specific implementation of OpenTelemetry in C++.
---

This is the OpenTelemetry for C++ documentation. OpenTelemetry is an
Expand All @@ -20,7 +19,7 @@ as follows:
| -------- | ------- | ------- |
| Stable | Experimental | Experimental |

The current release can be found [here](https://github.com/open-telemetry/opentelemetry-cpp/releases)
{{% latest_release "cpp" /%}}

## Further Reading

Expand Down
9 changes: 5 additions & 4 deletions content/en/docs/erlang/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ The current status of the major functional components for OpenTelemetry Erlang/E
| ------- | ------- | ------- |
| Beta | Alpha | Not Yet Implemented |

The current release can be found
[here](https://github.com/open-telemetry/opentelemetry-erlang/releases) and in
[hex.pm](https://hex.pm) packages [opentelemetry_api](https://hex.pm/packages/opentelemetry_api)
and [opentelemetry](https://hex.pm/packages/opentelemetry), which is the SDK.
{{% latest_release "erlang" %}}
For SDK packages from [hex.pm](https://hex.pm), see
[opentelemetry_api](https://hex.pm/packages/opentelemetry_api) and
[opentelemetry](https://hex.pm/packages/opentelemetry).
{{% /latest_release %}}
3 changes: 2 additions & 1 deletion content/en/docs/js/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: >-
<img width="35" src="https://raw.github.com/open-telemetry/opentelemetry.io/main/iconography/32x32/JS_SDK.svg" alt="JS logo"></img>
A language-specific implementation of OpenTelemetry in JavaScript (for Node.JS & the browser).
aliases: [/js, /js/metrics, /js/tracing]
spelling: cSpell:ignore Roadmap
weight: 20
---

Expand All @@ -19,7 +20,7 @@ export data.
| Metrics | Development | Development |
| Logs | Roadmap | Roadmap |

You can find release information [here](https://github.com/open-telemetry/opentelemetry-js/releases)
{{% latest_release "js" /%}}

## Further Reading

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/net/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This is the current release status for OpenTelemetry components in this language
| ------- | ------- | ------- |
| 1.0 | Alpha | Beta |

You can find release information [here](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
{{% latest_release "dotnet" /%}}

# Further Reading

Expand Down
5 changes: 2 additions & 3 deletions content/en/docs/rust/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Rust
description: >
A language-specific implementation of OpenTelemetry in Rust.
description: A language-specific implementation of OpenTelemetry in Rust.
weight: 26
---

Expand All @@ -20,7 +19,7 @@ as follows:
| ------- | ------- | ------- |
| Beta | Alpha | Not Yet Implemented |

The current release can be found [here](https://github.com/open-telemetry/opentelemetry-rust/releases)
{{% latest_release "rust" /%}}

## Further Reading

Expand Down
7 changes: 3 additions & 4 deletions content/en/docs/swift/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
title: "Swift"
title: Swift
weight: 28
description: >
A language-specific implementation of OpenTelemetry in Swift.
description: A language-specific implementation of OpenTelemetry in Swift.
---

This is the OpenTelemetry for Swift documentation. OpenTelemetry is an
Expand All @@ -20,7 +19,7 @@ as follows:
| ------- | ------- | ------- |
| Beta | Alpha | Not Yet Implemented |

The current release can be found [here](https://github.com/open-telemetry/opentelemetry-swift/releases)
{{% latest_release "swift" /%}}

## Further Reading

Expand Down
7 changes: 7 additions & 0 deletions layouts/shortcodes/latest_release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{{ $relUrl := printf "https://github.com/open-telemetry/opentelemetry-%s" (.Get 0) -}}

For releases, including the [latest release][], see [Releases][].
{{- .Inner }}

[latest release]: {{ $relUrl }}/releases/latest
[Releases]: {{ $relUrl }}

0 comments on commit 28820f0

Please sign in to comment.