Sidharth Vinod
1c8c69f8db
Merge branch 'sidv/properlyWaitTests' into sidv/internalFCV3
...
* sidv/properlyWaitTests:
feat: Wait for rendering to finish before taking image snapshots
Update docs
chore(deps): update all non-major dependencies
Fix: Too many `primaryBorderColor`
2023-01-16 02:11:59 +05:30
Sidharth Vinod
4d3f151cf0
feat: Wait for rendering to finish before taking image snapshots
2023-01-16 02:07:37 +05:30
Sidharth Vinod
8f8ae64ced
upload error snapshots
2023-01-16 01:23:42 +05:30
sidharthv96
874f4c0641
Update docs
2023-01-13 14:17:17 +00:00
Sidharth Vinod
60175cd84f
Merge pull request #3986 from LiHowe/patch-1
...
Docs: Too many `primaryBorderColor` field
2023-01-13 19:43:45 +05:30
renovate[bot]
ac6d325a00
chore(deps): update all non-major dependencies
2023-01-13 10:02:07 +00:00
Howard He
e44e1210e2
Fix: Too many primaryBorderColor
...
Only keep one `primaryBorderColor` field in Theme Variables part.
before:
![before](https://s2.loli.net/2023/01/13/I657QWjsAlVokfE.png )
after:
![after](https://s2.loli.net/2023/01/13/ZQ7PSfcdIKBtGsm.png )
2023-01-13 17:13:56 +08:00
Sidharth Vinod
05d1fc44e8
Merge branch 'develop' into sidv/internalFCV3
...
* develop:
test(sequenceDiagram): mock more d3 curve* types
test(docs): fix test failure due to bad merge
chore(dev-deps): update vitest to `^0.27.1`
2023-01-13 10:23:59 +05:30
Sidharth Vinod
075f55418b
Merge pull request #3985 from aloisklink/test/fix-docs-semantic-merge-conflict
...
Fix failing tests due to semantic merge conflict
2023-01-13 10:20:33 +05:30
Alois Klink
164b9bc2cb
test(sequenceDiagram): mock more d3 curve* types
...
vitest is throwing an error, since these types are used in
packages/mermaid/src/utils.ts, but are not being mocked.
I've added all the curve types I needed to make Vitest happy.
At some point, we may need to improve these mocks, since in d3,
they have the type CurveFactory, not string.
2023-01-13 00:27:48 +00:00
Alois Klink
16540f3005
test(docs): fix test failure due to bad merge
...
Fixes a semantic merge conflict due to the PRs:
- https://github.com/mermaid-js/mermaid/pull/3954
Changed `docs.mts` to use a remark object created by `remark()`
- https://github.com/mermaid-js/mermaid/pull/3946
Added test code that mocked the frozen remark object
(e.g. `remark` not `remark()`).
To fix this issue, we can mock `remark()` so that it always returns
the same remark object, which can then be used the `docs.mts` script,
as well as spied on in the `docs.spec.ts` test file.
Reported-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-01-13 00:17:17 +00:00
Alois Klink
6c862565aa
chore(dev-deps): update vitest to ^0.27.1
...
Updates vitest to `^0.27.1`.
We want to add `importOriginal` feature added in Vitest [v0.26.3][1],
see commit
853eeddba8
[1]: https://github.com/vitest-dev/vitest/releases/tag/v0.26.3
2023-01-12 23:52:16 +00:00
Sidharth Vinod
ee056e1ac3
test: Update width
2023-01-12 19:47:39 +05:30
Sidharth Vinod
0476bdc68f
format
2023-01-12 19:04:06 +05:30
Sidharth Vinod
242a508d50
feat: Flowchart-elk integration
2023-01-12 18:26:08 +05:30
sidharthv96
9ca2e0c5fc
Update docs
2023-01-12 07:21:20 +00:00
Sidharth Vinod
9acd562b9e
Merge pull request #3954 from aloisklink/build/support-GFM-in-markdown-documentation
...
Support GitHub Flavored Markdown in markdown documentation
2023-01-12 12:47:07 +05:30
Sidharth Vinod
3238ee4c2e
Merge pull request #3972 from atmikeguo/develop
...
Fix nonstandard syntax
2023-01-12 12:44:03 +05:30
Ashish Jain
b67c023b0a
Merge pull request #3938 from mermaid-js/layout-v3-continued
...
Layout v3 continued
2023-01-11 20:01:24 +01:00
Knut Sveidqvist
e28a766e7d
Cleanup, updating the module name and description for flowchart in package.json
2023-01-11 19:56:04 +01:00
Knut Sveidqvist
3f7f04e02f
Adjusted as per @ashishjain0512 review comments
2023-01-11 19:40:25 +01:00
Knut Sveidqvist
ce6f62e24e
Merge pull request #3946 from weedySeaDragon/chore/3922_doc-diagram-only
...
(chore) Docs: add tag to produce only a diagram, not code example
2023-01-11 18:04:41 +01:00
Knut Sveidqvist
094b97de12
Merge branch 'develop' into layout-v3-continued
2023-01-11 18:03:09 +01:00
Knut Sveidqvist
0e3dadc53c
Updated as per the suggestions from @weedySeaDragon
2023-01-11 17:58:05 +01:00
Knut Sveidqvist
1fca5131c3
Merge pull request #3947 from nekikara/bug/3865_c4_context_border_color
...
Bug/3865 C4Context: $borderColor has no effect
2023-01-11 17:56:00 +01:00
Sidharth Vinod
fcb41e4579
Merge pull request #3973 from mermaid-js/chore/disable-checking-twitter-links
...
ci: disable checking twitter links
2023-01-11 14:23:21 +05:30
renovate[bot]
a56d0bc36b
fix(deps): update dependency dompurify to v2.4.3
2023-01-09 02:52:02 +00:00
Alois Klink
e6fd3bfb28
ci: disable checking twitter links
...
The [lycheeverse/lychee-action][1] GitHub action keeps timing
out when trying to check any of the links from twitter.com
My guess is maybe Twitter has anti-bot measures active
against GitHub's CI servers.
[1]: https://github.com/lycheeverse/lychee-action
2023-01-07 23:49:25 +00:00
Chidozie Nnachor
568a3329e1
docs: update sequenceDiagram.md to include line break ( #3960 )
...
Included an example for adding a line break to notes. It seems like an issue irking a lot of (new) users
Co-authored-by: Alois Klink <alois@aloisklink.com>
Co-authored-by: Chidozie Nnachor <Chidozie.Nnachor@keylane.com>
2023-01-07 23:39:36 +00:00
atmikeguo
1968d1bb28
Fix nonstandard syntax
2023-01-07 20:05:57 +08:00
Alois Klink
ae7833bdfa
Merge pull request #3964 from guilhermgonzaga/docs/remove-duplicate-erdiagram
...
docs: Remove duplicate example in ER-diagram documentation
2023-01-05 23:56:58 +00:00
Guilherme Gonzaga
412eec06d4
Update docs
2023-01-05 21:50:37 +00:00
Guilherme Gonzaga
10cb3e26d5
docs: Remove duplicate in ER-diagram documentation
2023-01-03 14:49:20 -04:00
Alois Klink
75b19eaa0c
chore(docs): run pnpm run docs:build
with GFM
...
Rebuild docs with `remark-gfm` GitHub-Flavored-Markdown parser.
2023-01-01 21:28:03 +00:00
Alois Klink
ef51111b86
build(docs): support GFM in markdown docs
...
Support using GFM in markdown documentation.
GitHub has some custom features in their Markdown documentation.
For example, they support using tables, footnotes, and task lists.
Vitepress supports tables too.
However, remark sometimes throws an error when parsing tables,
so we should use `remark-gfm` to handle them.
2023-01-01 21:28:03 +00:00
Ashley Engelund (weedySeaDragon @ github)
36c0a30c50
Merge remote-tracking branch 'MERMAID/develop' into chore/3922_doc-diagram-only
2022-12-28 12:10:20 -08:00
nekikara
f233ce1fed
add double quote
2022-12-27 20:43:33 +01:00
nekikara
d13c1bce47
fix the way to set stroke and stroke-width properties
2022-12-27 19:49:18 +01:00
Sidharth Vinod
967d3bbb60
Disable link checker on develop PRs
...
Runs link checker every day to keep cache warm.
2022-12-27 10:35:07 +05:30
Sidharth Vinod
06c357916e
Merge pull request #3943 from nekikara/bug/3876_fix_typo_in_c4_svg-draw
...
fix typos accessing techn property in drawC4Shape function
2022-12-27 10:33:09 +05:30
Sidharth Vinod
406d663bff
Merge pull request #3945 from huynhicode/website/homepage-updates
...
Website/homepage updates
2022-12-27 10:31:53 +05:30
Ashley Engelund (weedySeaDragon @ github)
78443861a6
test/spec for some of docs.mts
2022-12-26 13:13:47 -08:00
Ashley Engelund (weedySeaDragon @ github)
34aef1a6f5
refactor: transformBlocks(); + MERMAID_DIAGRAM_ONLY behavior; comments, constants
2022-12-26 13:13:02 -08:00
steph
7d0cec0a49
add margin to left and right side of team cards
2022-12-26 12:48:36 -08:00
steph
d8c3f8fc16
updates to the homepage
2022-12-26 12:04:58 -08:00
nekikara
d8aa44f0c5
fix typos accessing techn property in drawC4Shape function
2022-12-24 20:25:59 +01:00
Sidharth Vinod
2c88c6b526
Merge pull request #3921 from tomperr/fix/3795_class_tilde_visibility
...
fix(generic): fix generic type detection
2022-12-24 00:33:39 +05:30
Sidharth Vinod
8ed1ad5a8e
Merge pull request #3907 from huynhicode/docs/formatting
...
docs: fix text overflow
2022-12-24 00:30:31 +05:30
Sidharth Vinod
c23cd49322
Merge pull request #3859 from aloisklink/fix/3706_support-indented-yaml-only-in-html
...
Support parsing indented mermaid/YAML only from HTML
2022-12-24 00:27:44 +05:30
Alois Klink
a58b41a38e
Merge branch 'develop' into fix/3706_support-indented-yaml-only-in-html
2022-12-22 19:24:33 +00:00