From 797e337676662dfad44f7fefe26a9da00dec3b6c Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 28 Oct 2022 17:13:26 -0400 Subject: [PATCH] [docs] Support redirect of placeholder-page paths to their targets (#3401) Co-authored-by: Tyler Yahn --- website_docs/api.md | 4 +--- website_docs/examples.md | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/website_docs/api.md b/website_docs/api.md index a5c5867f8d0..dc29c312b93 100644 --- a/website_docs/api.md +++ b/website_docs/api.md @@ -1,9 +1,7 @@ --- title: API reference linkTitle: API -# Note: this is a placeholder page. Attempting to visit this page will -# redirect to the following URL: -manualLink: https://pkg.go.dev/go.opentelemetry.io/otel +redirect: https://pkg.go.dev/go.opentelemetry.io/otel manualLinkTarget: _blank _build: { render: link } weight: 50 diff --git a/website_docs/examples.md b/website_docs/examples.md index 51a92b7d799..ff0ea28b1aa 100644 --- a/website_docs/examples.md +++ b/website_docs/examples.md @@ -1,8 +1,6 @@ --- title: Examples -# Note: this is a placeholder page. Attempting to visit this page will -# redirect to the following URL: -manualLink: https://github.com/open-telemetry/opentelemetry-go/tree/main/example +redirect: https://github.com/open-telemetry/opentelemetry-go/tree/main/example manualLinkTarget: _blank _build: { render: link } weight: 60