From b5f899f732c85b15b9f1cbb40639c781e9d5f896 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 26 Nov 2025 21:22:10 +0100 Subject: [PATCH] fix doc links --- docs/docs/api/python/examples.md | 2 +- docs/docs/concepts/units.md | 4 ++-- docs/docs/plugins/builtin/part_parameter_exporter.md | 2 +- docs/docs/plugins/mixins/validation.md | 4 ++-- docs/docs/report/helpers.md | 4 ++-- docs/docs/settings/global.md | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/docs/api/python/examples.md b/docs/docs/api/python/examples.md index 7ec1059f42..34e31c2829 100644 --- a/docs/docs/api/python/examples.md +++ b/docs/docs/api/python/examples.md @@ -67,7 +67,7 @@ print("Minimum stock:", part.minimum_stock) ### Adding Parameters -Each [part](../../part/index.md) can have multiple [parameters](../../part/parameter.md). For the example of the sofa (above) *length* and *weight* make sense. Each parameter has a parameter template that combines the parameter name with a unit. So we first have to create the parameter templates and afterwards add the parameter values to the sofa. +Each [part](../../part/index.md) can have multiple [parameters](../../concepts/parameters.md). For the example of the sofa (above) *length* and *weight* make sense. Each parameter has a parameter template that combines the parameter name with a unit. So we first have to create the parameter templates and afterwards add the parameter values to the sofa. ```python from inventree.part import Parameter diff --git a/docs/docs/concepts/units.md b/docs/docs/concepts/units.md index 2f78f34ede..b46e61a745 100644 --- a/docs/docs/concepts/units.md +++ b/docs/docs/concepts/units.md @@ -59,9 +59,9 @@ The [unit of measure](../part/index.md#units-of-measure) field for the [Part](.. The [supplier part](../part/index.md/#supplier-parts) model uses real-world units to convert between supplier part quantities and internal stock quantities. Unit conversion rules ensure that only compatible unit types can be supplied -### Part Parameter +### Parameter -The [part parameter template](../part/parameter.md#parameter-templates) model can specify units of measure, and part parameters can be specified against these templates with compatible units +The [parameter template](../concepts/parameters.md#parameter-templates) model can specify units of measure, and part parameters can be specified against these templates with compatible units ## Custom Units diff --git a/docs/docs/plugins/builtin/part_parameter_exporter.md b/docs/docs/plugins/builtin/part_parameter_exporter.md index f77962e58d..c516dbcd29 100644 --- a/docs/docs/plugins/builtin/part_parameter_exporter.md +++ b/docs/docs/plugins/builtin/part_parameter_exporter.md @@ -4,7 +4,7 @@ title: Part Parameter Exporter ## Part Parameter Exporter -The **Part Parameter Exporter** plugin provides custom export functionality for [Part Parameter](../../part/parameter.md) data. +The **Part Parameter Exporter** plugin provides custom export functionality for [Parameter](../../concepts/parameters.md) data. It utilizes the [ExporterMixin](../mixins/export.md) mixin to provide a custom export format for part parameter data. diff --git a/docs/docs/plugins/mixins/validation.md b/docs/docs/plugins/mixins/validation.md index 82b414f635..8c27dbfbb8 100644 --- a/docs/docs/plugins/mixins/validation.md +++ b/docs/docs/plugins/mixins/validation.md @@ -134,9 +134,9 @@ Validation of the Part IPN (Internal Part Number) field is exposed to custom plu summary: False members: [] -### Part Parameter Values +### Parameter Values -[Part parameters](../../part/parameter.md) can also have custom validation rules applied, by implementing the `validate_part_parameter` method. A plugin which implements this method should raise a `ValidationError` with an appropriate message if the part parameter value does not match a required convention. +[Parameters](../../concepts/parameters.md) can also have custom validation rules applied, by implementing the `validate_part_parameter` method. A plugin which implements this method should raise a `ValidationError` with an appropriate message if the parameter value does not match a required convention. ::: plugin.base.integration.ValidationMixin.ValidationMixin.validate_part_parameter options: diff --git a/docs/docs/report/helpers.md b/docs/docs/report/helpers.md index 817aff67d9..2caf969fe4 100644 --- a/docs/docs/report/helpers.md +++ b/docs/docs/report/helpers.md @@ -570,7 +570,7 @@ Length: {{ length.data }} [{{ length.units }}] {% endraw %} ``` -A [Part Parameter](../part/parameter.md) has the following available attributes: +A [Parameter](../concepts/parameters.md) has the following available attributes: | Attribute | Description | | --- | --- | @@ -578,7 +578,7 @@ A [Part Parameter](../part/parameter.md) has the following available attributes: | Description | The *description* of the parameter | | Data | The *value* of the parameter (e.g. "123.4") | | Units | The *units* of the parameter (e.g. "km") | -| Template | A reference to a [PartParameterTemplate](../part/parameter.md#parameter-templates) | +| Template | A reference to a [ParameterTemplate](../concepts/parameters.md#parameter-templates) | ## Rendering Markdown diff --git a/docs/docs/settings/global.md b/docs/docs/settings/global.md index 817dd69a3c..c8a67fe26e 100644 --- a/docs/docs/settings/global.md +++ b/docs/docs/settings/global.md @@ -175,9 +175,9 @@ Configuration of label printing: {{ globalsetting("PART_CATEGORY_PARAMETERS") }} {{ globalsetting("PART_CATEGORY_DEFAULT_ICON") }} -#### Part Parameter Templates +#### Parameter Templates -Refer to the section describing [how to create part parameter templates](../part/parameter.md#create-template). +Refer to the section describing [how to create parameter templates](../concepts/parameters.md#create-template). ### Categories