1
0
Fork 0

[dev] fix: Ensure path._curve is included in docs. Closes #193 (#204)

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/204
Co-authored-by: joostdecock <joost@joost.at>
Co-committed-by: joostdecock <joost@joost.at>
This commit is contained in:
joostdecock 2025-04-03 16:38:48 +00:00 committed by Joost De Cock
parent d973cb4248
commit f30b67080b
6 changed files with 77 additions and 27 deletions

View file

@ -3,6 +3,34 @@
## Unreleased ## Unreleased
### bee
#### Added
- Added the `duoNeckTieColours` option
- Added the `duoBandTieColours` option
- Added the `pointedNeckTieEnds` option
- Added the `pointedBandTieEnds` option
#### Changed
- Reinstating the ability to toggle the colours of neck and band tie independently
- Reinstating the ability to toggle pointed edge of neck and band tie independently
- Simplify snap options
- Simplify Cutting Instructions
- Hidden tie flag message also now appears when `options.ties` is not set
- Neck tie is no longer hidden when `options.pointedNeckTieEnds` is `true`
- Band tie is no longer hidden when `options.crossBackTies` is `true`
- Band tie is no longer hidden when `options.pointedBandTieEnds` is `true` and `options.crossBackTies` is not set
- The `reversible` optinon now acts as an override for the `duoNeckTieColours` and `duoBandTieColours` options
- Updated `neckTieLength` when `crossBackTies` is `true`
- Designer note links updated for new options
#### Fixed
- Neck ties no longer shown to be cut on fold
- Band tie locks in duo colours when `options.crossBackTies` is true (fixes incorrect notch placements)
## 4.0.0 (2024-04-01) ## 4.0.0 (2024-04-01)

View file

@ -1,5 +1,35 @@
Unreleased: Unreleased:
Added:
bee:
- Added the `duoNeckTieColours` option
- Added the `duoBandTieColours` option
- Added the `pointedNeckTieEnds` option
- Added the `pointedBandTieEnds` option
Fixed:
backend:
- Newsletter unsubscribe links lead to 404
bee:
- Neck ties no longer shown to be cut on fold
- Band tie locks in duo colours when `options.crossBackTies` is true (fixes incorrect notch placements)
org:
- Update pattern button leads to 404
- New measurement set leads to 404 when users have no sets yet
Changed: Changed:
bee:
- Reinstating the ability to toggle the colours of neck and band tie independently
- Reinstating the ability to toggle pointed edge of neck and band tie independently
- Simplify snap options
- Simplify Cutting Instructions
- Hidden tie flag message also now appears when `options.ties` is not set
- Neck tie is no longer hidden when `options.pointedNeckTieEnds` is `true`
- Band tie is no longer hidden when `options.crossBackTies` is `true`
- Band tie is no longer hidden when `options.pointedBandTieEnds` is `true` and `options.crossBackTies` is not set
- The `reversible` optinon now acts as an override for the `duoNeckTieColours` and `duoBandTieColours` options
- Updated `neckTieLength` when `crossBackTies` is `true`
- Designer note links updated for new options
4.0.0: 4.0.0:
date: 2024-04-01 date: 2024-04-01

View file

