1
0
Fork 0
Fork of Freesewing's monorepo holding all our NPM packages, including our core library
Find a file
joostdecock 3110e5a9a3 fix(markdown): Don't use MDX components to construct headers
Closes #4776

This is a somewhat low-tech fix for this problem.
That's because it's not entirely trivial to resolve this as the MDX
components rely on the React context to figure out the title of the
page, but the remark plugin runs in an SSR context and does not have
access to the React contenxt.

Futhermore, while we could load the context statically for dev (given
the navigation context for the docs is availabel in the prebuild data)
this would lead to problems for org because we don't know inside this
remark plugin what language the user requested.

And while I'm certain we could figure it out given enough effort, it
hardly seems worth is since this is used in very few places.

In addition, it would do nothing to solve the matter of the nested a
tags when putting a link in the title, which clashes with the
auto-generated amchor links for titles.

So new rules:

- Title cannot be a link
- You can not use `DocsTitle` as title
2023-10-04 18:44:25 +02:00
.github chore: Removed pr template 2023-09-30 15:25:35 +02:00
.husky chore: More linting 2022-09-15 13:49:55 +02:00
ansible wip(ansible): Working on playbooks for v3 infrastructure 2023-08-02 20:31:18 +02:00
artwork Added new Bee, Bella, and Bent line drawings 2023-08-22 21:41:06 -04:00
config chore: Install various major updates 2023-10-04 17:55:54 +02:00
designs chore: Remove lint 2023-10-02 18:20:31 +02:00
markdown fix(markdown): Don't use MDX components to construct headers 2023-10-04 18:44:25 +02:00
media 🚧 Added verdaccio as mock local registry 2019-04-20 15:36:31 +02:00
packages chore: Install various major updates 2023-10-04 17:55:54 +02:00
plugins release: v3.0.0 🎉 2023-09-30 17:48:57 +02:00
scripts fix: Make yarn new design work again 2023-10-04 09:14:24 +02:00
sites chore: Install various major updates 2023-10-04 17:55:54 +02:00
tests release: v3.0.0 🎉 2023-09-30 17:48:57 +02:00
.all-contributorsrc docs: update .all-contributorsrc [skip ci] 2023-09-12 12:25:04 +00:00
.editorconfig 🚚 Bootstrapped monorepo with Lerna 2019-04-19 08:49:08 +02:00
.eslintignore fix: Ignore HTML eslint 2023-08-20 19:03:47 +02:00
.eslintrc.cjs (chore) lint 2023-06-28 16:52:36 -05:00
.gitignore wip(sde): Trimming file list 2023-09-29 17:35:08 +02:00
.gitpod.yml install yarn in gitpod 2023-07-29 11:03:31 -05:00
.npmrc 🔥 Cleanup and reduced log output 2019-04-20 19:50:37 +02:00
.nvmrc chore: Bump .nvmrc up to Node 16 LTS 2022-08-24 16:02:47 -04:00
.prettierignore chore; Prettier update 2023-09-30 14:29:49 +02:00
.remarkrc.yaml chore(markdown): Docs linter run 2022-07-31 16:11:50 +02:00
.tool-versions Add .tool-versions file 2020-03-07 11:04:42 +01:00
CHANGELOG.md chore: Reconfigure packages 2023-09-30 17:40:53 +02:00
CODE_OF_CONDUCT.md chore: Added COC 2020-10-24 18:21:04 +02:00
commitlint.config.js chore: Added linting for conventional commits 2019-10-05 15:11:06 +02:00
CONTRIBUTING.md chore: Updated contributing file 2022-06-06 18:18:20 +02:00
CONTRIBUTORS.md docs: update CONTRIBUTORS.md [skip ci] 2023-09-12 12:25:03 +00:00
crowdin.yml chore: Updated crowdin config 2023-07-23 18:33:57 +02:00
example.env feat: Added script to handle strapi translations 2022-05-20 14:27:40 +02:00
LATEST_NEWS.md chore: Updated LATEST_NEWS 2022-12-04 17:09:29 +01:00
lerna.json release: v3.0.0 🎉 2023-09-30 17:48:57 +02:00
LICENSE chore: Bumped license year 2022-08-13 13:12:17 +02:00
nx.json remove unneeded dependency build before testing 2023-07-27 23:57:24 -05:00
package.json chore: Install various major updates 2023-10-04 17:55:54 +02:00
README.md chore: Reconfigure packages 2023-09-30 17:40:53 +02:00
SECURITY.md Create security policy 2023-09-04 18:09:41 +02:00
yarn.lock chore: Install various major updates 2023-10-04 17:55:54 +02:00

