diff --git a/content/en/blog/2022/gc-candidates.md b/content/en/blog/2022/gc-candidates.md index 7630bef4dca..dbdcca29c69 100644 --- a/content/en/blog/2022/gc-candidates.md +++ b/content/en/blog/2022/gc-candidates.md @@ -3,7 +3,7 @@ title: Final list of candidates for the 2022 OpenTelemetry Governance Committee linkTitle: 2022 GC Candidates date: 2022-10-13 author: OpenTelemetry Governance Committee -aliases: [/blog/2022/gc-elections-2022-list-of-candidates] +aliases: [gc-elections-2022-list-of-candidates] cSpell:ignore: Finnigan Marciniak Reiley Vijay Yahn --- diff --git a/content/en/blog/2022/gc-elections.md b/content/en/blog/2022/gc-elections.md index 21d0c0b83a1..4c3e159e6c3 100644 --- a/content/en/blog/2022/gc-elections.md +++ b/content/en/blog/2022/gc-elections.md @@ -3,7 +3,7 @@ title: Announcing the 2022 OpenTelemetry Governance Committee Election linkTitle: 2022 GC Election date: 2022-09-15 author: OpenTelemetry Governance Committee -aliases: [/blog/2022/gc-elections-2022] +aliases: [gc-elections-2022] cSpell:ignore: bogdandrutu Fong jpkrohling --- diff --git a/content/en/blog/2023/end-user-discussions-01.md b/content/en/blog/2023/end-user-discussions-01.md index 6b94d063365..4f19e1fe8b2 100644 --- a/content/en/blog/2023/end-user-discussions-01.md +++ b/content/en/blog/2023/end-user-discussions-01.md @@ -3,7 +3,7 @@ title: OpenTelemetry End-User Discussions Summary for January 2023 linkTitle: End-User Discussions Jan 2023 date: 2023-01-27 author: '[Adriana Villela](https://github.com/avillela) (Lightstep)' -aliases: [/blog/2023/otel-end-user-discussions-january-2023] +aliases: [otel-end-user-discussions-january-2023] body_class: otel-with-contributions-from cSpell:ignore: january OTTL --- diff --git a/content/en/blog/2023/gc-elections.md b/content/en/blog/2023/gc-elections.md index 8946f50d4c7..45c118f21f8 100644 --- a/content/en/blog/2023/gc-elections.md +++ b/content/en/blog/2023/gc-elections.md @@ -3,7 +3,7 @@ title: Announcing the 2023 OpenTelemetry Governance Committee Election linkTitle: 2023 GC Election date: 2023-09-29 author: OpenTelemetry Governance Committee -aliases: [/blog/2023/gc-elections-2023] +aliases: [gc-elections-2023] cSpell:ignore: Bogdan Drutu dyladan mtwo Paxão Shkuro Sigelman trask --- diff --git a/content/en/blog/2023/new-apac-meetings.md b/content/en/blog/2023/new-apac-meetings.md index 726c3f460b9..9ac4611f497 100644 --- a/content/en/blog/2023/new-apac-meetings.md +++ b/content/en/blog/2023/new-apac-meetings.md @@ -2,7 +2,7 @@ title: New APAC Collector-SIG meetings date: 2023-02-27 author: '[Sean Marciniak](https://github.com/MovieStoreGuy) (Atlassian)' -aliases: [/blog/2023/additional-collector-sig/] +aliases: [additional-collector-sig/] cSpell:ignore: Marciniak --- diff --git a/content/en/docs/collector/_index.md b/content/en/docs/collector/_index.md index 769deeb21eb..9988a74c2cf 100644 --- a/content/en/docs/collector/_index.md +++ b/content/en/docs/collector/_index.md @@ -1,7 +1,7 @@ --- title: Collector description: Vendor-agnostic way to receive, process and export telemetry data. -aliases: [/docs/collector/about] +aliases: [collector/about] cascade: collectorVersion: 0.87.0 weight: 10 diff --git a/content/en/docs/concepts/_index.md b/content/en/docs/concepts/_index.md index 53e5ea71728..29b6270e3b3 100644 --- a/content/en/docs/concepts/_index.md +++ b/content/en/docs/concepts/_index.md @@ -2,7 +2,7 @@ title: OpenTelemetry Concepts linkTitle: Concepts description: Key concepts in OpenTelemetry -aliases: [/docs/concepts/overview] +aliases: [concepts/overview] weight: 2 --- diff --git a/content/en/docs/concepts/components.md b/content/en/docs/concepts/components.md index 162be1201e2..1dcb1dde42f 100644 --- a/content/en/docs/concepts/components.md +++ b/content/en/docs/concepts/components.md @@ -1,7 +1,7 @@ --- title: Components description: The main components that make up OpenTelemetry -aliases: [/docs/concepts/data-collection] +aliases: [data-collection] weight: 20 --- diff --git a/content/en/docs/concepts/instrumentation/_index.md b/content/en/docs/concepts/instrumentation/_index.md index 45b5ddc5b1a..1b897cb8c7b 100644 --- a/content/en/docs/concepts/instrumentation/_index.md +++ b/content/en/docs/concepts/instrumentation/_index.md @@ -3,7 +3,7 @@ title: Instrumentation description: >- How OpenTelemetry facilitates automatic and manual instrumentation of applications. -aliases: [/docs/concepts/instrumenting] +aliases: [instrumenting] weight: 15 --- diff --git a/content/en/docs/concepts/instrumentation/libraries.md b/content/en/docs/concepts/instrumentation/libraries.md index e76698a91a7..4496a815813 100644 --- a/content/en/docs/concepts/instrumentation/libraries.md +++ b/content/en/docs/concepts/instrumentation/libraries.md @@ -1,7 +1,7 @@ --- title: Libraries description: Learn how to add native instrumentation to your library. -aliases: [/docs/concepts/instrumenting-library] +aliases: [../instrumenting-library] weight: 40 --- diff --git a/content/en/docs/demo/architecture.md b/content/en/docs/demo/architecture.md index ab61b9bc29e..59f7ab652f3 100644 --- a/content/en/docs/demo/architecture.md +++ b/content/en/docs/demo/architecture.md @@ -1,7 +1,7 @@ --- title: Demo Architecture linkTitle: Architecture -aliases: [/docs/demo/current_architecture] +aliases: [current_architecture] body_class: otel-mermaid-max-width # prettier-ignore cSpell:ignore: cppsvc dotnetsvc erlangsvc featureflagstore golangsvc javascriptsvc javasvc kotlinsvc loadgenerator phpsvc pythonsvc rubysvc rustsvc tsdb typescriptsvc diff --git a/content/en/docs/demo/docker-deployment.md b/content/en/docs/demo/docker-deployment.md index 404c28456da..c44bcf2df03 100644 --- a/content/en/docs/demo/docker-deployment.md +++ b/content/en/docs/demo/docker-deployment.md @@ -1,7 +1,7 @@ --- title: Docker deployment linkTitle: Docker -aliases: [/docs/demo/docker_deployment] +aliases: [docker_deployment] cSpell:ignore: otelcollector otlphttp --- diff --git a/content/en/docs/demo/feature-flags.md b/content/en/docs/demo/feature-flags.md index 46d23d2c1eb..eeca0b01bc7 100644 --- a/content/en/docs/demo/feature-flags.md +++ b/content/en/docs/demo/feature-flags.md @@ -1,6 +1,6 @@ --- title: Feature Flags -aliases: [/docs/demo/feature_flags] +aliases: [feature_flags] cSpell:ignore: OLJCESPC7Z --- diff --git a/content/en/docs/demo/features.md b/content/en/docs/demo/features.md index 09cb6805d4f..aacc3bd6f4d 100644 --- a/content/en/docs/demo/features.md +++ b/content/en/docs/demo/features.md @@ -1,7 +1,7 @@ --- title: Demo Features linkTitle: Features -aliases: [/docs/demo/demo_features] +aliases: [demo_features] --- - **[Kubernetes](https://kubernetes.io/)**: the app is designed to run on diff --git a/content/en/docs/demo/kubernetes-deployment.md b/content/en/docs/demo/kubernetes-deployment.md index 570c807df33..50fdddaf159 100644 --- a/content/en/docs/demo/kubernetes-deployment.md +++ b/content/en/docs/demo/kubernetes-deployment.md @@ -1,7 +1,7 @@ --- title: Kubernetes deployment linkTitle: Kubernetes -aliases: [/docs/demo/kubernetes_deployment] +aliases: [kubernetes_deployment] cSpell:ignore: loadgen otlphttp --- diff --git a/content/en/docs/demo/manual-span-attributes.md b/content/en/docs/demo/manual-span-attributes.md index 236fbc50cb7..8083297849c 100644 --- a/content/en/docs/demo/manual-span-attributes.md +++ b/content/en/docs/demo/manual-span-attributes.md @@ -1,6 +1,6 @@ --- title: Manual Span Attributes -aliases: [/docs/demo/manual_span_attributes] +aliases: [manual_span_attributes] cSpell:ignore: featureflag --- diff --git a/content/en/docs/demo/metric-features.md b/content/en/docs/demo/metric-features.md index 664be8db25f..d87833e5fcb 100644 --- a/content/en/docs/demo/metric-features.md +++ b/content/en/docs/demo/metric-features.md @@ -1,7 +1,7 @@ --- title: Metric Feature Coverage by Service linkTitle: Metric Feature Coverage -aliases: [/docs/demo/metric_service_features] +aliases: [metric_service_features] --- | Service | Language | Auto-instrumentation | Manual Instrumentation | Multiple Instruments | Views | Custom Attributes | Resource Detection | Trace Exemplars | diff --git a/content/en/docs/demo/requirements/application.md b/content/en/docs/demo/requirements/application.md index 65ce29cf984..09f99b7daf9 100644 --- a/content/en/docs/demo/requirements/application.md +++ b/content/en/docs/demo/requirements/application.md @@ -1,7 +1,7 @@ --- title: Application Requirements title: Application -aliases: [/docs/demo/requirements/application_requirements] +aliases: [application_requirements] --- The following requirements were decided upon to define what OpenTelemetry (OTel) diff --git a/content/en/docs/demo/requirements/architecture.md b/content/en/docs/demo/requirements/architecture.md index f55bc907d35..ea13ba700e8 100644 --- a/content/en/docs/demo/requirements/architecture.md +++ b/content/en/docs/demo/requirements/architecture.md @@ -1,7 +1,7 @@ --- title: Architecture Requirements linkTitle: Architecture -aliases: [/docs/demo/requirements/architecture_requirements] +aliases: [architecture_requirements] cSpell:ignore: dockerstatsreceiver --- diff --git a/content/en/docs/demo/requirements/opentelemetry.md b/content/en/docs/demo/requirements/opentelemetry.md index ee228cc5d2c..ec92cfeb3a7 100644 --- a/content/en/docs/demo/requirements/opentelemetry.md +++ b/content/en/docs/demo/requirements/opentelemetry.md @@ -1,7 +1,7 @@ --- title: OpenTelemetry Requirements linkTitle: OTel Requirements -aliases: [/docs/demo/requirements/opentelemetry_requirements] +aliases: [opentelemetry_requirements] --- The following requirements were decided upon to define what OpenTelemetry (OTel) diff --git a/content/en/docs/demo/requirements/system.md b/content/en/docs/demo/requirements/system.md index c0347026361..6e80ccf3e33 100644 --- a/content/en/docs/demo/requirements/system.md +++ b/content/en/docs/demo/requirements/system.md @@ -1,7 +1,7 @@ --- title: System Requirements linkTitle: System -aliases: [/docs/demo/requirements/system_requirements] +aliases: [system_requirements] --- To ensure the demo runs correctly please ensure your environment meets the diff --git a/content/en/docs/demo/scenarios/recommendation-cache/index.md b/content/en/docs/demo/scenarios/recommendation-cache/index.md index 5c29dfe8669..05a7f510878 100644 --- a/content/en/docs/demo/scenarios/recommendation-cache/index.md +++ b/content/en/docs/demo/scenarios/recommendation-cache/index.md @@ -1,7 +1,7 @@ --- title: Using Metrics and Traces to diagnose a memory leak linkTitle: Diagnosing memory leaks -aliases: [/docs/demo/scenarios/recommendation_cache] +aliases: [recommendation_cache] --- Application telemetry, such as the kind that OpenTelemetry can provide, is very diff --git a/content/en/docs/demo/screenshots/index.md b/content/en/docs/demo/screenshots/index.md index 329710d5025..d9cac8a1b1c 100644 --- a/content/en/docs/demo/screenshots/index.md +++ b/content/en/docs/demo/screenshots/index.md @@ -1,7 +1,7 @@ --- title: Demo Screenshots linkTitle: Screenshots -aliases: [/docs/demo/demo_screenshots] +aliases: [demo_screenshots] --- ## Web store diff --git a/content/en/docs/demo/service-table.md b/content/en/docs/demo/service-table.md index 89bb5515c6e..d7da96ff04f 100644 --- a/content/en/docs/demo/service-table.md +++ b/content/en/docs/demo/service-table.md @@ -1,6 +1,6 @@ --- title: Service Roles -aliases: [/docs/demo/service_table] +aliases: [service_table] cSpell:ignore: loadgenerator --- diff --git a/content/en/docs/demo/services/accounting.md b/content/en/docs/demo/services/accounting.md index 014fc8105d5..3523356c026 100644 --- a/content/en/docs/demo/services/accounting.md +++ b/content/en/docs/demo/services/accounting.md @@ -1,7 +1,7 @@ --- title: Accounting Service linkTitle: Accounting -aliases: [/docs/demo/services/accountingservice] +aliases: [accountingservice] cSpell:ignore: otelsarama otlptracegrpc sarama sdktrace --- diff --git a/content/en/docs/demo/services/ad.md b/content/en/docs/demo/services/ad.md index e93d56c1e83..c21534016aa 100644 --- a/content/en/docs/demo/services/ad.md +++ b/content/en/docs/demo/services/ad.md @@ -1,7 +1,7 @@ --- title: Ad Service linkTitle: Ad -aliases: [/docs/demo/services/adservice] +aliases: [adservice] --- This service determines appropriate ads to serve to users based on context keys. diff --git a/content/en/docs/demo/services/cart.md b/content/en/docs/demo/services/cart.md index c5acdec44b6..10588b0a563 100644 --- a/content/en/docs/demo/services/cart.md +++ b/content/en/docs/demo/services/cart.md @@ -1,7 +1,7 @@ --- title: Cart Service linkTitle: Cart -aliases: [/docs/demo/services/cartservice] +aliases: [cartservice] --- This service maintains items placed in the shopping cart by users. It interacts diff --git a/content/en/docs/demo/services/checkout.md b/content/en/docs/demo/services/checkout.md index f889e113fb3..587b8f44663 100644 --- a/content/en/docs/demo/services/checkout.md +++ b/content/en/docs/demo/services/checkout.md @@ -1,7 +1,7 @@ --- title: Checkout Service linkTitle: Checkout -aliases: [/docs/demo/services/checkoutservice] +aliases: [checkoutservice] # prettier-ignore cSpell:ignore: fatalf otelgrpc otelsarama otlpmetricgrpc otlptracegrpc sarama sdkmetric sdktrace --- diff --git a/content/en/docs/demo/services/currency.md b/content/en/docs/demo/services/currency.md index c5bce920300..1c4df3e7208 100644 --- a/content/en/docs/demo/services/currency.md +++ b/content/en/docs/demo/services/currency.md @@ -1,7 +1,7 @@ --- title: Currency Service linkTitle: Currency -aliases: [/docs/demo/services/currencyservice] +aliases: [currencyservice] cSpell:ignore: chrono decltype labelkv millis noexcept nostd --- diff --git a/content/en/docs/demo/services/email.md b/content/en/docs/demo/services/email.md index f3a07e27aff..dbee4e296b2 100644 --- a/content/en/docs/demo/services/email.md +++ b/content/en/docs/demo/services/email.md @@ -1,7 +1,7 @@ --- title: Email Service linkTitle: Email -aliases: [/docs/demo/services/emailservice] +aliases: [emailservice] cSpell:ignore: sinatra --- diff --git a/content/en/docs/demo/services/feature-flag.md b/content/en/docs/demo/services/feature-flag.md index c378abd0466..b9d23a92ff4 100644 --- a/content/en/docs/demo/services/feature-flag.md +++ b/content/en/docs/demo/services/feature-flag.md @@ -1,7 +1,7 @@ --- title: Feature Flag Service linkTitle: Feature Flag -aliases: [/docs/demo/services/featureflagservice] +aliases: [featureflagservice] cSpell:ignore: ecto featureflag grpcbox nanos oteldemo protos struct --- diff --git a/content/en/docs/demo/services/fraud-detection.md b/content/en/docs/demo/services/fraud-detection.md index 690ccc27300..e6f53b04f2b 100644 --- a/content/en/docs/demo/services/fraud-detection.md +++ b/content/en/docs/demo/services/fraud-detection.md @@ -1,7 +1,7 @@ --- title: Fraud Detection Service linkTitle: Fraud Detection -aliases: [/docs/demo/services/frauddetectionservice] +aliases: [frauddetectionservice] --- This service analyses incoming orders and detects malicious customers. This is diff --git a/content/en/docs/demo/services/frontend-proxy.md b/content/en/docs/demo/services/frontend-proxy.md index 1bf94190dc9..b3312e93023 100644 --- a/content/en/docs/demo/services/frontend-proxy.md +++ b/content/en/docs/demo/services/frontend-proxy.md @@ -1,7 +1,7 @@ --- title: Frontend Proxy (Envoy) linkTitle: Frontend Proxy -aliases: [docs/demo/services/frontendproxy] +aliases: [frontendproxy] cSpell:ignore: upstreams --- diff --git a/content/en/docs/demo/services/load-generator.md b/content/en/docs/demo/services/load-generator.md index 48da9954f2c..d1097813918 100644 --- a/content/en/docs/demo/services/load-generator.md +++ b/content/en/docs/demo/services/load-generator.md @@ -1,6 +1,6 @@ --- title: Load Generator -aliases: [/docs/demo/services/loadgenerator] +aliases: [loadgenerator] cSpell:ignore: instrumentor instrumentors loadgenerator locustfile urllib --- diff --git a/content/en/docs/demo/services/payment.md b/content/en/docs/demo/services/payment.md index 4444c5412ef..3fbf0170c16 100644 --- a/content/en/docs/demo/services/payment.md +++ b/content/en/docs/demo/services/payment.md @@ -1,7 +1,7 @@ --- title: Payment Service linkTitle: Payment -aliases: [/docs/demo/services/paymentservice] +aliases: [paymentservice] cSpell:ignore: nanos --- diff --git a/content/en/docs/demo/services/product-catalog.md b/content/en/docs/demo/services/product-catalog.md index fa86f940f8d..ad562dd0164 100644 --- a/content/en/docs/demo/services/product-catalog.md +++ b/content/en/docs/demo/services/product-catalog.md @@ -1,7 +1,7 @@ --- title: Product Catalog Service linkTitle: Product Catalog -aliases: [/docs/demo/services/productcatalogservice] +aliases: [productcatalogservice] # prettier-ignore cSpell:ignore: fatalf otelcodes otelgrpc otlpmetricgrpc otlptracegrpc sdkmetric sdktrace sprintf --- diff --git a/content/en/docs/demo/services/quote.md b/content/en/docs/demo/services/quote.md index f4b184409da..ce315729766 100644 --- a/content/en/docs/demo/services/quote.md +++ b/content/en/docs/demo/services/quote.md @@ -1,7 +1,7 @@ --- title: Quote Service linkTitle: Quote -aliases: [/docs/demo/services/quoteservice] +aliases: [quoteservice] cSpell:ignore: getquote --- diff --git a/content/en/docs/demo/services/recommendation.md b/content/en/docs/demo/services/recommendation.md index 9c78a303c58..037913e2dda 100644 --- a/content/en/docs/demo/services/recommendation.md +++ b/content/en/docs/demo/services/recommendation.md @@ -1,7 +1,7 @@ --- title: Recommendation Service linkTitle: Recommendation -aliases: [/docs/demo/services/recommendationservice] +aliases: [recommendationservice] cSpell:ignore: cpython instrumentor NOTSET --- diff --git a/content/en/docs/demo/services/shipping.md b/content/en/docs/demo/services/shipping.md index ef643fb653c..f282ea15556 100644 --- a/content/en/docs/demo/services/shipping.md +++ b/content/en/docs/demo/services/shipping.md @@ -1,7 +1,7 @@ --- title: Shipping Service linkTitle: Shipping -aliases: [/docs/demo/services/shippingservice] +aliases: [shippingservice] cSpell:ignore: itemct oteldemo reqwest sdktrace semcov shiporder tokio --- diff --git a/content/en/docs/demo/trace-features.md b/content/en/docs/demo/trace-features.md index 3c9619b7c65..cfcc0e59abb 100644 --- a/content/en/docs/demo/trace-features.md +++ b/content/en/docs/demo/trace-features.md @@ -1,7 +1,7 @@ --- title: Trace Feature Coverage by Service linkTitle: Trace Feature Coverage -aliases: [/docs/demo/trace_service_features] +aliases: [trace_service_features] --- | Service | Language | Instrumentation Libraries | Manual Span Creation | Span Data Enrichment | RPC Context Propagation | Span Links | Baggage | Resource Detection | diff --git a/content/en/docs/instrumentation/erlang/manual.md b/content/en/docs/instrumentation/erlang/manual.md index 2c75b30e9d8..318bc3865be 100644 --- a/content/en/docs/instrumentation/erlang/manual.md +++ b/content/en/docs/instrumentation/erlang/manual.md @@ -1,6 +1,6 @@ --- title: Manual -aliases: [/docs/instrumentation/erlang/instrumentation] +aliases: [instrumentation] weight: 30 description: Manual instrumentation for OpenTelemetry Erlang/Elixir --- diff --git a/content/en/docs/instrumentation/go/exporters.md b/content/en/docs/instrumentation/go/exporters.md index 0e97595ced5..519cef02ddf 100644 --- a/content/en/docs/instrumentation/go/exporters.md +++ b/content/en/docs/instrumentation/go/exporters.md @@ -1,6 +1,6 @@ --- title: Exporters -aliases: [/docs/instrumentation/go/exporting_data] +aliases: [exporting_data] weight: 50 # prettier-ignore cSpell:ignore: otlpmetric otlpmetricgrpc otlpmetrichttp otlptrace otlptracegrpc otlptracehttp promhttp stdouttrace diff --git a/content/en/docs/instrumentation/java/automatic/annotations.md b/content/en/docs/instrumentation/java/automatic/annotations.md index c1f0126ec34..c241ea4b6bd 100644 --- a/content/en/docs/instrumentation/java/automatic/annotations.md +++ b/content/en/docs/instrumentation/java/automatic/annotations.md @@ -1,7 +1,7 @@ --- title: Annotations description: Using instrumentation annotations with a Java agent. -aliases: [/docs/instrumentation/java/annotations] +aliases: [../annotations] weight: 20 javaInstrumentationVersion: 1.31.0 cSpell:ignore: Flowable javac reactivestreams reactivex diff --git a/content/en/docs/instrumentation/java/automatic/extensions.md b/content/en/docs/instrumentation/java/automatic/extensions.md index 5bd7d0af35e..a4fa1863336 100644 --- a/content/en/docs/instrumentation/java/automatic/extensions.md +++ b/content/en/docs/instrumentation/java/automatic/extensions.md @@ -1,6 +1,6 @@ --- title: Extensions -aliases: [/docs/instrumentation/java/extensions] +aliases: [../extensions] description: >- Extensions add capabilities to the agent without having to create a separate distribution. diff --git a/content/en/docs/instrumentation/js/context.md b/content/en/docs/instrumentation/js/context.md index 87c83eb83e0..717d50a1cd4 100644 --- a/content/en/docs/instrumentation/js/context.md +++ b/content/en/docs/instrumentation/js/context.md @@ -1,7 +1,7 @@ --- title: Context description: OpenTelemetry JavaScript Context API Documentation -aliases: [/docs/instrumentation/js/api/context] +aliases: [api/context] weight: 60 --- diff --git a/content/en/docs/instrumentation/js/examples.md b/content/en/docs/instrumentation/js/examples.md index 82d91df59bd..441989d04b5 100644 --- a/content/en/docs/instrumentation/js/examples.md +++ b/content/en/docs/instrumentation/js/examples.md @@ -1,6 +1,6 @@ --- title: Examples -aliases: [/docs/instrumentation/js/instrumentation_examples] +aliases: [instrumentation_examples] description: Explore more examples for OpenTelemetry JavaScript _(external page)_ redirect: https://github.com/open-telemetry/opentelemetry-js/tree/main/examples diff --git a/content/en/docs/instrumentation/js/propagation.md b/content/en/docs/instrumentation/js/propagation.md index 9dd82251e6f..c05705ebb3f 100644 --- a/content/en/docs/instrumentation/js/propagation.md +++ b/content/en/docs/instrumentation/js/propagation.md @@ -1,7 +1,7 @@ --- title: Propagation description: Context propagation for the JS SDK -aliases: [/docs/instrumentation/js/api/propagation] +aliases: [api/propagation] weight: 65 cSpell:ignore: tracestate --- diff --git a/content/en/docs/instrumentation/php/getting-started.md b/content/en/docs/instrumentation/php/getting-started.md index b33225fa4b6..34559bc86e7 100644 --- a/content/en/docs/instrumentation/php/getting-started.md +++ b/content/en/docs/instrumentation/php/getting-started.md @@ -1,7 +1,7 @@ --- title: Getting Started description: Get up and running with OpenTelemetry for PHP. -aliases: [/docs/instrumentation/php/getting_started] +aliases: [getting_started] weight: 10 cSpell:ignore: darwin myapp PECL pecl rolldice strval --- diff --git a/content/en/docs/instrumentation/ruby/automatic.md b/content/en/docs/instrumentation/ruby/automatic.md index cea8cea9a58..042023cfbcd 100644 --- a/content/en/docs/instrumentation/ruby/automatic.md +++ b/content/en/docs/instrumentation/ruby/automatic.md @@ -1,7 +1,7 @@ --- title: Automatic instrumentation linkTitle: Automatic -aliases: [/docs/instrumentation/ruby/configuring_automatic_instrumentation] +aliases: [configuring_automatic_instrumentation] cSpell:ignore: faraday sinatra weight: 20 --- diff --git a/content/en/docs/instrumentation/ruby/getting-started.md b/content/en/docs/instrumentation/ruby/getting-started.md index f547def369d..5162c16207c 100644 --- a/content/en/docs/instrumentation/ruby/getting-started.md +++ b/content/en/docs/instrumentation/ruby/getting-started.md @@ -1,7 +1,7 @@ --- title: Getting Started description: Get telemetry from your app in less than 5 minutes! -aliases: [/docs/instrumentation/ruby/getting_started] +aliases: [getting_started] # prettier-ignore cSpell:ignore: darwin rolldice sinatra struct Tracestate tracestate truffleruby weight: 10 diff --git a/content/en/docs/specs/_index.md b/content/en/docs/specs/_index.md index abd8d11c6ef..37a50f61faa 100644 --- a/content/en/docs/specs/_index.md +++ b/content/en/docs/specs/_index.md @@ -1,7 +1,7 @@ --- title: Specifications linkTitle: Specs -aliases: [/docs/reference, /docs/specification] +aliases: [reference, specification] weight: 100 # Temporary redirect rules until they are added to the spec pages redirects: diff --git a/content/en/docs/specs/status.md b/content/en/docs/specs/status.md index 45e1169514a..31f336d495c 100644 --- a/content/en/docs/specs/status.md +++ b/content/en/docs/specs/status.md @@ -1,7 +1,7 @@ --- title: Specification Status Summary linkTitle: Status -aliases: [/docs/specs/otel/status] +aliases: [otel/status] weight: -10 --- diff --git a/layouts/index.redirects b/layouts/index.redirects index c0464b36247..6d008e70968 100644 --- a/layouts/index.redirects +++ b/layouts/index.redirects @@ -4,18 +4,25 @@ {{ range $p := .Site.Pages -}} {{ range $p.Params.redirects -}} - {{ $permaLink := $p.RelPermalink -}} {{ $from := cond (strings.HasPrefix .from "/") .from - (print $permaLink .from) -}} + (print $p.RelPermalink .from) -}} {{ $to := cond (strings.HasPrefix .to "/") .to - (print $permaLink .to) -}} + (print $p.RelPermalink .to) -}} {{ $from | printf "%-35s" }} {{ $to }} {{ end -}} {{ range $p.Aliases -}} - {{ . | printf "%-35s" }} {{ $p.RelPermalink }} +{{/* Temporary workaround for semconv alias errors */ -}} +{{ if strings.HasPrefix . "docs/specs/semconv/general" -}} +{{ . | printf "%-35s" }} {{ $p.RelPermalink }} +{{ else -}} +{{ $alias := cond (strings.HasPrefix . "/") + . + (partial "relative-redirects-alias" (dict "alias" . "p" $p.Parent)) -}} +{{ $alias | printf "%-35s" }} {{ $p.RelPermalink }} +{{ end -}} {{ end -}} {{ with $p.Params.redirect -}} @@ -46,3 +53,17 @@ {{ $og_image_current := `/img/social/logo-wordmark-001.png` -}} /featured-background.jpg {{ $og_image_current }} {{- /* homepage og:image used prior to 2022/08 */}} + +{{- define "partials/relative-redirects-alias" -}} + {{ $result := "" }} + {{ if strings.HasPrefix .alias "../" }} + {{ $result = (partial "relative-redirects-alias" + (dict + "alias" (strings.TrimPrefix "../" .alias) + "p" .p.Parent )) + }} + {{ else }} + {{ $result = path.Join .p.RelPermalink .alias }} + {{ end }} + {{ return $result }} +{{ end }}