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
|
||||
macro('banner', {
|
||||
String className='',
|
||||
Number dy=1,
|
||||
Number repeat=10,
|
||||
Number spaces=12,
|
||||
Path path,
|
||||
String text,
|
||||
Number dy=1,
|
||||
Number spaces=12,
|
||||
Number repeat=10,
|
||||
})
|
||||
```
|
||||
|
||||
|
@ -45,11 +46,12 @@ macro('banner', {
|
|||
|
||||
| Property | Default | Type | Description |
|
||||
|-------------:|------------|------------|-------------|
|
||||
| `path` | | `Path` | The Path to add the text on |
|
||||
| `text` | | `text` | The text to place repeat along the path |
|
||||
| `className` | `` | `string` | Any additional CSS classes to apply to the text |
|
||||
| `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 |
|
||||
| `spaces` | `12` | `number` | The number of spaces to place between repetitions |
|
||||
| `text` | | `string` | The text to place repeat along the path |
|
||||
|
||||
## Notes
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
# @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",
|
||||
"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)",
|
||||
"homepage": "https://freesewing.org/",
|
||||
"repository": "github:freesewing/freesewing",
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
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 { mirrorPlugin } from '../../plugin-mirror/src/index.mjs'
|
||||
import { roundPlugin } from '../../plugin-round/src/index.mjs'
|
||||
|
@ -11,8 +9,6 @@ import { name, version } from '../data.mjs'
|
|||
|
||||
const bundledPlugins = [
|
||||
annotationsPlugin,
|
||||
bannerPlugin,
|
||||
dimensionPlugin,
|
||||
measurementsPlugin,
|
||||
mirrorPlugin,
|
||||
roundPlugin,
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
"peerDependencies": {},
|
||||
"dependencies": {
|
||||
"@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/mdx": "2.2.1",
|
||||
"@mdx-js/react": "2.2.1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue