From 1e0c316e3bdac625edc51f0a5037bff6e4611b65 Mon Sep 17 00:00:00 2001
From: Severin Neumann <neumanns@cisco.com>
Date: Sat, 3 Feb 2024 21:14:31 +0100
Subject: [PATCH] Add redirects to collector/language-specific registry entries
 (#3932)

Signed-off-by: svrnm <neumanns@cisco.com>
Signed-off-by: Severin Neumann <severin.neumann@altmuehlnet.de>
Co-authored-by: Patrice Chalin <chalin@users.noreply.github.com>
Co-authored-by: Phillip Carter <pcarter@fastmail.com>
---
 .htmltest.yml                                | 3 ++-
 content/en/docs/collector/registry.md        | 9 +++++++++
 content/en/docs/languages/cpp/registry.md    | 9 +++++++++
 content/en/docs/languages/erlang/registry.md | 9 +++++++++
 content/en/docs/languages/go/registry.md     | 9 +++++++++
 content/en/docs/languages/java/registry.md   | 9 +++++++++
 content/en/docs/languages/js/registry.md     | 9 +++++++++
 content/en/docs/languages/net/registry.md    | 9 +++++++++
 content/en/docs/languages/php/registry.md    | 9 +++++++++
 content/en/docs/languages/python/registry.md | 9 +++++++++
 content/en/docs/languages/ruby/registry.md   | 9 +++++++++
 content/en/docs/languages/rust/registry.md   | 9 +++++++++
 content/en/docs/languages/swift/registry.md  | 9 +++++++++
 13 files changed, 110 insertions(+), 1 deletion(-)
 create mode 100644 content/en/docs/collector/registry.md
 create mode 100644 content/en/docs/languages/cpp/registry.md
 create mode 100644 content/en/docs/languages/erlang/registry.md
 create mode 100644 content/en/docs/languages/go/registry.md
 create mode 100644 content/en/docs/languages/java/registry.md
 create mode 100644 content/en/docs/languages/js/registry.md
 create mode 100644 content/en/docs/languages/net/registry.md
 create mode 100644 content/en/docs/languages/php/registry.md
 create mode 100644 content/en/docs/languages/python/registry.md
 create mode 100644 content/en/docs/languages/ruby/registry.md
 create mode 100644 content/en/docs/languages/rust/registry.md
 create mode 100644 content/en/docs/languages/swift/registry.md

diff --git a/.htmltest.yml b/.htmltest.yml
index 5c652e635e98..8b68fc6a980e 100644
--- a/.htmltest.yml
+++ b/.htmltest.yml
@@ -9,7 +9,8 @@ IgnoreDirs:
   - ^blog/(\d+/)?page/\d+
 IgnoreInternalURLs: # list of paths
 IgnoreURLs: # list of regexs of paths or URLs to be ignored
-  - ^/docs/languages/\w+/(api|examples)/$
+  - ^/docs/languages/\w+/(api|examples|registry)/$
+  - ^/docs/collector/registry/$
   - ^/docs/languages/net/(metrics-api|traces-api)/
   - ^/community/end-user/feedback-survey/$
   - ^(/docs/migration/)?opencensus/$
diff --git a/content/en/docs/collector/registry.md b/content/en/docs/collector/registry.md
new file mode 100644
index 000000000000..7791085ba732
--- /dev/null
+++ b/content/en/docs/collector/registry.md
@@ -0,0 +1,9 @@
+---
+title: Registry
+description:
+  Exporters, processors, receivers and other useful components for the
+  OpenTelemetry Collector
+redirect: /ecosystem/registry/?language=collector
+_build: { render: link }
+weight: 300
+---
diff --git a/content/en/docs/languages/cpp/registry.md b/content/en/docs/languages/cpp/registry.md
new file mode 100644
index 000000000000..c7cfd750d557
--- /dev/null
+++ b/content/en/docs/languages/cpp/registry.md
@@ -0,0 +1,9 @@
+---
+title: Registry
+description:
+  Instrumentation libraries, exporters and other useful components for
+  OpenTelemetry C++
+redirect: /ecosystem/registry/?language=cpp
+_build: { render: link }
+weight: 300
+---
diff --git a/content/en/docs/languages/erlang/registry.md b/content/en/docs/languages/erlang/registry.md
new file mode 100644
index 000000000000..bd81400eda9f
--- /dev/null
+++ b/content/en/docs/languages/erlang/registry.md
@@ -0,0 +1,9 @@
+---
+title: Registry
+description:
+  Instrumentation libraries, exporters and other useful components for
+  OpenTelemetry Erlang/Elixir
+redirect: /ecosystem/registry/?language=erlang
+_build: { render: link }
+weight: 300
+---
diff --git a/content/en/docs/languages/go/registry.md b/content/en/docs/languages/go/registry.md
new file mode 100644
index 000000000000..9a3736ce6021
--- /dev/null
+++ b/content/en/docs/languages/go/registry.md
@@ -0,0 +1,9 @@
+---
+title: Registry
+description:
+  Instrumentation libraries, exporters and other useful components for
+  OpenTelemetry Go
+redirect: /ecosystem/registry/?language=go
+_build: { render: link }
+weight: 300
+---
diff --git a/content/en/docs/languages/java/registry.md b/content/en/docs/languages/java/registry.md
new file mode 100644
index 000000000000..41eb22742389
--- /dev/null
+++ b/content/en/docs/languages/java/registry.md
@@ -0,0 +1,9 @@
+---
+title: Registry
+description:
+  Instrumentation libraries, exporters and other useful components for
+  OpenTelemetry Java
+redirect: /ecosystem/registry/?language=java
+_build: { render: link }
+weight: 300
+---
diff --git a/content/en/docs/languages/js/registry.md b/content/en/docs/languages/js/registry.md
new file mode 100644
index 000000000000..86dceeba9a35
--- /dev/null
+++ b/content/en/docs/languages/js/registry.md
@@ -0,0 +1,9 @@
+---
+title: Registry
+description:
+  Instrumentation libraries, exporters and other useful components for
+  OpenTelemetry JavaScript
+redirect: /ecosystem/registry/?language=js
+_build: { render: link }
+weight: 300
+---
diff --git a/content/en/docs/languages/net/registry.md b/content/en/docs/languages/net/registry.md
new file mode 100644
index 000000000000..ed436ce92890
--- /dev/null
+++ b/content/en/docs/languages/net/registry.md
@@ -0,0 +1,9 @@
+---
+title: Registry
+description:
+  Instrumentation libraries, exporters and other useful components for
+  OpenTelemetry .NET
+redirect: /ecosystem/registry/?language=dotnet
+_build: { render: link }
+weight: 300
+---
diff --git a/content/en/docs/languages/php/registry.md b/content/en/docs/languages/php/registry.md
new file mode 100644
index 000000000000..67c81ed447c1
--- /dev/null
+++ b/content/en/docs/languages/php/registry.md
@@ -0,0 +1,9 @@
+---
+title: Registry
+description:
+  Instrumentation libraries, exporters and other useful components for
+  OpenTelemetry PHP
+redirect: /ecosystem/registry/?language=php
+_build: { render: link }
+weight: 300
+---
diff --git a/content/en/docs/languages/python/registry.md b/content/en/docs/languages/python/registry.md
new file mode 100644
index 000000000000..3b5245c59a61
--- /dev/null
+++ b/content/en/docs/languages/python/registry.md
@@ -0,0 +1,9 @@
+---
+title: Registry
+description:
+  Instrumentation libraries, exporters and other useful components for
+  OpenTelemetry Python
+redirect: /ecosystem/registry/?language=python
+_build: { render: link }
+weight: 300
+---
diff --git a/content/en/docs/languages/ruby/registry.md b/content/en/docs/languages/ruby/registry.md
new file mode 100644
index 000000000000..23718889a76b
--- /dev/null
+++ b/content/en/docs/languages/ruby/registry.md
@@ -0,0 +1,9 @@
+---
+title: Registry
+description:
+  Instrumentation libraries, exporters and other useful components for
+  OpenTelemetry Ruby
+redirect: /ecosystem/registry/?language=ruby
+_build: { render: link }
+weight: 300
+---
diff --git a/content/en/docs/languages/rust/registry.md b/content/en/docs/languages/rust/registry.md
new file mode 100644
index 000000000000..712fe22b387b
--- /dev/null
+++ b/content/en/docs/languages/rust/registry.md
@@ -0,0 +1,9 @@
+---
+title: Registry
+description:
+  Instrumentation libraries, exporters and other useful components for
+  OpenTelemetry Rust
+redirect: /ecosystem/registry/?language=rust
+_build: { render: link }
+weight: 300
+---
diff --git a/content/en/docs/languages/swift/registry.md b/content/en/docs/languages/swift/registry.md
new file mode 100644
index 000000000000..9dd4b0508a93
--- /dev/null
+++ b/content/en/docs/languages/swift/registry.md
@@ -0,0 +1,9 @@
+---
+title: Registry
+description:
+  Instrumentation libraries, exporters and other useful components for
+  OpenTelemetry Swift
+redirect: /ecosystem/registry/?language=swift
+_build: { render: link }
+weight: 300
+---