docs: update docusaurus to v3 (#5625)
* update dependencies * update onboarding mdx * fixes for mdx issues * fixes for mdx compatibility * resolve mdx errors * fixes in reference * fix check errors * revert change in vale action * fix node version in action * fix summary in markdown
This commit is contained in:
@@ -14,7 +14,7 @@ items and shipping methods.
|
||||
|
||||
### getTaxLines
|
||||
|
||||
**getTaxLines**(`itemLines`, `shippingLines`, `context`): `Promise`<[`ProviderTaxLine`](../types/ProviderTaxLine.mdx)[]\>
|
||||
`**getTaxLines**(itemLines, shippingLines, context): Promise<[ProviderTaxLine](../types/ProviderTaxLine.mdx)[]>`
|
||||
|
||||
Retrieves the numerical tax lines for a calculation context.
|
||||
|
||||
@@ -23,7 +23,7 @@ Retrieves the numerical tax lines for a calculation context.
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "itemLines",
|
||||
"type": "[`ItemTaxCalculationLine`](../types/ItemTaxCalculationLine.mdx)[]",
|
||||
"type": "[ItemTaxCalculationLine](../types/ItemTaxCalculationLine.mdx)[]",
|
||||
"description": "the line item calculation lines",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -32,7 +32,7 @@ Retrieves the numerical tax lines for a calculation context.
|
||||
},
|
||||
{
|
||||
"name": "shippingLines",
|
||||
"type": "[`ShippingTaxCalculationLine`](../types/ShippingTaxCalculationLine.mdx)[]",
|
||||
"type": "[ShippingTaxCalculationLine](../types/ShippingTaxCalculationLine.mdx)[]",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -41,7 +41,7 @@ Retrieves the numerical tax lines for a calculation context.
|
||||
},
|
||||
{
|
||||
"name": "context",
|
||||
"type": "[`TaxCalculationContext`](../types/TaxCalculationContext.mdx)",
|
||||
"type": "[TaxCalculationContext](../types/TaxCalculationContext.mdx)",
|
||||
"description": "other details relevant to the tax determination",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -52,12 +52,12 @@ Retrieves the numerical tax lines for a calculation context.
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<[`ProviderTaxLine`](../types/ProviderTaxLine.mdx)[]\>
|
||||
Promise<[ProviderTaxLine](../types/ProviderTaxLine.mdx)[]>
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "Promise",
|
||||
"type": "`Promise`<[`ProviderTaxLine`](../types/ProviderTaxLine.mdx)[]\\>",
|
||||
"type": "Promise<[ProviderTaxLine](../types/ProviderTaxLine.mdx)[]>",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "numerical tax rates that should apply to the provided calculation\n lines",
|
||||
|
||||
Reference in New Issue
Block a user