2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-16 01:08:12 +00:00

fix doc links

This commit is contained in:
Matthias Mair
2025-11-26 21:22:10 +01:00
parent 329031c7b3
commit b5f899f732
6 changed files with 10 additions and 10 deletions

View File

@@ -67,7 +67,7 @@ print("Minimum stock:", part.minimum_stock)
### Adding Parameters ### 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 ```python
from inventree.part import Parameter from inventree.part import Parameter

View File

@@ -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 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 ## Custom Units

View File

@@ -4,7 +4,7 @@ title: Part Parameter Exporter
## 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. It utilizes the [ExporterMixin](../mixins/export.md) mixin to provide a custom export format for part parameter data.

View File

@@ -134,9 +134,9 @@ Validation of the Part IPN (Internal Part Number) field is exposed to custom plu
summary: False summary: False
members: [] 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 ::: plugin.base.integration.ValidationMixin.ValidationMixin.validate_part_parameter
options: options:

View File

@@ -570,7 +570,7 @@ Length: {{ length.data }} [{{ length.units }}]
{% endraw %} {% endraw %}
``` ```
A [Part Parameter](../part/parameter.md) has the following available attributes: A [Parameter](../concepts/parameters.md) has the following available attributes:
| Attribute | Description | | Attribute | Description |
| --- | --- | | --- | --- |
@@ -578,7 +578,7 @@ A [Part Parameter](../part/parameter.md) has the following available attributes:
| Description | The *description* of the parameter | | Description | The *description* of the parameter |
| Data | The *value* of the parameter (e.g. "123.4") | | Data | The *value* of the parameter (e.g. "123.4") |
| Units | The *units* of the parameter (e.g. "km") | | 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 ## Rendering Markdown

View File

@@ -175,9 +175,9 @@ Configuration of label printing:
{{ globalsetting("PART_CATEGORY_PARAMETERS") }} {{ globalsetting("PART_CATEGORY_PARAMETERS") }}
{{ globalsetting("PART_CATEGORY_DEFAULT_ICON") }} {{ 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 ### Categories