Commit Graph

1716 Commits

Author SHA1 Message Date
pbrolin47 22b18a4320
Merge pull request #4113 from mermaid-js/3192_invisible_edges
Adding the ability to use invisible edges
2023-02-20 14:40:43 +01:00
Sidharth Vinod 68cdc759a7
Minor cleanup
Co-authored-by: Per Brolin <per@mermaidchart.com>
2023-02-20 17:53:07 +05:30
knsv eb04d80df0 Update docs 2023-02-20 10:23:13 +00:00
sidharthv96 e51817b735 Update docs 2023-02-19 16:46:20 +00:00
sidharthv96 92cd5ed133 Update docs 2023-02-19 15:06:09 +00:00
sidharthv96 83f3ceb7f5 Update docs 2023-02-19 10:43:49 +00:00
Sidharth Vinod 4ea7294eeb
fix(#3406, #3394): Remove init & initThrowsErrors
New run function added as replacement.
2023-02-19 16:10:08 +05:30
Sidharth Vinod 8c64a90721
Fix docs 2023-02-19 14:21:15 +05:30
Sidharth Vinod 735aceb37a
Fix E2E Tests 2023-02-19 14:03:11 +05:30
Sidharth Vinod eaa84d2d91
feat: Break render and parse types
Both render and parse are async now.
Return type of render contains svg and bindFunctions.
Parse will not throw error if parseOptions.silent is passed.
2023-02-19 13:08:13 +05:30
Oliver THEBAULT ae36586b58
docs(flowchart): duplicated hexagon node example 2023-02-18 22:29:35 +01:00
Sidharth Vinod d22e8d92c6
chore: Remove all non async render/parse/init 2023-02-19 01:10:15 +05:30
Sidharth Vinod 45adc5fb6b
Remove CJS builds from docs 2023-02-19 00:58:36 +05:30
Sidharth Vinod c1aad5975c
Merge branch 'release/9.4.2' into release/10.0.0
* release/9.4.2:
  RC version
  Revert #4034
  Revert #4034
  fix: Vite, D3, Vitest Types
  fix(api): tree shaking package.json import
2023-02-19 00:55:23 +05:30
Sidharth Vinod 2c062d648a
Merge branch 'develop' into release/9.4.2
* develop:
  Add highlight tag info in contributing.md
  chore(deps): update dependency cypress to v12
  docs: fix links
  Fix types
  chore(deps): update dependency vite to v4
2023-02-19 00:04:44 +05:30
Sidharth Vinod 3c4a6a19bb
fix: Vite, D3, Vitest Types 2023-02-18 22:35:14 +05:30
Sidharth Vinod bb8bd111f8
Merge branch 'develop' into sidv/classDiagramLabels
* develop: (39 commits)
  Add highlight tag info in contributing.md
  chore(deps): update dependency cypress to v12
  docs: fix links
  Skip precommit hooks on CI
  Fix release-publish
  Fix timeline and mindmap
  Updating integration instructions for timeline and mindmap
  Remove node heap
  Revert "chore: Set node heap size"
  Revert "Remove text hint"
  Split cytoscape
  Linear build
  Remove text hint
  Fix elk import
  Dynamic elk import
  Remove heap option
  elk web-worker
  Test publish docs
  chore: Add file extension for dynamic import
  chore: Defer elk loading
  ...
2023-02-16 18:06:41 +05:30
Sidharth Vinod 4ed6ec1a4d
Add highlight tag info in contributing.md 2023-02-16 18:00:41 +05:30
Sidharth Vinod b22978dfb2
Fix timeline and mindmap 2023-02-16 16:52:15 +05:30
Knut Sveidqvist 71e4f1152b Updating integration instructions for timeline and mindmap 2023-02-16 12:05:38 +01:00
Sidharth Vinod 8c7043ffaf
Revert "Remove text hint"
This reverts commit ec6ef35d21.
2023-02-16 15:27:43 +05:30
Sidharth Vinod ec6ef35d21
Remove text hint 2023-02-16 15:07:55 +05:30
Sidharth Vinod b89b90dbb9
Fix links to integrations.md 2023-02-16 12:35:43 +05:30
Per Brolin 98bec36f81 Merge branch 'release/9.4.0' 2023-02-15 16:20:22 +01:00
Sidharth Vinod bcfefefbd4
docs: Update classdiagram docs 2023-02-14 00:56:40 +05:30
Sidharth Vinod 9d75665460
Fix links to integrations.md 2023-02-13 10:55:24 +05:30
Sidharth Vinod d562a81019
Merge branch 'develop' into timeline
* develop: (45 commits)
  Showcase section to the docs - keepings docs up to date (#4055)
  bugfix: add missing d3 curves to flowchart and docs
  fix(deps): update dependency dagre-d3-es to v7.0.8
  build(pre-commit): cache eslint in pre-commit
  build(lint): cache eslint with strategy content
  Update cypress/integration/rendering/sequencediagram.spec.js
  feat(er): allow leading underscore for attributes name
  ci(lint): show nice error on lint failure
  chore: add moment to dependencies
  Update docs
  Update mindmap.md
  chore: remove moment-mini
  docs(readme-ch): fix twitter link
  build(lint): cache prettier on `pnpm run lint`
  fix: moment-mini default exporter
  docs(readme): update broken twitter badge
  test(er): improve tests on multiple key constraints
  Fixes Typo, remove console.log
  doc(er): add documentation on multiple key constraints
  feat(er): allow multiple constraints on attributes
  ...
2023-02-08 15:57:09 +05:30
Omer Rosenbaum 73ee9e9a92
Showcase section to the docs - keepings docs up to date (#4055)
* Add a Showcase section to the docs with Swimm

* Build docs

* Move FAQ to Config

* Create showcases page

* Build docs

* Prettier

* feat: Redirect old docs URLs

---------

Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-02-07 23:15:48 +05:30
Sidharth Vinod 923ddc8309
Merge pull request #4038 from natasha-jarus/bug/missing-flowchart-curves
bugfix: add missing d3 curves to flowchart and docs
2023-02-07 14:00:53 +05:30
Sidharth Vinod 64096b22dc
Merge pull request #3965 from oleveau/feature/AddBoxForSeqDiagrams
Add Box support in Sequence Diagrams
2023-02-07 13:58:32 +05:30
Natasha Jarus 84d563584f bugfix: add missing d3 curves to flowchart and docs 2023-02-06 13:28:40 -08:00
sidharthv96 b9bed14cda Update docs 2023-01-28 19:46:10 +00:00
ashishjain0512 003997372e Update docs 2023-01-26 11:48:25 +00:00
ashishj 61f33567ae Making timeline diagram lazy-loaded internal, removing separate package 2023-01-26 10:29:35 +01:00
Olivier Leveau 9fb6f1998f Merge branch 'develop' into feature/AddBoxForSeqDiagrams 2023-01-26 09:14:18 +01:00
Sidharth Vinod c51f6df82c
Merge pull request #4030 from tomperr/feature/4009_er_multiple_constraints
feat(er): add multiple key constraints
2023-01-26 00:16:58 +05:30
Tom PERRILLAT-COLLOMB dc0a46f742 test(er): improve tests on multiple key constraints 2023-01-25 19:40:40 +01:00
ashishjain0512 5e6aac4377 Update docs 2023-01-25 17:06:30 +00:00
Olivier Leveau f7756ccc00 Fixes Typo, remove console.log 2023-01-25 17:02:10 +01:00
Tom PERRILLAT-COLLOMB 3066a4b43a doc(er): add documentation on multiple key constraints 2023-01-25 15:13:58 +01:00
sidharthv96 e4491136c3 Update docs 2023-01-24 07:02:14 +00:00
ashishj ca22e85e55 Merge branch 'release/9.4.0' into timeline 2023-01-19 19:20:29 +01:00
Olivier Leveau 250f1f9687 Merge branch 'develop' into feature/AddBoxForSeqDiagrams 2023-01-18 11:35:39 +01:00
sidharthv96 01a535b8e0 Update docs 2023-01-16 09:52:48 +00:00
sidharthv96 874f4c0641 Update docs 2023-01-13 14:17:17 +00:00
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
ashishj 68609fd8d0 Merge develop in timeline branch 2023-01-11 18:13:26 +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
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
Olivier Leveau 64a935515c Better color detection + fix win32 path handling 2023-01-06 12:47:09 +01:00
Guilherme Gonzaga 412eec06d4 Update docs 2023-01-05 21:50:37 +00: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
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
Tom PERRILLAT-COLLOMB c0391c8a15 docs(flowchart): add docs on multiple classDef/linkStyle definition 2022-12-22 13:47:53 +01:00
Tom PERRILLAT-COLLOMB df42f96b5a docs(classDiagram): add nested generic type example in docs 2022-12-22 11:17:44 +01:00
Knut Sveidqvist c535b10534 Adding info in the docs for enabling elk flowcharts. 2022-12-22 11:00:30 +01:00
Omer Rosenbaum d75f70f808 Rebuild the docs -> update integrations with swimm 2022-12-22 11:41:54 +02:00
Knut Sveidqvist 913ba34386 #815 Adding possibility to configure elk as renderer for flowcharts 2022-12-22 10:33:41 +01:00
steph dbfb29de27 Merge branch 'develop' into docs/formatting 2022-12-21 14:43:56 -08:00
steph 22b66193dc update outdate format info formatting 2022-12-21 11:24:48 -08:00
Sidharth Vinod cdba2b4ac8
Update CDN links 2022-12-20 10:56:39 +05:30
sidharthv96 72d9e87284 Update docs 2022-12-20 05:14:37 +00:00
steph fca58f5942 remove text and add social icons 2022-12-19 17:45:25 -08:00
Sidharth Vinod 95e4443ff2
Merge branch 'master' into develop
* master:
  Revert "Add CNAME"
  fix Redirect
  fix: Remove basepath from docs
2022-12-19 14:26:54 +05:30
Sidharth Vinod 81aee3554e
Revert "Add CNAME"
This reverts commit 7670ada9ac.
2022-12-19 14:26:20 +05:30
Sidharth Vinod 14ea1430d8
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into develop
* 'develop' of https://github.com/mermaid-js/mermaid:
  chore(deps): update pnpm to v7.18.2
  docs: fix typo
  fix dev server watch mode
2022-12-19 13:13:42 +05:30
Alois Klink 61fdca58a1
Merge pull request #3925 from Foo-x/docs/fix-typo
docs: fix typo
2022-12-18 15:58:01 +00:00
Foo-x a6ea439ef3 docs: fix typo 2022-12-18 23:44:14 +09:00
Sidharth Vinod 612f9327e9
Merge branch 'master' into develop
* master:
  Add CNAME
2022-12-17 00:34:07 +05:30
Sidharth Vinod 7670ada9ac
Add CNAME 2022-12-16 21:59:44 +05:30
Knut Sveidqvist 3e64b439ce
Merge pull request #3917 from tomperr/feature/3910_er_unique_key
feat(er): add unique key
2022-12-16 13:03:30 +01:00
Knut Sveidqvist 1bf636d697
Merge pull request #3892 from mahomedalid/feature/3771_string_length
Adding support for parenthesis in the er diagram attribute types.
2022-12-16 12:58:30 +01:00
steph 528facf88d minor syntax update 2022-12-15 13:11:07 -08:00
Sidharth Vinod 7b13b489c2
Merge branch 'master' into develop
* master: (23 commits)
  Update vitepress
  fix: Add icon css
  fix Top level await
  v9.3.0
  bump dagre-es 7.0.6
  Bump mermaid version
  Update dagre-es
  Bump mermaid version
  fix: Incorrect removal of existing elements
  fix: add .js to external imports.
  fix: add .js to external imports.
  Bump mermaid version
  fix: add .js to external imports.
  Bump mermaid version
  fix: Throw correct errors when parsing diagrams with errors
  Update url snapshot test for external diagrams
  Update url snapshot test for external diagrams
  Updated package number
  Updated package number
  Updated package number to 9.3.0-rc1
  ...
2022-12-16 00:51:16 +05:30
Sidharth Vinod d6ddf9568e
Fix theming doc 2022-12-16 00:49:35 +05:30
Tom PERRILLAT-COLLOMB c7f085a138 doc(er): add documentation on UK constraint 2022-12-15 19:03:00 +00:00
BD103 e2b05d3cf6 Update docs 2022-12-15 18:24:23 +00:00
BD103 1495baac2c
Merge branch 'develop' into patch-1 2022-12-15 13:20:45 -05:00
BD103 992d1623a7 chore: update docs folder 2022-12-15 09:46:00 -05:00
Sidharth Vinod 3fb0b2792e
fix: Add icon css 2022-12-15 15:33:51 +05:30
Sidharth Vinod 9f9c95b0b3
fix: Incorrect removal of existing elements 2022-12-13 13:42:07 +05:30
Jesper Hasselquist dfa1d26952 fix(docs): build the docs 2022-12-12 22:32:50 +09:00
steph e4622ba06e fix text overflow 2022-12-11 20:53:14 -08:00
Ashley Engelund e4c9aa198e
Update docs/misc/integrations.md
Co-authored-by: Alois Klink <alois@aloisklink.com>
2022-12-10 13:47:01 -08:00
Ashley Engelund (weedySeaDragon @ github) de795a915e remove links from atom.io; add note Atom has been archived 2022-12-09 04:56:55 -08:00
Ashley Engelund (weedySeaDragon @ github) 1c9a559362 common function for a11y; add to renderAsync; + renderAsync spec 2022-12-07 10:19:30 -08:00
Ashley Engelund (weedySeaDragon @ github) b1dd0008bc Merge remote-tracking branch 'MERMAID/develop' into feat/3626-aria-descBy-roledescription-mocks 2022-12-07 09:31:20 -08:00
Knut Sveidqvist 033201ff1f
Merge pull request #3889 from huynhicode/docs/theming
docs: refactor Theming doc
2022-12-07 08:55:00 +01:00
sidharthv96 b2489523f2 Update docs 2022-12-07 06:13:07 +00:00
Maho Pacheco 4dadf8a72d Adding support for parentheses 2022-12-06 10:38:21 -08:00
steph f0aea0e6af fix cspell 2022-12-04 22:04:20 -08:00
steph d451a0c508 refactor theming doc 2022-12-04 21:20:09 -08:00
Ashley Engelund (weedySeaDragon @ github) 96996d0fba Merge remote-tracking branch 'MERMAID/develop' into feat/3626-aria-descBy-roledescription-mocks 2022-12-03 12:13:12 -08:00
Ashley Engelund (weedySeaDragon @ github) f036d58ec3 Merge remote-tracking branch 'MERMAID/develop' into feat/3626-aria-descBy-roledescription-mocks
# Conflicts:
#	cypress/integration/rendering/gantt.spec.js
#	cypress/integration/rendering/requirement.spec.js
#	docs/config/setup/modules/mermaidAPI.md
#	packages/mermaid/src/accessibility.js
2022-12-01 10:08:44 -08:00
Sidharth Vinod 1e30e33ad3
chore: Fix mindmap link 2022-12-01 13:51:50 +05:30
Sidharth Vinod 41033008ec
Merge branch 'master' into develop
* master:
  doc: Add mindmap integration docs
  fix: Fetch depth
  fix: Fetch depth
  fix: Fetch depth
  fix: Add commit count to release preview
  fix: Add commit count to release preview
  chore: Add working directory
  fix: release-preview-publish.yml
  Fix #3799: Remove `type` from package.json
2022-12-01 11:39:28 +05:30
Sidharth Vinod cd0eae2807
chore: Switch back from unpkg to jsdelivr 2022-12-01 11:23:50 +05:30
Sidharth Vinod 8cb6fbfab0
Merge branch 'master' into sidv/jsdelivr
* master:
  doc: Add mindmap integration docs
  fix: Fetch depth
  fix: Fetch depth
  fix: Fetch depth
  fix: Add commit count to release preview
  fix: Add commit count to release preview
  chore: Add working directory
  fix: release-preview-publish.yml
  Fix #3799: Remove `type` from package.json
2022-12-01 11:20:16 +05:30
Knut Sveidqvist 650ee31cd1
Merge pull request #3845 from mermaid-js/sidv/eslintCleanup
Housekeeping with eslint-unicorn
2022-11-30 11:53:16 +01:00
Sidharth Vinod e8703a59ec
feat: Add @include support to docs 2022-11-29 00:34:29 +05:30
Ashley Engelund (weedySeaDragon @ github) a497909446 fix pnpm dev command example 2022-11-28 08:54:14 -08:00
Ashley Engelund (weedySeaDragon @ github) 6807f19ec2 fix links 2022-11-28 07:38:19 -08:00
Ashley Engelund (weedySeaDragon @ github) 3c49fb2c84 (minor) force link check again (too many network calls before) 2022-11-27 11:39:25 -08:00
Ashley Engelund (weedySeaDragon @ github) b15eacf6f2 remove references to old sidebar.md file 2022-11-27 11:11:13 -08:00
Ashley Engelund (weedySeaDragon @ github) 2030885fd3 update /docs 2022-11-27 10:46:43 -08:00
Ashley Engelund (weedySeaDragon @ github) 626a4741c0 Merge remote-tracking branch 'MERMAID/develop' into feat/3626-aria-descBy-roledescription-mocks 2022-11-25 11:30:44 -08:00
Ashley Engelund (weedySeaDragon @ github) 3eb2bb9c0b Merge develop into HEAD; install; lint:fix 2022-11-25 10:40:04 -08:00
Sidharth Vinod 4a4eff55c1
chore: Fix lint 2022-11-25 12:00:31 +05:30
Sidharth Vinod 7f4368415d
chore: Add eslint-unicorn & fix 2022-11-23 01:05:08 +05:30
Sidharth Vinod f2ed255137
Merge pull request #3821 from dfinke/develop
Integrations added - Visual Studio Code [Polyglot Interactive Notebooks]
2022-11-22 23:22:19 +05:30
Sidharth Vinod 49348a82e0
chore: docs:build 2022-11-22 23:21:27 +05:30
Sidharth Vinod 1ca49c696a
Merge branch 'develop' into feat/1952-state--classDef-documentation
* develop:
  chore: docs:build
  Fix typos
2022-11-22 23:17:33 +05:30
Sidharth Vinod 8e8259934e
Merge pull request #3820 from endolith/typos
Fix typos
2022-11-22 23:17:11 +05:30
Sidharth Vinod 66bb19f91a
chore: docs:build 2022-11-22 23:17:00 +05:30
Ashley Engelund (weedySeaDragon @ github) c3e054c155 tiny fix and change: "The/y cannot" -> "Cannot..." 2022-11-22 08:58:55 -08:00
Ashley Engelund (weedySeaDragon @ github) 8066aaeeb0 refine - what is not done yet 2022-11-22 08:55:56 -08:00
pbrolin47 0d27b1aa65
Merge pull request #3834 from mermaid-js/3778_adding_more_mindmap_shapes
#3778 Adding a hexgon shape
2022-11-21 13:50:53 +01:00
Knut Sveidqvist ffb95b4fa9
Merge pull request #3823 from mermaid-js/sidv/viz
Add package visualizations
2022-11-21 13:32:19 +01:00
Sidharth Vinod de99cdfb4c
chore: Add size shield in readme
Co-authored-by: Alois Klink <alois@aloisklink.com>
2022-11-21 08:22:10 +05:30
Ashley Engelund (weedySeaDragon @ github) a9c337302a export D3Element from mermaidAPI; use in accessibility 2022-11-20 12:27:29 -08:00
Mason Malone bdf8b01185 Fix example for Git diagrams 2022-11-19 13:20:12 -08:00
Ashley Engelund (weedySeaDragon @ github) bd5b5cda06 Merge remote-tracking branch 'origin/docs/3682-developer-contributing' into docs/3682-developer-contributing
# Conflicts:
#	packages/mermaid/src/docs/community/development.md
2022-11-19 09:23:24 -08:00
Mason Malone 70f024735b Add title support using YAML frontmatter 2022-11-18 20:42:54 -08:00
Ashley Engelund (weedySeaDragon @ github) bd8f620480 updates based on sidharthv96's review 2022-11-18 15:24:10 -08:00
Ashley Engelund (weedySeaDragon @ github) acebcbffc8 /doc files changed 2022-11-18 09:06:48 -08:00
Ashley Engelund (weedySeaDragon @ github) 449cbdfd02 make TODOs bold, ital so they're obv 2022-11-18 09:03:01 -08:00
Ashley Engelund (weedySeaDragon @ github) 3bdcfd9160 add TODO - PRs should start with... (fix|bug|feat|...) 2022-11-18 08:52:16 -08:00
Ashley Engelund (weedySeaDragon @ github) 950832e56b Minor wording changes to Tech Reqs/Setup 2022-11-18 08:52:16 -08:00
Ashley Engelund (weedySeaDragon @ github) 535a1fc8cf add mermaid diagram 2022-11-18 08:52:16 -08:00
Ashley Engelund (weedySeaDragon @ github) 16d1610d75 clarify section headings; add TODO 2022-11-18 08:52:16 -08:00
Ashley Engelund (weedySeaDragon @ github) 135893f067 copy working draft to vdocs/community/development.md 2022-11-18 08:52:16 -08:00
Ashley Engelund (weedySeaDragon @ github) 95120c3f21 added main TOC headings 2022-11-18 08:52:16 -08:00
Ashley Engelund (weedySeaDragon @ github) 47b695c3c5 reorganize, start adding text 2022-11-18 08:52:16 -08:00
Sidharth Vinod e9f8ba6915
doc: Add mindmap integration docs 2022-11-18 11:28:29 +05:30
Ashley Engelund (weedySeaDragon @ github) 67a015c71d re-re-fixed the contributing doc 2022-11-17 16:58:18 -08:00
Ashley Engelund (weedySeaDragon @ github) 69526402e2 format .md files 2022-11-17 16:51:23 -08:00
Ashley Engelund (weedySeaDragon @ github) 4fb4aa417c doc: revise A11y: fix multi-line ex, +describedby, alpha sort examples 2022-11-17 15:47:22 -08:00
Ashley Engelund (weedySeaDragon @ github) 29efc116f3 put a11y into mermaidAPI render; add render spec (mock diagram renderers etc) 2022-11-17 12:27:17 -08:00
Knut Sveidqvist 3b79ee35e0
Merge pull request #3780 from mermaid-js/sidv/mergeMaster
chore: Merge master to develop
2022-11-15 12:47:32 +01:00
Sidharth Vinod b202b539bf
Merge pull request #3765 from spier/feature/check-links-in-docs
Add GHA that will check links + Fix broken links
2022-11-15 14:17:18 +05:30
Sidharth Vinod 846a03663c
fix(docs): ClassDiagram table 2022-11-14 22:15:34 +05:30
Sidharth Vinod eae88c51d2
Cleanup 2022-11-14 16:42:08 +05:30
Sidharth Vinod c354d9e1e3
Merge remote-tracking branch 'origin/master' into sidv/mergeMaster
* origin/master: (76 commits)
  fix: `use-inline-specifiers-lockfile-format` to pnpm
  Hacky fix for pnpm issue
  chore: Cleanup pakage.json, fix jisonLint
  feat: Switch CDN
  Updated README-files
  Updated URL
  Updated release
  Increased package version to 9.2.2
  Added registerExternalDiagram for Mindmap
  fix: Remove registerDiagram export
  fix versions
  feat: Add config validator MVP
  Apply suggestions from code review
  fix: Import path in viewer.js
  Cleanup package.json
  Restore package and lock from master
  fix pnpm lock
  Fix pnpm-lock
  Fixing applitools batches
  Fix pnpm
  ...
2022-11-14 14:57:08 +05:30
Sidharth Vinod 77a326dedf
Merge Master 2022-11-14 14:51:23 +05:30
Sidharth Vinod 2d9bdedaf5
Merge branch 'develop' into sidv/mergeMaster
* develop:
  chore(deps): update all non-major dependencies
  fix(deps): update all non-major dependencies
  fix: `sourceLinkTemplate` in typedoc
  only call getClasses if the diagram renderer supports it
  fix typo
  merge fix: get classDefs only if diagram is in CLASSDEF_DIAGRAMS
  use lodash isEmpty instead of method defined in utils
  chore: Fix cspell
  fix: Type of DiagramStyleClassDef, general cleanup
  change spec descriptions to active voice (= shorter b/c 'should' isn't needed)
  functions and specs: removeExistingElements
  functions and specs: createUserstyles; minor changes
  functions and specs: createCssStyles, appendDivSvgG,cleanUpSvgCode, putIntoIFrame [for render]
  add MockedD3.ts
  const isSandboxed, isLooseSecurityLevel, fontFamily; a few more CONSTs
  more meaningful var names; move related lines together; const idSelector
  comment the main steps (prepare to break into functions that can be tested)
  render: define const iFrameId, enclosingDivID and _selector to use in function
  specs: encodeEntities, decodeEntities
  render: constants
2022-11-14 13:57:09 +05:30
Sidharth Vinod a83f88bdf1
chore: Merge master to develop 2022-11-10 13:51:53 +05:30
Knut Sveidqvist c781545a40 #3778 Adding a hexgon shape 2022-11-09 20:10:31 +01:00
Sidharth Vinod 791dbe01a2
fix: `sourceLinkTemplate` in typedoc 2022-11-09 23:48:26 +05:30
Alois Klink fcd93794ce chore(docs): sync generated markdown docs
Sync generated markdown docs by running
`pnpm --filter mermaid run docs:build`
2022-11-09 17:12:36 +00:00
Sidharth Vinod 0af36f12b7
feat: Switch CDN 2022-11-09 22:38:21 +05:30
Ashley Engelund (weedySeaDragon @ github) 750029f557 merge MERMAID/develop 2022-11-09 07:45:22 -08:00
Per Brolin 0b9b2cfadc Updated URL 2022-11-09 16:26:53 +01:00
Per Brolin 9bb0ed2040 Added registerExternalDiagram for Mindmap 2022-11-09 15:54:39 +01:00
Sidharth Vinod 6d2552ea6e
fix: Filenames 2022-11-08 19:26:02 +05:30
Sidharth Vinod 7ca525622b
fix #3757 : Remove dynamic imports for lazy load. 2022-11-08 19:12:37 +05:30
Sebastian Spier 6543ece92c Fix display label/path for explaining where the docs are located 2022-11-08 13:53:18 +01:00
Sebastian Spier 62f3c4baa6 Revert "Running 'pnpm --filter mermaid run docs:build' as suggested by the previously failing 'lint' GHA"
This reverts commit 66c543cb8f.
2022-11-07 23:07:04 +01:00
Sebastian Spier 66c543cb8f Running 'pnpm --filter mermaid run docs:build' as suggested by the previously failing 'lint' GHA 2022-11-07 23:00:40 +01:00
Sebastian Spier a19622c807 Revert content of /docs to what is on the develop branch 2022-11-07 22:48:44 +01:00
Sebastian Spier b5d335711f Fixing link to d3 time formatting 2022-11-07 20:23:24 +01:00
Sebastian Spier 5e41b68a3a Remove link to chrome web store app that doesn't exist any more 2022-11-07 17:46:26 +01:00
Sebastian Spier 3b901c4459 More consistent linking: Use the full filename README.md (in config/setup) 2022-11-07 17:00:54 +01:00
Sebastian Spier 4a45112344 Replace links to '_sidebar.md' with '.vitepress/config.ts' 2022-11-07 10:43:46 +01:00
flaura c56854941e docs: Update references to default config in directives page 2022-11-04 12:54:29 -04:00
Sidharth Vinod 41f228c3ff
chore: Sync docs 2022-11-04 11:45:20 +05:30
Ashley Engelund (weedySeaDragon @ github) 794b642ff8 merge develop into branch. update cSpell.json; run pnpm install 2022-11-03 10:44:04 -07:00
Sidharth Vinod 86f835cfc8
Merge branch 'develop' into pr/emersonbottero/3678
* develop:
  chore(docs): Update live editor links
  update user story link
  feat(gantt): Add option 'tickInterval' for custom tick interval
  Convert attr to classed
  Convert attr to style
2022-11-01 21:01:58 +05:30
Knut Sveidqvist 3f6613ea9f Updated mermaid version for the docs 2022-11-01 15:52:35 +01:00
Knut Sveidqvist 4c779beda9
Merge pull request #3729 from DarkNami/feature/1598_add_tick_interval
feat(gantt): Add option 'tickInterval' for custom tick interval
2022-11-01 13:50:38 +01:00
Sidharth Vinod 70ec91d0db
docs: Change yarn to pnpm 2022-11-01 10:34:45 +05:30
Sidharth Vinod a9234785ab
chore: Configure typedoc source links 2022-10-31 22:15:07 +05:30
Sidharth Vinod 3b7463e5ed
Precommit Test 2022-10-31 20:27:43 +05:30
Sidharth Vinod 01ac770037
chore: Review comments 2022-10-31 11:57:50 +05:30
Sidharth Vinod 8f5fe38212
chore: format blockquote 2022-10-29 00:56:01 +05:30
Sidharth Vinod e1d9d0b990
chore: Fix doc links 2022-10-29 00:46:25 +05:30
Sidharth Vinod 38fb926ea8
Merge pull request #3612 from mermaid-js/sidv/linkDocsSource
docs: Add link to docs source
2022-10-29 00:23:12 +05:30
Sidharth Vinod 13e5c5ba72
chore: Fix vitepress build 2022-10-28 23:33:57 +05:30
Sidharth Vinod b7d24c8325
chore: Fix favicon 2022-10-28 14:28:57 +05:30
Sidharth Vinod d7bf92b39f
fix: Use AST to replace notes & warnings. 2022-10-28 14:13:24 +05:30
Sidharth Vinod 6b3892baf1
Merge remote-tracking branch 'origin/develop' into pr/emersonbottero/3678
* origin/develop:
  docs(git): Regenerate
  docs(git): Add a quoted branch name example
  fix(git): Support quoted branch names
  Ensure example code and rendered output are synced
  Fill inheritance arrow with background color
2022-10-28 13:02:52 +05:30
Richard Gibson 033f88e8bb
docs(git): Regenerate 2022-10-27 23:41:07 -04:00
Emerson Bottero ec5568b943 chore: more revision fixes 2022-10-27 19:58:39 -03:00
DarkNami 3166f689f9 feat(gantt): Add option 'tickInterval' for custom tick interval
See issue #1598
2022-10-27 16:47:42 +08:00
Richard Gibson caf95dec86 fix(git): Support quoted branch names
Fixes #3725
2022-10-26 16:58:09 -04:00
Emerson Bottero 289ac52900 fix : CQ 2022-10-26 17:51:54 -03:00
Emerson Bottero 47e1f611d8 fix: lint and spell errors 2022-10-26 16:24:06 -03:00
Emerson Bottero b62873a195 sync last changes 2022-10-25 17:54:07 -03:00
Ashley Engelund (weedySeaDragon @ github) 599d035daf merge MERMAID/develop into branch 2022-10-25 07:42:57 -07:00
Knut Sveidqvist f4bb978a87
Merge pull request #3649 from DKurilo/feat/3247-statements-aliases
add statement aliases for ER diagram
2022-10-25 14:46:29 +02:00
Knut Sveidqvist 27a68819bc
Merge pull request #3647 from DKurilo/feat/1414-notes-to-class-diagram
add the way to add notes to class diagram
2022-10-25 14:45:03 +02:00
Knut Sveidqvist 3603cc883c
Merge pull request #3609 from jasmaa/feature/3593_pie_slice_ordering
Order pie chart slices clockwise by order of entries
2022-10-25 14:24:44 +02:00
renovate[bot] 728d022f52 chore(deps): update all non-major dependencies 2022-10-24 07:36:58 +00:00
IMGSS a1c6d76a15
Update sequenceDiagram.md 2022-10-22 22:43:53 +08:00
Sidharth Vinod 017fc483e7
Merge branch 'develop' of https://github.com/emersonbottero/mermaid into pr/emersonbottero/3678
* 'develop' of https://github.com/emersonbottero/mermaid:
  docs: fix layout problem
  docs: added warning and notes
  docs: added warning and notes
  docs: added warning and notes
  docs: small improvements
2022-10-18 12:29:03 +05:30
Sidharth Vinod f2571e9930
fix: Live editor links 2022-10-18 12:28:48 +05:30
Emerson Bottero 66ea491aff docs: fix layout problem 2022-10-18 00:26:36 -03:00
Emerson Bottero e95eaddf8a docs: added warning and notes 2022-10-18 00:07:14 -03:00
Emerson Bottero d296049d19 docs: added warning and notes 2022-10-18 00:05:27 -03:00
Emerson Bottero c45bf055b6 docs: added warning and notes 2022-10-17 23:58:51 -03:00
Emerson Bottero c8b377bf74 docs: small improvements 2022-10-17 19:32:47 -03:00
Dima Kurilo d41efa413c add more docs 2022-10-17 09:58:04 -04:00
Dima Kurilo 5803d0abaf update docs 2022-10-17 09:46:10 -04:00
Danang Estutomoaji f532843665 update: open graph image 2022-10-15 17:13:36 +07:00
Danang Estutomoaji 9ba1f7c1f6 fix: prettier 2022-10-15 17:04:12 +07:00
Emerson Bottero cbcf7f8a11 docs: new Documentation 2022-10-15 00:50:11 -03:00
Knut Sveidqvist 957e64fe8a Docs with lazy loading using rc bundles 2022-10-14 16:10:57 +02:00
Knut Sveidqvist fc8db95597 Release 9.20 fixes of docsify 2022-10-14 15:05:00 +02:00
renovate[bot] 9ac3992fd2
chore(deps): update all non-major dependencies (minor) (#3632)
* chore(deps): update all non-major dependencies

* chore: add `auto-install-peers` to `.npmrc`

* chore: Update lockfile

* Update docs/index.html

Co-authored-by: Matthieu MOREL <matthieu.morel35@gmail.com>

* Update packages/mermaid/src/docs/index.html

Co-authored-by: Matthieu MOREL <matthieu.morel35@gmail.com>

* Define integrity, crossorigin and referrerpolicy

* Define integrity, crossorigin and referrerpolicy

* chore: format

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
Co-authored-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2022-10-14 13:18:19 +02:00
Knut Sveidqvist bed95c77a9 Some changes in the docs for mindmap 2022-10-14 10:01:32 +02:00
Sidharth Vinod 069951a748
fix: docs 2022-10-14 13:03:27 +05:30
Sidharth Vinod d62c2d1e22
fix: relative paths 2022-10-13 13:51:27 +05:30
Sidharth Vinod 0d5664cc9b
Merge branch 'develop' into sidv/linkDocsSource
* develop: (36 commits)
  chore(deps): update actions/setup-node action to v3
  Remove inconsistent and deprecated semicolons
  chore(deps): update actions/checkout action to v3
  docs: Fix initial install step
  docs: Update twitter link
  chore: renovate lint
  Update renovate.json
  chore: Bump node to v18
  chore: Set node v16
  chore: Add volta
  chore(deps): add renovate.json
  Contrbution steps updated
  refactor: use `posix.join()` instead of replacing `\`
  Link added for local setup
  contribution.md updated
  fix: Fix eslint warnings
  fix: docs path in windows
  docs: Add twitter
  docs: Add version to doc index.html
  Update packages/mermaid/src/docs/n00b-gettingStarted.md
  ...
2022-10-13 13:48:36 +05:30
Iulian Onofrei 353895dceb
Remove inconsistent and deprecated semicolons 2022-10-12 23:01:29 +03:00
Knut Sveidqvist 4d46ea9801 #3192 Adding link type of the std docs 2022-10-12 11:53:02 +02:00
Sidharth Vinod 8ffa7e6334
docs: Update twitter link 2022-10-10 20:47:34 +08:00
Knut Sveidqvist 5060c9f390
Merge pull request #3596 from mermaid-js/sidv/fixImportDoc
docs: Add mermaid version to script URL
2022-10-10 14:11:34 +02:00
jasmaa 98f4c2d3ae
Update pie docs to reflect label order change 2022-10-09 22:20:59 -04:00
Sidharth Vinod 238b15df9d
Merge branch 'sidv/noVar' into pr/aryandeelwal/3579
* sidv/noVar: (77 commits)
  fix: Fix eslint warnings
  docs: Fix docs path in Contributing.md
  Fix file name during "dev" script
  docs: Sync
  capitalization fix
  format Setup.md
  format cSpell.json
  format docs YAML
  format cSpell.json
  separate words & ignoreWords
  fix: "skin param"
  ignore the changelog
  Revert "fix: "skin param""
  fix: "skin param"
  fix: "corresponding"
  known terms
  known terms
  fix: "JetBrains"
  known terms
  known terms
  ...
2022-10-09 22:13:36 +08:00
Sidharth Vinod 6e2deb1fa7
fix: Fix eslint warnings 2022-10-09 22:08:32 +08:00
Sidharth Vinod c55add73f6
docs: Add link to docs source 2022-10-09 21:00:02 +08:00
Sidharth Vinod 508fbccdb4
docs: Add twitter 2022-10-08 19:20:06 +08:00
Sidharth Vinod bc258793ac
docs: Add version to doc index.html 2022-10-08 19:15:01 +08:00
Sidharth Vinod a23a7edd26
docs: Sync 2022-10-08 12:17:26 +08:00
Sidharth Vinod 0261e7464a
docs: ESM import 2022-10-08 09:40:54 +08:00
Sidharth Vinod 8a2aea219e
docs: ESM import 2022-10-08 09:27:19 +08:00
Sidharth Vinod 1f8fb56409
docs: Add badges 2022-10-07 16:01:33 +08:00
Sidharth Vinod 5865c890b5
docs: Add mermaid version to script URL 2022-10-07 15:52:32 +08:00
Sidharth Vinod 816b6276a6
docs: Rebuild 2022-10-06 12:56:51 +08:00
aryandeelwal 43f3784c83 docs:Improved keywords in index.html 2022-10-05 17:10:24 +05:30
Knut Sveidqvist 9468bffcbb Merge branch 'develop' of github.com:emersonbottero/mermaid into emersonbottero-develop 2022-10-04 08:23:36 +02:00
Alois Klink feb1d34c1a style(docs): fix prettier issues (extra newline)
Fix prettier issues by running `pnpm run lint:fix`
2022-10-03 02:06:49 +01:00
Knut Sveidqvist 0dc0de8f1d
Merge pull request #3534 from aloisklink/build/fix-docsbuild-script
Fix `docs:build` and `docs:verify` scripts
2022-09-30 09:06:13 +02:00
Alois Klink 70f94c3e44 chore(docs): run `pnpm run docs:build`
Updates the auto-generated warning to tell people
to edit packages/mermaid/src/docs instead of src/docs.
2022-09-29 20:02:16 +01:00
Alois Klink 794b714fac docs: replace `yarn` with `pnpm` in dev guide
With the new mono-repo move (PR #3531), development must
be done with `pnpm`.

Using `memaid` can still be done with `yarn`/`npm` however.
2022-09-29 19:59:02 +01:00
Emerson Bottero 6191bb5f1b
Merge branch 'develop' into develop 2022-09-28 22:47:48 -03:00
Knut Sveidqvist 66809ed972
Merge pull request #3513 from IanLee1521/patch-1
Mention obsidian has native support for mermaid
2022-09-28 13:12:54 +02:00
Knut Sveidqvist fe8df78322 Clarification in the docs regarding directions in the subgraps for flowcharts. 2022-09-28 12:32:58 +02:00
Emerson Bottero eeafa8f5aa docs: added the fixed search again 2022-09-24 23:24:48 -03:00
Ian Lee e8cef4aa81
Make corresponding change to docs/
Previously failed the linting CI job.
2022-09-22 23:58:17 -07:00
Sidharth Vinod c93c7c75c9
Fix docs 2022-09-21 17:10:29 +05:30
Knut Sveidqvist 24ef5f9fe4 Auto stash before merge of "develop" and "origin/develop" 2022-09-21 10:08:52 +02:00
Knut Sveidqvist 01ca1cc8c7
Merge pull request #3493 from sidharthv96/sidv/testDocLint
Fix CI `docs:lint`
2022-09-21 08:15:13 +02:00
Knut Sveidqvist f29974628b
Merge pull request #3476 from emersonbottero/patch-1
Add vitepress plugin
2022-09-21 08:10:27 +02:00
Sidharth Vinod 247061919b
fix(docs): update link 2022-09-21 11:17:03 +05:30
Sidharth Vinod b9cb7e9898
fix(docs): `mmd` detection 2022-09-20 23:01:05 +05:30
Sidharth Vinod 8f009ed815
Hope this fails 2022-09-20 22:50:39 +05:30
Sidharth Vinod c343e4a1e3
Add verification log 2022-09-20 22:31:53 +05:30