feat: Flat import of markdown repo
This is a flat (without history) import of (some of) the content from our markdown module. We've imported this without history because the repo contains our blog posts and showcases posts content prior to porting them to strapi. Since this contains many images, it would balloon the size of this repo to import the full history. Instead, please refer to the history of the (archived) markdown repo at: https://github.com/freesewing/markdown
This commit is contained in:
parent
1671a896b5
commit
b34a2ee2ed
6132 changed files with 244167 additions and 0 deletions
10
markdown/dev/reference/config/ui/code/en.md
Normal file
10
markdown/dev/reference/config/ui/code/en.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: code
|
||||
---
|
||||
|
||||
```js
|
||||
code: "Joost De Cock",
|
||||
```
|
||||
|
||||
The name of the developer.
|
||||
|
14
markdown/dev/reference/config/ui/department/en.md
Normal file
14
markdown/dev/reference/config/ui/department/en.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
title: department
|
||||
---
|
||||
|
||||
```js
|
||||
department: "menswear",
|
||||
```
|
||||
|
||||
One of the following:
|
||||
|
||||
- menswear
|
||||
- womenswear
|
||||
- unisex
|
||||
- accessories
|
9
markdown/dev/reference/config/ui/design/en.md
Normal file
9
markdown/dev/reference/config/ui/design/en.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: design
|
||||
---
|
||||
|
||||
```js
|
||||
design: "Joost De Cock",
|
||||
```
|
||||
|
||||
The name of the designer.
|
9
markdown/dev/reference/config/ui/difficulty/en.md
Normal file
9
markdown/dev/reference/config/ui/difficulty/en.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: difficulty
|
||||
---
|
||||
|
||||
```js
|
||||
difficulty: 3
|
||||
```
|
||||
|
||||
A `1` to `5` difficulty score that indicates how hard it is to make the pattern.
|
14
markdown/dev/reference/config/ui/en.md
Normal file
14
markdown/dev/reference/config/ui/en.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
title: UI configuration
|
||||
order: 100
|
||||
---
|
||||
|
||||
Patterns also take these configuration options to facilitate UI integration:
|
||||
|
||||
<ReadMore list />
|
||||
|
||||
<Tip>
|
||||
|
||||
UI = User Interface. Like a website or mobile app
|
||||
|
||||
</Tip>
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
title: The advanced option group
|
||||
---
|
||||
|
||||
Naming an option group `advanced` will hide it by default from the user
|
||||
unless they enable *expert mode*.
|
||||
|
||||
```js
|
||||
optionGroups: {
|
||||
fit: ["chestEase", "hipsEase", "stretchFactor"],
|
||||
style: ["armholeDrop", "backlineBend"],
|
||||
advanced: [ "plutoniumCount" ]
|
||||
}
|
||||
```
|
||||
|
||||
<Tip>
|
||||
|
||||
The `advanced` option group can also have nested groups
|
||||
|
||||
</Tip>
|
29
markdown/dev/reference/config/ui/optiongroups/en.md
Normal file
29
markdown/dev/reference/config/ui/optiongroups/en.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: optionGroups
|
||||
---
|
||||
|
||||
Organises your pattern options in groups.
|
||||
It expects an object where the key is the group title, and the value an array of options:
|
||||
|
||||
```js
|
||||
optionGroups: {
|
||||
fit: ["chestEase", "hipsEase", "stretchFactor"],
|
||||
style: [
|
||||
"armholeDrop",
|
||||
"backlineBend",
|
||||
"necklineBend",
|
||||
"necklineDrop",
|
||||
"shoulderStrapWidth",
|
||||
"shoulderStrapPlacement",
|
||||
"lengthBonus"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
<Note>
|
||||
|
||||
Options that are not included in the `optionGroup` configuration won't be
|
||||
exposed in the frontend and thus will be unavailable to the user.
|
||||
|
||||
</Note>
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
title: Nested option groups
|
||||
---
|
||||
|
||||
You can create sub-groups within an option group:
|
||||
|
||||
```js
|
||||
optionGroups: {
|
||||
style: [
|
||||
'hemStyle',
|
||||
'hemCurve',
|
||||
{
|
||||
closure: [
|
||||
'extraTopButton',
|
||||
'buttons',
|
||||
'buttonFreeLength'
|
||||
]
|
||||
},
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
<Warning>
|
||||
Only create subgroups one level deep.
|
||||
We do not support groups in groups in groups.
|
||||
</Warning>
|
||||
|
9
markdown/dev/reference/config/ui/tags/en.md
Normal file
9
markdown/dev/reference/config/ui/tags/en.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: tags
|
||||
---
|
||||
|
||||
```js
|
||||
tags: ["underwear", "top", "basics"],
|
||||
```
|
||||
|
||||
A set of tags to allow filtering of patterns on the website.
|
12
markdown/dev/reference/config/ui/type/en.md
Normal file
12
markdown/dev/reference/config/ui/type/en.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
title: type
|
||||
---
|
||||
|
||||
```js
|
||||
type: "pattern",
|
||||
```
|
||||
|
||||
One of the following:
|
||||
|
||||
- pattern
|
||||
- block
|
Loading…
Add table
Add a link
Reference in a new issue