FreeSewing

@freesewing/core on NPM License: MIT DeepScan grade Open issues All Contributors

Follow @freesewing_org on Twitter Chat with us on Discord Become a FreeSewing Patron Follow @freesewing_org on Twitter

What am I looking at? 🤔

This repository is the FreeSewing monorepo holding all FreeSewing's websites, documentation, designs, plugins, and other NPM packages.

Getting started

As this is a monorepo. You'll need NodeJS v18, lerna and yarn on your system.
Once you have those, clone (or fork) this repo and run yarn kickstart:

git clone git@github.com:freesewing/freesewing.git
cd freesewing
yarn kickstart

About FreeSewing 💀

Where the world of makers and developers collide, that's where you'll find FreeSewing.

If you're a maker, checkout freesewing.org where you can generate sewing patterns adapted to your measurements.

If you're a developer, the FreeSewing documentation lives at freesewing.dev. The FreeSewing core library is a batteries-included toolbox for parametric design of sewing patterns. But FreeSewing also provides a range of plugins that further extend the functionality of the platform.

If you have NodeJS installed, you can try it right now by running:

npx create-freesewing-pattern

Getting started guides are available for:

The pattern design tutorial will show you how to create your first parametric design.

Support FreeSewing: Become a patron 🥰

FreeSewing is an open source project maintained by Joost De Cock and financially supported by the FreeSewing patrons.

If you feel FreeSewing is worthwhile, and you can spend a few coind without hardship, then you should join us and become a patron.

Official channels

Social media

Places the FreeSewing community hangs out

License: MIT 🤓

© Joost De Cock.
See the license file for details.

Where to get help 🤯

For Support, please use the Issues & Discussions on GitHub.

Contributors

Thanks goes to these wonderful people (emoji key):

Adam Tomkins
Adam Tomkins

📖
Alexandre Ignjatovic
Alexandre Ignjatovic

💻
AlfaLyr
AlfaLyr

💻 🔌 🎨
Andrew James
Andrew James

📖
Anneke
Anneke

📖 🌍
Annie Kao
Annie Kao

📖
Anternative
Anternative

📖
Anthony
Anthony

💬
Ari Grayzel-student
Ari Grayzel-student

💻
Bart
Bart

📖
BenJamesBen
BenJamesBen

💻 📖 🐛
Cameron Dubas
Cameron Dubas

📖
Carsten Biebricher
Carsten Biebricher

📖
Cathy Zoller
Cathy Zoller

📖
Chantal Lapointe
Chantal Lapointe

🌍
Damien PIQUET
Damien PIQUET

💻
Darigov Research
Darigov Research

📖 🤔
David Clegg
David Clegg

🎨 💻
Elena FdR
Elena FdR

📖 📝
Emmanuel Nyachoke
Emmanuel Nyachoke

💻 📖
Enoch Riese
Enoch Riese

💻
EvEkSwed
EvEkSwed

🌍
Fantastik-Maman
Fantastik-Maman

🌍
Forrest O.
Forrest O.

📖
Frédéric
Frédéric

🌍
Glenn Matthews
Glenn Matthews

📖
Greg Sadetsky
Greg Sadetsky

📖
Igor Couto
Igor Couto

🐛
Ikko Ashimine
Ikko Ashimine

