From 5a1200b2bcaf74ee45640dff112fc5462a3e04a9 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Sat, 8 Jun 2024 04:58:32 -0400 Subject: [PATCH] Revert to previous strategy for fallback pg mounting --- hugo.yaml | 47 +++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index 4912acbd380e..ef5eb3f2a0de 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -210,26 +210,36 @@ security: module: mounts: + ## en - source: content/en target: content - source: tmp/community/mission-vision-values.md target: content/community/mission.md - source: tmp/community/roadmap.md target: content/community/roadmap.md + # Specs, currently en only + - source: tmp/otel/specification + target: content/docs/specs/otel + - source: tmp/opamp + target: content/docs/specs/opamp + - source: tmp/otlp/docs/specification.md + target: content/docs/specs/otlp/_index.md + - source: tmp/otlp/docs/img + target: content/docs/specs/otlp/img + - source: tmp/semconv/docs + target: content/docs/specs/semconv ## ja - source: content/ja target: content lang: ja # fallback pages - - source: content/en - target: content - excludeFiles: &fallbackExcludeFiles - - blog/* - - community/* - - docs/specs/* - - ecosystem/* - - site/* + - source: content/en/announcements + target: content/announcements + lang: ja + - excludeFiles: specs/* + source: content/en/docs + target: content/docs lang: ja ## zh @@ -237,22 +247,15 @@ module: target: content lang: zh # fallback pages - - source: content/en - target: content - excludeFiles: *fallbackExcludeFiles + - source: content/en/announcements + target: content/announcements + lang: zh + - excludeFiles: specs/* + source: content/en/docs + target: content/docs lang: zh - # Other site content - - source: tmp/otel/specification - target: content/docs/specs/otel - - source: tmp/opamp - target: content/docs/specs/opamp - - source: tmp/otlp/docs/specification.md - target: content/docs/specs/otlp/_index.md - - source: tmp/otlp/docs/img - target: content/docs/specs/otlp/img - - source: tmp/semconv/docs - target: content/docs/specs/semconv + ## static - source: static target: static - source: content-modules/semantic-conventions/schemas