From 5801eda5588a2279643b27b393b712504d9e02f2 Mon Sep 17 00:00:00 2001 From: joostdecock Date: Mon, 10 Apr 2023 19:21:22 +0200 Subject: [PATCH] chore: Documentation updates and reconfigure --- markdown/dev/reference/macros/banner/en.md | 14 ++++++++------ plugins/plugin-annotations/README.md | 2 +- plugins/plugin-annotations/package.json | 2 +- plugins/plugin-bundle/src/index.mjs | 4 ---- sites/org/package.json | 2 +- 5 files changed, 11 insertions(+), 13 deletions(-) diff --git a/markdown/dev/reference/macros/banner/en.md b/markdown/dev/reference/macros/banner/en.md index 98af64e127d..aaa374529ad 100644 --- a/markdown/dev/reference/macros/banner/en.md +++ b/markdown/dev/reference/macros/banner/en.md @@ -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 diff --git a/plugins/plugin-annotations/README.md b/plugins/plugin-annotations/README.md index 2fe443e8f7b..59bc969d159 100644 --- a/plugins/plugin-annotations/README.md +++ b/plugins/plugin-annotations/README.md @@ -48,7 +48,7 @@ # @freesewing/plugin-annotations -A bundle of FreeSewing plugins that provide annotations +A FreeSewing plugin that provides pattern annotations diff --git a/plugins/plugin-annotations/package.json b/plugins/plugin-annotations/package.json index 3ddc1928509..560e8128c79 100644 --- a/plugins/plugin-annotations/package.json +++ b/plugins/plugin-annotations/package.json @@ -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 (https://github.com/joostdecock)", "homepage": "https://freesewing.org/", "repository": "github:freesewing/freesewing", diff --git a/plugins/plugin-bundle/src/index.mjs b/plugins/plugin-bundle/src/index.mjs index e461dcb84d7..7c34d4ed704 100644 --- a/plugins/plugin-bundle/src/index.mjs +++ b/plugins/plugin-bundle/src/index.mjs @@ -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, diff --git a/sites/org/package.json b/sites/org/package.json index a98e2dcbe1d..ff2da27e527 100644 --- a/sites/org/package.json +++ b/sites/org/package.json @@ -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",