chore: Documentation updates and reconfigure
This commit is contained in:
parent
8559ff10e6
commit
5801eda558
5 changed files with 11 additions and 13 deletions
|
@ -9,11 +9,12 @@ It is provided by the [banner plugin](/reference/plugins/banner).
|
||||||
|
|
||||||
```js
|
```js
|
||||||
macro('banner', {
|
macro('banner', {
|
||||||
|
String className='',
|
||||||
|
Number dy=1,
|
||||||
|
Number repeat=10,
|
||||||
|
Number spaces=12,
|
||||||
Path path,
|
Path path,
|
||||||
String text,
|
String text,
|
||||||
Number dy=1,
|
|
||||||
Number spaces=12,
|
|
||||||
Number repeat=10,
|
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -45,11 +46,12 @@ macro('banner', {
|
||||||
|
|
||||||
| Property | Default | Type | Description |
|
| Property | Default | Type | Description |
|
||||||
|-------------:|------------|------------|-------------|
|
|-------------:|------------|------------|-------------|
|
||||||
| `path` | | `Path` | The Path to add the text on |
|
| `className` | `` | `string` | Any additional CSS classes to apply to the text |
|
||||||
| `text` | | `text` | The text to place repeat along the path |
|
|
||||||
| `dy` | `1` | `number` | Controls how far the text will be located above the path |
|
| `dy` | `1` | `number` | Controls how far the text will be located above the path |
|
||||||
| `spaces` | `12` | `number` | The number of spaces to place between repetitions |
|
| `path` | | `Path` | The Path to add the text on |
|
||||||
| `repeat` | `10` | `number` | The number of repetitions |
|
| `repeat` | `10` | `number` | The number of repetitions |
|
||||||
|
| `spaces` | `12` | `number` | The number of spaces to place between repetitions |
|
||||||
|
| `text` | | `string` | The text to place repeat along the path |
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
# @freesewing/plugin-annotations
|
# @freesewing/plugin-annotations
|
||||||
|
|
||||||
A bundle of FreeSewing plugins that provide annotations
|
A FreeSewing plugin that provides pattern annotations
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@freesewing/plugin-annotations",
|
"name": "@freesewing/plugin-annotations",
|
||||||
"version": "3.0.0-alpha.4",
|
"version": "3.0.0-alpha.4",
|
||||||
"description": "A bundle of FreeSewing plugins that provide annotations",
|
"description": "A FreeSewing plugin that provides pattern annotations",
|
||||||
"author": "Joost De Cock <joost@joost.at> (https://github.com/joostdecock)",
|
"author": "Joost De Cock <joost@joost.at> (https://github.com/joostdecock)",
|
||||||
"homepage": "https://freesewing.org/",
|
"homepage": "https://freesewing.org/",
|
||||||
"repository": "github:freesewing/freesewing",
|
"repository": "github:freesewing/freesewing",
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import { annotationsPlugin } from '../../plugin-annotations/src/index.mjs'
|
import { annotationsPlugin } from '../../plugin-annotations/src/index.mjs'
|
||||||
|
|
||||||
import { bannerPlugin } from '../../plugin-banner/src/index.mjs'
|
|
||||||
import { dimensionPlugin } from '../../plugin-dimension/src/index.mjs'
|
|
||||||
import { measurementsPlugin } from '../../plugin-measurements/src/index.mjs'
|
import { measurementsPlugin } from '../../plugin-measurements/src/index.mjs'
|
||||||
import { mirrorPlugin } from '../../plugin-mirror/src/index.mjs'
|
import { mirrorPlugin } from '../../plugin-mirror/src/index.mjs'
|
||||||
import { roundPlugin } from '../../plugin-round/src/index.mjs'
|
import { roundPlugin } from '../../plugin-round/src/index.mjs'
|
||||||
|
@ -11,8 +9,6 @@ import { name, version } from '../data.mjs'
|
||||||
|
|
||||||
const bundledPlugins = [
|
const bundledPlugins = [
|
||||||
annotationsPlugin,
|
annotationsPlugin,
|
||||||
bannerPlugin,
|
|
||||||
dimensionPlugin,
|
|
||||||
measurementsPlugin,
|
measurementsPlugin,
|
||||||
mirrorPlugin,
|
mirrorPlugin,
|
||||||
roundPlugin,
|
roundPlugin,
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
"peerDependencies": {},
|
"peerDependencies": {},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bugsnag/js": "7.18.0",
|
"@bugsnag/js": "7.18.0",
|
||||||
"@bugsnag/plugin-react": "7.19.0",
|
"@bugsnag/plugin-react": "7.18.0",
|
||||||
"@mdx-js/loader": "2.2.1",
|
"@mdx-js/loader": "2.2.1",
|
||||||
"@mdx-js/mdx": "2.2.1",
|
"@mdx-js/mdx": "2.2.1",
|
||||||
"@mdx-js/react": "2.2.1",
|
"@mdx-js/react": "2.2.1",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue