Knut Sveidqvist
030cbb1acb
Update after lint comments
2022-09-05 20:40:12 +02:00
Knut Sveidqvist
1ccd3183c4
Merge branch 'develop' into minmaps
2022-09-05 20:14:23 +02:00
Mark Crossfield
818195f2e4
Update duplicate copy pasted directive description
...
Looked like the description for changing the theme via a directive had been copied to a couple of other use cases.
2022-09-05 17:24:34 +01:00
Sidharth Vinod
5ae1bd92cd
Build docs
2022-09-05 19:48:38 +05:30
Sidharth Vinod
5e9db250bc
Merge branch 'develop' into sidv/docs
...
* develop:
chore: update browsers list
Fix pre
Prettier pass
Fix XSS htmls
fix #3407 Replace `div` with `pre` and format
2022-09-05 19:30:39 +05:30
Knut Sveidqvist
47490e9820
Lint fixes
2022-09-05 15:57:12 +02:00
Knut Sveidqvist
df7b5965c2
Merge branch 'develop' into minmaps
2022-09-05 15:35:24 +02:00
Knut Sveidqvist
8ad5f728c0
Removing requirement to add ids for nodes with a shape
2022-09-05 14:53:01 +02:00
Knut Sveidqvist
8b4a08eef4
#3336 Merged typescript changes
2022-09-05 14:04:39 +02:00
Knut Sveidqvist
01106caa59
Merged typescript changes
2022-09-05 11:22:17 +02:00
Knut Sveidqvist
047b7023a2
Updated with cloud and bang shapes
2022-09-05 09:54:00 +02:00
Sidharth Vinod
a95f46f513
Fix mermaid code formatting in html
2022-09-05 01:25:28 +05:30
Sidharth Vinod
98e9f5751a
Prettier pass
2022-09-05 01:00:47 +05:30
Sidharth Vinod
537ce4f630
Add change in src/docs
2022-09-04 13:31:58 +05:30
Sidharth Vinod
22999e27f0
Merge branch 'develop' into sidv/docs
...
* develop:
build: run `build:prod` on `yarn prepare`
Build documentation
Fix typo
Fix typo in documentation
added mermerd to integrations documentation
2022-09-04 13:12:44 +05:30
Daniel Bartholomae
b79eaae002
Fix typo
2022-09-03 20:36:14 +02:00
Daniel Bartholomae
3b571fc9b3
Fix typo in documentation
2022-09-03 20:33:50 +02:00
Sidharth Vinod
e718c5bf6c
Fix doc
2022-09-03 15:00:12 +05:30
Sidharth Vinod
636017fdd7
Add files only when running from lint-staged
2022-09-03 15:00:02 +05:30
Sidharth Vinod
85dc16df0a
Add files only when running from lint-staged
2022-09-03 14:51:28 +05:30
Sidharth Vinod
0caf372685
Fix configuration doc
2022-09-03 14:43:35 +05:30
Sidharth Vinod
c49c15ab7c
Add dotfiles
2022-09-03 13:35:23 +05:30
Sidharth Vinod
b84511b314
Prettier
2022-09-03 13:31:13 +05:30
Sidharth Vinod
f6d69b33b3
Prettier
2022-09-03 13:30:16 +05:30
Sidharth Vinod
787cf9395e
Prettier options
2022-09-03 13:15:55 +05:30
Sidharth Vinod
6167eda6b6
Prettier
2022-09-03 13:05:47 +05:30
Sidharth Vinod
c702e12a42
Fix edit page url
2022-09-03 12:25:18 +05:30
Sidharth Vinod
42a2cabc7b
Remove "Edit this page"
2022-09-03 12:21:42 +05:30
Sidharth Vinod
074f30ed1f
Fix double rendering in docsify
2022-09-03 11:14:13 +05:30
Sidharth Vinod
3833dcd0d8
Add verification for doc change
2022-09-03 10:06:21 +05:30
Sidharth Vinod
829e1c2390
Fix typo
2022-09-03 09:56:47 +05:30
Sidharth Vinod
c3da6c10fb
Add generated file to git
2022-09-03 09:55:52 +05:30
Sidharth Vinod
017fdfa552
Fail commit if docs changed
2022-09-03 09:53:46 +05:30
Sidharth Vinod
cc38667df3
Add generated file to git
2022-09-03 09:53:42 +05:30
Sidharth Vinod
b6d0d7fe15
Fail commit if docs changed
2022-09-03 09:52:29 +05:30
Sidharth Vinod
f45c0e3617
Fail commit if docs changed
2022-09-03 09:45:59 +05:30
Sidharth Vinod
9d5c50a36f
Update doc test
2022-09-03 09:16:54 +05:30
Sidharth Vinod
d01de850eb
Update doc test
2022-09-03 09:11:46 +05:30
Sidharth Vinod
3b88150e11
Move docs to src
2022-09-03 09:06:42 +05:30
Sidharth Vinod
cfae2b6a40
Doc transformer
2022-09-03 02:13:21 +05:30
Knut Sveidqvist
ccb16e5f5a
Adding cloud and bang shapes
2022-09-02 11:08:26 +02:00
Alois Klink
b3c0c57c6d
fix: fix passing a single Node to mermaid.init()
...
Passing a single Node to mermaid.init() results in an error, as it
calls `new NodeList()`, which causes `TypeError: Illegal constructor`.
See 5597cf45bf/src/mermaid.ts (L73)
If we instead use the `ArrayLike` interface, we can just use a simple
array, instead of a NodeList.
I've also added a basic test case, by mocking the `mermaidAPI.render()`
function so it isn't called, as the d3 functions don't work in Node.JS.
The mocks are a bit messy, since
a) Jest doesn't fully support ESM yet, and
b) mermaidAPI is frozen with `Object.freeze()`,
but the mermaidAPI mocks work as long as we keep them simple.
Fixes: c68ec54fdd
2022-09-02 04:39:58 +01:00
Sidharth Vinod
1ced01c7f6
Typo fix
2022-09-01 20:21:13 +05:30
Sidharth Vinod
e46d9c1173
Merge branch 'develop' into sidv/typescript
...
* develop:
chore(deps-dev): bump @commitlint/cli from 17.1.1 to 17.1.2
chore(deps-dev): bump terser-webpack-plugin from 5.3.5 to 5.3.6
chore(deps-dev): bump webpack-dev-server from 4.10.0 to 4.10.1
Fix gitGraph findLane function error
Replacing replaceAll with replace
Rework 'parseDuration' as a pure duration parsing
Supports duration in decimal
Create a more consistent 'parseDuration'
Fix svgDraw return types
Add more tests
Fix nested types
Fix nested types
Add nested test
Updating to version to 9.1.6
2022-09-01 20:06:42 +05:30
Knut Sveidqvist
ac76fb73a8
Merge pull request #3360 from vallsv/feature-ms-duration
...
Feature decimal duration in second for gantt diagram
2022-09-01 16:23:42 +02:00
Knut Sveidqvist
694692fb5d
Merge pull request #3354 from mermaid-js/sidv/tsAnnotation
...
Add nested test for parseGenericTypes
2022-09-01 16:21:46 +02:00
Knut Sveidqvist
3502fb46f8
Merge pull request #3383 from hughli-git/fix_git_stack_exceeded
...
Fix gitGraph findLane function error
2022-09-01 16:00:43 +02:00
Knut Sveidqvist
bacdd49176
Merge pull request #3380 from mermaid-js/3056_Chrome_Compatibility
...
3056 chrome compatibility
2022-09-01 15:59:46 +02:00
Knut Sveidqvist
065a3176b8
Merge pull request #3379 from mermaid-js/3238_Gitgraph_merge_commits
...
3238 gitgraph merge commits
2022-09-01 15:57:43 +02:00
Sidharth Vinod
4fa0d366db
Revert flowchart change
2022-09-01 19:17:31 +05:30