1
0
Fork 0

fix(markdown): Broken links in dev docs

This commit is contained in:
Joost De Cock 2022-01-12 19:27:07 +01:00
parent 5461211930
commit 72c993ae98
3 changed files with 14 additions and 16 deletions

View file

@ -1,7 +1,5 @@
---
title: Pattern configuration file
for: developers
about: Reference documentation for the pattern configuration file
---
```js
@ -16,13 +14,13 @@ export default {
A pattern configuration file exports a default object with the following properties:
<ReadMore list />
<ReadMore />
<Note>
This is about the pattern configuration file, used at build-time.
For run-time configuration, see [Pattern settings](/reference/settings/).
For run-time configuration, see [Pattern settings](/reference/api/settings).
</Note>

View file

@ -13,10 +13,10 @@ objects will generated a made-to-measure pattern.
function freesewing.Pattern(object settings)
```
A pattern is instantiated by passing a [settings object](/reference/settings/) to the pattern constructor.
A pattern is instantiated by passing a [settings object](/reference/api/settings/) to the pattern constructor.
This settings objects holds, amongst other things, the measurements and options chosen by the user.
Refer to the [settings documentation](/reference/settings/) for an exhaustive list.
Refer to the [settings documentation](/reference/api/settings/) for an exhaustive list.
## Pattern properties
@ -27,18 +27,18 @@ Refer to the [settings documentation](/reference/settings/) for an exhaustive li
| `is` | A string that will be set to `draft` or `sample` when you respectively draft or sample a pattern. |
| `options` | The options as set by the user |
| `parts` | A plain object to hold your parts |
| `Part` | The [Part](/en/docs/developer/api/part) constructor |
| `Part` | The [Part](/reference/api/part) constructor |
| `settings` | The settings as set by the user |
| `store` | A [Store](/en/docs/developer/api/store) instance |
| `svg` | An [Svg](/en/docs/developer/api/svg) instance |
| `store` | A [Store](/reference/api/store) instance |
| `svg` | An [Svg](/reference/api/svg) instance |
- `settings` : The settings as set by the user
- `options` : the options as set by the user
- `config` : The pattern configuration
- `parts` : A plain object to hold your parts
- `Part` : The [Part](/en/docs/developer/api/part) constructor
- `store` : A [Store](/en/docs/developer/api/store) instance
- `svg` : An [Svg](/en/docs/developer/api/svg) instance
- `Part` : The [Part](/reference/api/part) constructor
- `store` : A [Store](/reference/api/store) instance
- `svg` : An [Svg](/reference/api/svg) instance
- `is` : A string that will be set to `draft` or `sample` when you respectively draft or sample a pattern.
This allows plugins that hook into your pattern to determine what to do in a given scenario.