1
0
Fork 0

fix: Broken/misleading links to designs' source code

Some of these links were actually broken, since they expect to find designs under the `packages/` directory in the current `develop` branch. Other links were technically okay, since they link to old commits, but updating those links may still help to reduce confusion.

Also fix a reference to `packages/unice` in a `netlify.toml` file. (Untested, but I don't think this is an actual Netlify configuration.)
This commit is contained in:
nikhil 2022-08-21 12:31:23 -04:00
parent 3ca5d0edfe
commit 0becd057b2
15 changed files with 30 additions and 36 deletions

View file

@ -8,10 +8,12 @@ about: When you inherit a part, it comes with a bunch of paths. Here'show to rem
##### See this example in our source code
- [packages/carlton/src/back.js](https://github.com/freesewing/freesewing/blob/8474477911daed3c383700ab29c9565883f16d66/packages/carlton/src/back.js#L62)
- [designs/carlton/src/back.js](https://github.com/freesewing/freesewing/blob/3ca5d0edfe54c7ac20aaf3af2f3544aee72f9b99/designs/carlton/src/back.js#L62)
</Note>
```js
for (let i in paths) delete paths[i]
for (let i in paths) {
if (['backArmhole', 'backCollar'].indexOf(i) === -1) delete paths[i]
}
```