Skip to content

Commit 5a1200b

Browse files
committed
Revert to previous strategy for fallback pg mounting
1 parent ef224f7 commit 5a1200b

File tree

1 file changed

+25
-22
lines changed

1 file changed

+25
-22
lines changed

hugo.yaml

+25-22
Original file line numberDiff line numberDiff line change
@@ -210,49 +210,52 @@ security:
210210

211211
module:
212212
mounts:
213+
## en
213214
- source: content/en
214215
target: content
215216
- source: tmp/community/mission-vision-values.md
216217
target: content/community/mission.md
217218
- source: tmp/community/roadmap.md
218219
target: content/community/roadmap.md
220+
# Specs, currently en only
221+
- source: tmp/otel/specification
222+
target: content/docs/specs/otel
223+
- source: tmp/opamp
224+
target: content/docs/specs/opamp
225+
- source: tmp/otlp/docs/specification.md
226+
target: content/docs/specs/otlp/_index.md
227+
- source: tmp/otlp/docs/img
228+
target: content/docs/specs/otlp/img
229+
- source: tmp/semconv/docs
230+
target: content/docs/specs/semconv
219231

220232
## ja
221233
- source: content/ja
222234
target: content
223235
lang: ja
224236
# fallback pages
225-
- source: content/en
226-
target: content
227-
excludeFiles: &fallbackExcludeFiles
228-
- blog/*
229-
- community/*
230-
- docs/specs/*
231-
- ecosystem/*
232-
- site/*
237+
- source: content/en/announcements
238+
target: content/announcements
239+
lang: ja
240+
- excludeFiles: specs/*
241+
source: content/en/docs
242+
target: content/docs
233243
lang: ja
234244

235245
## zh
236246
- source: content/zh
237247
target: content
238248
lang: zh
239249
# fallback pages
240-
- source: content/en
241-
target: content
242-
excludeFiles: *fallbackExcludeFiles
250+
- source: content/en/announcements
251+
target: content/announcements
252+
lang: zh
253+
- excludeFiles: specs/*
254+
source: content/en/docs
255+
target: content/docs
243256
lang: zh
244257

245-
# Other site content
246-
- source: tmp/otel/specification
247-
target: content/docs/specs/otel
248-
- source: tmp/opamp
249-
target: content/docs/specs/opamp
250-
- source: tmp/otlp/docs/specification.md
251-
target: content/docs/specs/otlp/_index.md
252-
- source: tmp/otlp/docs/img
253-
target: content/docs/specs/otlp/img
254-
- source: tmp/semconv/docs
255-
target: content/docs/specs/semconv
258+
## static
256259
- source: static
257260
target: static
258261
- source: content-modules/semantic-conventions/schemas

0 commit comments

Comments
 (0)