Skip to content

Commit 5a26212

Browse files
Fix broken link definitions (#4965)
1 parent 3aea96e commit 5a26212

File tree

12 files changed

+55
-56
lines changed

12 files changed

+55
-56
lines changed

docs/sources/get-started/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ For hands-on learning:
138138
- [Tutorials][] - Build complete data collection pipelines step by step
139139
- [Components][components] - Browse all available components and their options
140140

141-
[fmt]: ../../reference/cli/fmt/
141+
[fmt]: ../reference/cli/fmt/
142142
[Built-in]: ../reference/stdlib/
143143
[Alloy syntax]: ./syntax/
144144
[Components]: ./components/

docs/sources/get-started/components/build-pipelines.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,6 @@ For hands-on learning:
310310

311311
- [Tutorials][] - Follow step-by-step guides to build complete monitoring solutions
312312

313-
[Component controller]: ./component-controller/
314-
[Expressions]: ../expressions/
315-
[Tutorials]: ../../tutorials/
313+
[Component controller]: ../component-controller/
314+
[Expressions]: ../../expressions/
315+
[Tutorials]: ../../../tutorials/

docs/sources/get-started/components/community-components.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ For component selection guidance:
5858

5959
- [Choose a component][] - Get guidance on selecting the right component for your needs
6060

61-
[backward-compatibility]: ../../introduction/backward-compatibility/
62-
[Component reference]: ../../reference/components/
63-
[Configure components]: ./configure-components/
64-
[Choose a component]: ../../collect/choose-component/
61+
[backward-compatibility]: ../../../introduction/backward-compatibility/
62+
[Component reference]: ../../../reference/components/
63+
[Configure components]: ../configure-components/
64+
[Choose a component]: ../../../collect/choose-component/

docs/sources/get-started/components/component-controller.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ This graceful degradation keeps your monitoring operational even when individual
112112

113113
## In-memory traffic
114114

115-
Some components that expose HTTP endpoints (such as [`prometheus.exporter.unix`][prometheus.exporter.unix]) support in-memory communication for improved performance.
115+
Some components that expose HTTP endpoints, such as [`prometheus.exporter.unix`][prometheus.exporter.unix], support in-memory communication for improved performance.
116116
When components within the same {{< param "PRODUCT_NAME" >}} process communicate, they can bypass the network stack entirely.
117117

118118
Benefits of in-memory traffic:
@@ -147,8 +147,8 @@ For monitoring and troubleshooting:
147147
- [{{< param "PRODUCT_NAME" >}} run command][run] - Configuration options that affect the controller
148148

149149
[DAG]: https://en.wikipedia.org/wiki/Directed_acyclic_graph
150-
[prometheus.exporter.unix]: ../../reference/components/prometheus/prometheus.exporter.unix
151-
[run]: ../../reference/cli/run/
152-
[Configure components]: ./configure-components/
153-
[Expressions]: ../expressions/
150+
[prometheus.exporter.unix]: ../../../reference/components/prometheus/prometheus.exporter.unix
151+
[run]: ../../../reference/cli/run/
152+
[Configure components]: ../configure-components/
153+
[Expressions]: ../../expressions/
154154
[Monitor the component controller]: ../../../troubleshoot/controller_metrics/

docs/sources/get-started/components/configure-components.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -175,17 +175,16 @@ local.file "b" {
175175
Now that you understand how to configure components, learn about more advanced topics:
176176

177177
- [Build data pipelines][] - Connect components together to create data processing workflows
178-
- [Component controller][] - Understand how {{< param "PRODUCT_NAME" >}} manages components at runtime
178+
- [Component controller][controller] - Understand how {{< param "PRODUCT_NAME" >}} manages components at runtime
179179
- [Expressions][] - Write dynamic configuration using component references and functions
180180
- [Component reference][] - Explore all available components and their arguments and exports
181181

182182
For practical examples, try the [tutorials][] to build complete data collection pipelines.
183183

184-
[components]: ../../reference/components/
185-
[controller]: ./component-controller/
186-
[type]: ../expressions/types_and_values/
187-
[Build data pipelines]: ./build-pipelines/
188-
[Component controller]: ./component-controller/
189-
[Expressions]: ../expressions/
190-
[Component reference]: ../../reference/components/
191-
[tutorials]: ../../tutorials/
184+
[components]: ../../../reference/components/
185+
[type]: ../../expressions/types_and_values/
186+
[Build data pipelines]: ../build-pipelines/
187+
[controller]: ../component-controller/
188+
[Expressions]: ../../expressions/
189+
[Component reference]: ../../../reference/components/
190+
[tutorials]: ../../../tutorials/

docs/sources/get-started/components/custom-components.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ The block's label becomes the custom component's name, which you can then use li
2929

3030
Inside a `declare` block, you can use these configuration blocks:
3131

32-
- [`argument`][]: Defines a named input parameter that users must provide when using your custom component. Access the value with `argument.NAME.value`.
33-
- [`export`][]: Defines a named output value that your custom component exposes to other components.
32+
- [`argument`][argument]: Defines a named input parameter that users must provide when using your custom component. Access the value with `argument.NAME.value`.
33+
- [`export`][export]: Defines a named output value that your custom component exposes to other components.
3434
- Built-in and custom components: The actual pipeline logic that processes data.
3535

3636
The component controller treats custom components the same as built-in components:
@@ -78,7 +78,7 @@ This custom component:
7878
1. **Can be instantiated**: Create an instance labeled `example` by providing values for `a` and `b`.
7979
1. **Exposes computed results**: Other components can reference `add.example.sum` to use the result.
8080

81-
For more complex examples that combine multiple built-in components, refer to the [declare block reference][declare].
81+
For more complex examples that combine multiple built-in components, refer to the [`declare` block reference][declare].
8282

8383
## Next steps
8484

@@ -91,9 +91,9 @@ For sharing and organizing:
9191

9292
- [Modules][] - Share custom components across multiple configuration files
9393

94-
[declare]: ../../reference/config-blocks/declare/
95-
[argument]: ../../reference/config-blocks/argument/
96-
[export]: ../../reference/config-blocks/export/
97-
[Modules]: ../modules/
98-
[Configuration blocks reference]: ../../reference/config-blocks/
99-
[Configure components]: ./configure-components/
94+
[declare]: ../../../reference/config-blocks/declare/
95+
[argument]: ../../../reference/config-blocks/argument/
96+
[export]: ../../../reference/config-blocks/export/
97+
[Modules]: ../../modules/
98+
[Configuration blocks reference]: ../../../reference/config-blocks/
99+
[Configure components]: ../configure-components/

docs/sources/get-started/expressions/function_calls.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ For detailed function reference:
130130

131131
- [Standard library reference][standard library] - Complete documentation of all available functions and their usage
132132

133-
[type]: ./types_and_values/
134-
[refer to values]: ./referencing_exports/
135-
[operators]: ./operators/
133+
[type]: ../types_and_values/
134+
[refer to values]: ../referencing_exports/
135+
[operators]: ../operators/
136136
[standard library]: ../../../reference/stdlib/

docs/sources/get-started/expressions/operators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ For building complete configurations:
160160

161161
- [Component exports][refer to values] - Combine operators with component references to create dynamic pipelines
162162

163-
[type]: ./types_and_values/
164-
[functions]: ./function_calls/
165-
[refer to values]: ./referencing_exports/
163+
[type]: ../types_and_values/
164+
[functions]: ../function_calls/
165+
[refer to values]: ../referencing_exports/
166166
[PEMDAS]: https://en.wikipedia.org/wiki/Order_of_operations

docs/sources/get-started/expressions/referencing_exports.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ Now that you understand component references, continue learning about expression
8080
- [Function calls][functions] - Use built-in functions to transform values from referenced exports
8181
- [Operators][operators] - Combine referenced values with other expressions using mathematical and logical operators
8282

83-
[type]: ./types_and_values/
84-
[functions]: ./function_calls/
85-
[operators]: ./operators/
83+
[type]: ../types_and_values/
84+
[functions]: ../function_calls/
85+
[operators]: ../operators/

docs/sources/get-started/expressions/types_and_values.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ For advanced expression features:
233233

234234
- [Function calls][] - Transform data using standard library functions that work with these types
235235

236-
[component reference]: ../../../../reference/components/
236+
[component reference]: ../../../reference/components/
237237
[valid]: ../../syntax#identifiers
238-
[nonsensitive]: ../../../../reference/stdlib/convert/
239-
[Component exports]: ./referencing_exports/
240-
[Operators]: ./operators/
241-
[Function calls]: ./function_calls/
238+
[nonsensitive]: ../../../reference/stdlib/convert/
239+
[Component exports]: ../referencing_exports/
240+
[Operators]: ../operators/
241+
[Function calls]: ../function_calls/

0 commit comments

Comments
 (0)