1
0
Fork 0
Commit graph

8 commits

Author SHA1 Message Date
joostdecock
a30b08371c feat(core): Added Path.combine and related changes, closes #5976
The discussion in #5976 is whether `Path.join()` should use a line
segment to close any gaps in the path caused by move operations, or by
differences in the end and start points of paths being joined.

The answer is yes, that is the intended behaviour, but people who read
_join_ might expect differently.

So I have made a few changes to clarify this:

- The new `Path.combine()` method combines multiple path instances into
  a single instance without making any changes to the drawing operations
- Since `Path.combine()` is variadic, I have also updated `Path.join()`
  to be variadic too, since that is more consistent.
- The old way of calling `Path.join(path, bool)` is deprecated and will
  log a warning. Calling `Path.join()` this way will be removed in v4.
- Related to this change is how `Path.length()` should behave when there
  are gaps in the path. Currently, it skips those. So I've added a
  parameter that when set to `true` will include them.
- Added documentation for `Path.combine()`
- Updated documentation for `Path.join()`
- Updated documentation for `Path.length()`
2024-02-10 15:40:41 +01:00
Benjamin F
d1dc9feb66 fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
Joost De Cock
ede3c137bc chore(docs): Updated Path api docs for v3 2022-09-27 18:24:35 +02:00
Joost De Cock
265ad404da chore(markdown): Linting of dev docs 2022-02-19 08:04:25 +01:00
Joost De Cock
7bebd8cf07 fix(markdown): Move caption to children 2022-01-19 11:31:39 +01:00
joostdecock
cba1ab19c8 Revert "chore: Linting for markdown and js"
This reverts commit 1c92e0f655.
2021-10-17 18:26:00 +02:00
joostdecock
1c92e0f655 chore: Linting for markdown and js 2021-10-17 17:34:55 +02:00
Joost De Cock
b34a2ee2ed feat: Flat import of markdown repo
This is a flat (without history) import of (some of) the content
from our markdown module.

We've imported this without history because the repo contains our
blog posts and showcases posts content prior to porting them to strapi.

Since this contains many images, it would balloon the size of this repo
to import the full history.

Instead, please refer to the history of the (archived) markdown repo
at: https://github.com/freesewing/markdown
2021-08-25 16:09:31 +02:00