📖
Irapeke
Irapeke

🌍
Ivo Bek
Ivo Bek

📖
Jacek Sawoszczuk
Jacek Sawoszczuk

📖
Jason Williams
Jason Williams

📖
Jeremy Jackson
Jeremy Jackson

💻
Jeroen Hoek
Jeroen Hoek

📖
Joe Schofield
Joe Schofield

📖
Joebidido
Joebidido

🌍
Joost De Cock
Joost De Cock

🚧
Josh Essman
Josh Essman

📖
Kake
Kake

📖
Kapunahele Wong
Kapunahele Wong

📖
Karen
Karen

📖 📋
Katie McGinley
Katie McGinley

📖
Kieran Klaassen
Kieran Klaassen

💻
Kittycatou
Kittycatou

🌍
Kris
Kris

📖
Kristin Ruben
Kristin Ruben

💻
Lin
Lin

💻
Loudepeuter
Loudepeuter

🌍
Lucian
Lucian

📋
Luiz Saggioro
Luiz Saggioro

💻
MA-TATAS
MA-TATAS

📖
Marcus
Marcus

🌍
Martin Tribo
Martin Tribo

📖
Nadege Michel
Nadege Michel

⚠️ 📖
Natalia
Natalia

💻 🎨 📝
Nathan Yergler
Nathan Yergler

📖
Nick Dower
Nick Dower

📖 💻 🐛
Nikhil Chelliah
Nikhil Chelliah

📖
OysteinHoiby
OysteinHoiby

💻
Patrick Forringer
Patrick Forringer

🔌
Paul
Paul

📖 📝 🌍
Phillip Thelen
Phillip Thelen

💻
Pixieish
Pixieish

📖
Prof. dr. Sorcha Ní Dhubhghaill
Prof. dr. Sorcha Ní Dhubhghaill

📖
Quentin FELIX
Quentin FELIX

💻 🎨
Rik Hekker
Rik Hekker

🐛
Sam Livingston-Gray
Sam Livingston-Gray

📖
Sanne
Sanne

💻 📖
Sara Latorre
Sara Latorre

🌍
SeaZeeZee
SeaZeeZee

📖 💻
SimonbJohnson
SimonbJohnson

🐛
SirCharlotte
SirCharlotte

🌍
Slylele
Slylele

📖 🌍
Soazillon
Soazillon

🌍
SoneaTheBest
SoneaTheBest

🌍
Stefan Sydow
Stefan Sydow

🌍 📖 💻
Trent Trama
Trent Trama

💻
Tríona
Tríona

📖
Unmutual
Unmutual

📖
Wouter van Wageningen
Wouter van Wageningen

💻 🎨 🔧
amysews
amysews

📖
anna-puk
anna-puk

💻
beautifulsummermoon
beautifulsummermoon

🌍
berce
berce

📖
biou
biou

💻
bobgeorgethe3rd
bobgeorgethe3rd

💻 📖 🎨
brmlyklr
brmlyklr

📖
chri5b
chri5b

💻 ⚠️
dingcycle
dingcycle

🌍
drowned-in-books
drowned-in-books

💬
econo202
econo202

📖
ericamattos
ericamattos

🌍
evilrobotfromouterspace
evilrobotfromouterspace

🐛
fightingrabbit
fightingrabbit

💻
gaylyndie
gaylyndie

📖
grimlokason
grimlokason

💻
hellgy
hellgy

🎨
jackseye
jackseye

📖
marckiesel
marckiesel

🌍
marpants
marpants

💻
mergerg
mergerg

📖
mesil
mesil

🐛
starfetch
starfetch

💻 📖 🌍 🎨
timorl
timorl

💻
ttimearl
ttimearl

🖋
tuesgloomsday
tuesgloomsday

📖
valadaptive
valadaptive

💻
viocky
viocky

🌍
woolishboy
woolishboy

💻
yc
yc

🌍

This project follows the all-contributors specification. Contributions of any kind welcome!