Skip to content

Commit

Permalink
[editorial] Add Hugo front-matter path base (#3862)
Browse files Browse the repository at this point in the history
- Contributes to
open-telemetry/opentelemetry.io#3922
- Either updates or adds `path_base_for_github_subdir` to selected page
front matter

/cc @theletterf @svrnm
  • Loading branch information
chalin authored Feb 7, 2024
1 parent 7aa1793 commit fa5eca7
Show file tree
Hide file tree
Showing 14 changed files with 58 additions and 1 deletion.
5 changes: 4 additions & 1 deletion specification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ cascade:
body_class: otel-docs-spec
github_repo: &repo https://github.com/open-telemetry/opentelemetry-specification
github_subdir: specification
path_base_for_github_subdir: content/en/docs/specs/otel/
path_base_for_github_subdir: tmp/otel/specification
github_project_repo: *repo
path_base_for_github_subdir:
from: tmp/otel/specification/_index.md
to: README.md
--->

# OpenTelemetry Specification
Expand Down
6 changes: 6 additions & 0 deletions specification/baggage/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
path_base_for_github_subdir:
from: tmp/otel/specification/baggage/_index.md
to: baggage/README.md
--->

# Baggage
3 changes: 3 additions & 0 deletions specification/common/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Common concepts
aliases: [/docs/reference/specification/common/common]
path_base_for_github_subdir:
from: tmp/otel/specification/common/_index.md
to: common/README.md
--->

# Common specification concepts
Expand Down
6 changes: 6 additions & 0 deletions specification/compatibility/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
path_base_for_github_subdir:
from: tmp/otel/specification/compatibility/_index.md
to: compatibility/README.md
--->

# Compatibility
6 changes: 6 additions & 0 deletions specification/configuration/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
path_base_for_github_subdir:
from: tmp/otel/specification/configuration/_index.md
to: configuration/README.md
--->

# Configuration
3 changes: 3 additions & 0 deletions specification/context/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!--- Hugo front matter used to generate the website version of this page:
aliases: [/docs/reference/specification/context/context]
path_base_for_github_subdir:
from: tmp/otel/specification/context/_index.md
to: context/README.md
--->

# Context
Expand Down
3 changes: 3 additions & 0 deletions specification/logs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Logs
aliases: [/docs/reference/specification/logs/overview]
path_base_for_github_subdir:
from: tmp/otel/specification/logs/_index.md
to: logs/README.md
--->

# OpenTelemetry Logging
Expand Down
3 changes: 3 additions & 0 deletions specification/metrics/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Metrics
path_base_for_github_subdir:
from: tmp/otel/specification/metrics/_index.md
to: metrics/README.md
--->

# OpenTelemetry Metrics
Expand Down
3 changes: 3 additions & 0 deletions specification/metrics/sdk_exporters/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Exporters
path_base_for_github_subdir:
from: tmp/otel/specification/metrics/sdk_exporters/_index.md
to: metrics/sdk_exporters/README.md
--->

# Metrics Exporters
3 changes: 3 additions & 0 deletions specification/protocol/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Protocol
path_base_for_github_subdir:
from: tmp/otel/specification/protocol/_index.md
to: protocol/README.md
--->

# OpenTelemetry Protocol
Expand Down
6 changes: 6 additions & 0 deletions specification/resource/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
path_base_for_github_subdir:
from: tmp/otel/specification/resource/_index.md
to: resource/README.md
--->

# Resource
3 changes: 3 additions & 0 deletions specification/schemas/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Schemas
aliases: [/docs/reference/specification/schemas/overview]
path_base_for_github_subdir:
from: tmp/otel/specification/schemas/_index.md
to: schemas/README.md
--->

# Telemetry Schemas
Expand Down
6 changes: 6 additions & 0 deletions specification/trace/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
path_base_for_github_subdir:
from: tmp/otel/specification/trace/_index.md
to: trace/README.md
--->

# Trace
3 changes: 3 additions & 0 deletions specification/trace/sdk_exporters/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Exporters
path_base_for_github_subdir:
from: tmp/otel/specification/trace/sdk_exporters/_index.md
to: trace/sdk_exporters/README.md
--->

# Trace Exporters

0 comments on commit fa5eca7

Please sign in to comment.