chore(markdown): Move non-api docs to reference
This commit is contained in:
parent
8c3c0c9910
commit
8e9e5052ee
62 changed files with 68 additions and 49 deletions
14
markdown/dev/reference/snippets/bnotch/en.md
Normal file
14
markdown/dev/reference/snippets/bnotch/en.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
title: bnotch
|
||||
---
|
||||
|
||||
The `bnotch` snippet is intended for notches at the back, or when you
|
||||
need an alternative to the default `notch`.
|
||||
|
||||
It is provided by [plugin-notches](/reference/plugins/notches/).
|
||||
|
||||
```js
|
||||
snippets.demo = new Snippet('bnotch', points.anchor)
|
||||
```
|
||||
|
||||
<Example part="snippets_bnotch">An example of the bnotch snippet</Example>
|
14
markdown/dev/reference/snippets/button/en.md
Normal file
14
markdown/dev/reference/snippets/button/en.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
title: button
|
||||
---
|
||||
|
||||
The `button` snippet is used to mark button placement and is
|
||||
provided by [plugin-buttons](/reference/plugins/buttons/).
|
||||
|
||||
```js
|
||||
snippets.demo = new Snippet('button', points.anchor)
|
||||
```
|
||||
|
||||
<Example part="snippets_button">
|
||||
An example of the button snippet
|
||||
</Example>
|
26
markdown/dev/reference/snippets/buttonhole-end/en.md
Normal file
26
markdown/dev/reference/snippets/buttonhole-end/en.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
title: buttonhole-end
|
||||
---
|
||||
|
||||
The `buttonhole-end` snippet is used to mark buttonhole placement and is
|
||||
provided by [plugin-buttons](/reference/plugins/buttons/).
|
||||
|
||||
```js
|
||||
snippets.demo = new Snippet('buttonhole-end', points.anchor)
|
||||
```
|
||||
|
||||
<Example part="snippets_buttonhole_end">
|
||||
An example of the buttonhole-end snippet
|
||||
</Example>
|
||||
|
||||
<Note>
|
||||
|
||||
##### Aligning your buttons and buttonholes
|
||||
|
||||
We provide three buttonhole snippets with a different alignment:
|
||||
|
||||
- [buttonhole](/reference/api/snippets/buttonhole/): Anchor point is the middle of the buttonhole
|
||||
- [buttonhole-start](/reference/api/snippets/buttonhole-start/): Anchor point is the start of the buttonhole
|
||||
- [buttonhole-end](/reference/api/snippets/buttonhole-end/): Anchor point is the end of the buttonhole
|
||||
|
||||
</Note>
|
26
markdown/dev/reference/snippets/buttonhole-start/en.md
Normal file
26
markdown/dev/reference/snippets/buttonhole-start/en.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
title: buttonhole-start
|
||||
---
|
||||
|
||||
The `buttonhole-start` snippet is used to mark buttonhole placement and is
|
||||
provided by [plugin-buttons](/reference/plugins/buttons/).
|
||||
|
||||
```js
|
||||
snippets.demo = new Snippet('buttonhole-start', points.anchor)
|
||||
```
|
||||
|
||||
<Example part="snippets_buttonhole_start">
|
||||
An example of the buttonhole-start snippet
|
||||
</Example>
|
||||
|
||||
<Note>
|
||||
|
||||
##### Aligning your buttons and buttonholes
|
||||
|
||||
We provide three buttonhole snippets with a different alignment:
|
||||
|
||||
- [buttonhole](/reference/api/snippets/buttonhole/): Anchor point is the middle of the buttonhole
|
||||
- [buttonhole-start](/reference/api/snippets/buttonhole-start/): Anchor point is the start of the buttonhole
|
||||
- [buttonhole-end](/reference/api/snippets/buttonhole-end/): Anchor point is the end of the buttonhole
|
||||
|
||||
</Note>
|
26
markdown/dev/reference/snippets/buttonhole/en.md
Normal file
26
markdown/dev/reference/snippets/buttonhole/en.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
title: buttonhole
|
||||
---
|
||||
|
||||
The `buttonhole` snippet is used to mark buttonhole placement and is
|
||||
provided by [plugin-buttons](/reference/plugins/buttons/).
|
||||
|
||||
```js
|
||||
snippets.demo = new Snippet('buttonhole', points.anchor)
|
||||
```
|
||||
|
||||
<Example part="snippets_buttonhole">
|
||||
An example of the buttonhole snippet
|
||||
</Example>
|
||||
|
||||
<Note>
|
||||
|
||||
##### Aligning your buttons and buttonholes
|
||||
|
||||
We provide three buttonhole snippets with a different alignment:
|
||||
|
||||
- [buttonhole](/reference/api/snippets/buttonhole/): Anchor point is the middle of the buttonhole
|
||||
- [buttonhole-start](/reference/api/snippets/buttonhole-start/): Anchor point is the start of the buttonhole
|
||||
- [buttonhole-end](/reference/api/snippets/buttonhole-end/): Anchor point is the end of the buttonhole
|
||||
|
||||
</Note>
|
9
markdown/dev/reference/snippets/en.md
Normal file
9
markdown/dev/reference/snippets/en.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: Snippets
|
||||
for: developers
|
||||
about: Complete list of all the available snippets
|
||||
---
|
||||
|
||||
Snippets are provided by plugins. Follow the links below for more info on and an example of a specific snippet:
|
||||
|
||||
<ReadMore list />
|
14
markdown/dev/reference/snippets/logo/en.md
Normal file
14
markdown/dev/reference/snippets/logo/en.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
title: logo
|
||||
---
|
||||
|
||||
The `logo` snippet inserts the FreeSewing logo. It is
|
||||
provided by [plugin-logo](/reference/plugins/logo/).
|
||||
|
||||
```js
|
||||
snippets.demo = new Snippet('logo', points.anchor)
|
||||
```
|
||||
|
||||
<Example part="snippets_logo">
|
||||
An example of the logo snippet
|
||||
</Example>
|
14
markdown/dev/reference/snippets/notch/en.md
Normal file
14
markdown/dev/reference/snippets/notch/en.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
title: notch
|
||||
---
|
||||
|
||||
The `notch` snippet is intended for notches and is
|
||||
provided by [plugin-notches](/reference/plugins/notches/).
|
||||
|
||||
```js
|
||||
snippets.demo = new Snippet('bnotch', points.anchor)
|
||||
```
|
||||
|
||||
<Example part="snippets_notch">
|
||||
An example of the notch snippet
|
||||
</Example>
|
15
markdown/dev/reference/snippets/snap-socket/en.md
Normal file
15
markdown/dev/reference/snippets/snap-socket/en.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
title: snap-socket
|
||||
---
|
||||
|
||||
The `snap-socket` snippet is used to mark the socket part of a snap button.
|
||||
|
||||
It is provided by [plugin-buttons](/reference/plugins/buttons/).
|
||||
|
||||
```js
|
||||
snippets.demo = new Snippet('snap-socket', points.anchor)
|
||||
```
|
||||
|
||||
<Example part="snippets_snapsocket">
|
||||
An example of the snap-socket snippet
|
||||
</Example>
|
15
markdown/dev/reference/snippets/snap-stud/en.md
Normal file
15
markdown/dev/reference/snippets/snap-stud/en.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
title: snap-stud
|
||||
---
|
||||
|
||||
The `snap-stud` snippet is used to mark the stud part of a snap button.
|
||||
|
||||
It is provided by [plugin-buttons](/reference/plugins/buttons/).
|
||||
|
||||
```js
|
||||
snippets.demo = new Snippet('snap-stud', points.anchor)
|
||||
```
|
||||
|
||||
<Example part="snippets_snapstud">
|
||||
An example of the snap-stud snippet
|
||||
</Example>
|
Loading…
Add table
Add a link
Reference in a new issue