Figmagic is the missing piece between DevOps and design: Generate design tokens, export graphics, and extract design token-driven React components from your Figma documents.
When attempting to commit I noticed it runs npm run docs, but I also noticed that it changes the href path of all links to the forked repository instead of keeping with the upstream branch.
as suggested in the docs, but then it removes the link to the upstream branch, keeping only the text:
So, if we still want the links to the files, I think we can remove the docs generation as a pre-commithook, and let the maintainer generate. Another option is to edit typedoc.json to add gitRemote and lose the links in favour of improving maintenance.
Hey,
When attempting to commit I noticed it runs
npm run docs
, but I also noticed that it changes thehref
path of all links to the forked repository instead of keeping with the upstream branch.I also tried to update
typedoc.json
to addor
as suggested in the docs, but then it removes the link to the upstream branch, keeping only the text:
So, if we still want the links to the files, I think we can remove the docs generation as a
pre-commit
hook
, and let the maintainer generate. Another option is to edittypedoc.json
to addgitRemote
and lose the links in favour of improving maintenance.