@ -93,7 +93,7 @@ const config = {
docs: { docs: {
routeBasePath: '/', routeBasePath: '/',
sidebarPath: './sidebars.js', sidebarPath: './sidebars.js',
editUrl: 'https://github.com/freesewing/freesewing/tree/v4/sites/dev/', editUrl: 'https://codeberg.com/freesewing/freesewing/tree/develop/sites/dev/',
}, },
theme: { theme: {
customCss: './src/css/custom.css', customCss: './src/css/custom.css',
@ -142,21 +142,17 @@ const config = {
{ {
title: 'Help & Support', title: 'Help & Support',
items: [ items: [
{
label: 'Forum',
href: 'https://forum.freesewing.eu/',
},
{ {
label: 'Discord', label: 'Discord',
href: 'https://discord.freesewing.org/', href: 'https://discord.freesewing.org/',
}, },
{
label: 'GitHub Issues',
href: 'https://github.com/freesewing/freesewing/issues',
},
{
label: 'GitHub Discussions',
href: 'https://github.com/freesewing/freesewing/discussions',
},
{ {
label: 'All Support Options', label: 'All Support Options',
href: 'https://freesewing.org/support', href: 'https://freesewing.eu/support',
}, },
], ],
}, },
@ -164,25 +160,21 @@ const config = {
title: 'More', title: 'More',
items: [ items: [
{ {
label: 'FreeSewing.org', label: 'FreeSewing.eu',
to: 'https://freesewing.org/', to: 'https://freesewing.eu/',
}, },
{ {
label: 'Blog', label: 'FreeSewing.social',
to: 'https://freesewing.org/blog/', to: 'https://freesewing.social/',
}, },
{ {
label: 'Showcase', label: 'Code on Codeberg',
to: 'https://freesewing.org/showccase/', href: 'https://codeberg.org/freesewing/freesewing',
},
{
label: 'Code on GitHub',
href: 'https://github.com/freesewing/freesewing',
}, },
], ],
}, },
], ],
copyright: `<a href="https://freesewing.org/">FreeSewing</a> is brought to you by <a href="https://github.com/joostdecock">Joost De Cock</a> and <a href="https://github.com/freesewing/freesewing/blob/develop/CONTRIBUTORS.md">contributors</a> with the financial support of <a href="https://freesewing.org/patrons/join">our patrons</a>`, copyright: `<a href="https://freesewing.org/">FreeSewing</a> is brought to you by <a href="https://codeberg.eu/joostdecock">Joost De Cock</a> and <a href="https://codeberg.eu/freesewing/freesewing/blob/develop/CONTRIBUTORS.md">contributors</a> with the financial support of <a href="https://freesewing.org/patrons/join">our patrons</a>`,
}, },
prism: { prism: {
theme: prismThemes.dracula, theme: prismThemes.dracula,

View file

@ -1,3 +1,3 @@
```sh title="Terminal" ```sh title="Terminal"
npx @freesewing/new-design npx @freesewing/studio
``` ```

View file

@ -1,6 +1,6 @@
import Link from '@docusaurus/Link' import Link from '@docusaurus/Link'
import Layout from '@theme/Layout' import Layout from '@theme/Layout'
import NewDesign from './_new-design.md' import Studio from './_studio.md'
import SetupMonorepo from './_setup-monorepo.md' import SetupMonorepo from './_setup-monorepo.md'
import MDXContent from '@theme/MDXContent' import MDXContent from '@theme/MDXContent'
@ -92,7 +92,7 @@ export default function Home() {
<p style={styles.cardp}> <p style={styles.cardp}>
All you need is <a href="https://nodejs.org/">NodeJS</a>, then run: All you need is <a href="https://nodejs.org/">NodeJS</a>, then run:
</p> </p>
<NewDesign /> <Studio />
<p style={styles.cardp}> <p style={styles.cardp}>
This command will setup the stand-alone FreeSewing development environment for you.{' '} This command will setup the stand-alone FreeSewing development environment for you.{' '}
<Link href="/tutorials/getting-started-linux/dev-setup">Learn more</Link>. <Link href="/tutorials/getting-started-linux/dev-setup">Learn more</Link>.
@ -101,8 +101,8 @@ export default function Home() {
<Card title="To go far, go together" icon="🧑‍🤝‍🧑"> <Card title="To go far, go together" icon="🧑‍🤝‍🧑">
<p style={styles.cardp}> <p style={styles.cardp}>
First,{' '} First,{' '}
<a href="https://github.com/freesewing/freesewing/fork"> <a href="https://codeberg.org/freesewing/freesewing/fork">
fork our monorepo on GitHub fork our monorepo on Codeberg
</a> </a>
, then run: , then run:
</p> </p>
@ -120,7 +120,7 @@ export default function Home() {
</p> </p>
<p style={styles.cardp}> <p style={styles.cardp}>
For documentation for makers, please refer to{' '} For documentation for makers, please refer to{' '}
<a href="https://freesewing.org">FreeSewing.org</a>. <a href="https://freesewing.eu">FreeSewing.eu</a>.
</p> </p>
</Card> </Card>
<Card title="Git good scrub" icon="🐙"> <Card title="Git good scrub" icon="🐙">