1
0
Fork 0
freesewing/markdown/dev/howtos/code/hide-paths/en.md
nikhil 0becd057b2 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.)
2022-08-21 12:31:23 -04:00

587 B

title for about
Hide paths from an inherited part developers When you inherit a part, it comes with a bunch of paths. Here'show to hide them
See this example in our source code

The example below is from Aaron which inherits from Brian.

We iterate over the paths and set their render property to false.

  // Hide Brian paths
  for (let key of Object.keys(paths)) paths[key].render = false