Sebastian Spier
62f3c4baa6
Revert "Running 'pnpm --filter mermaid run docs:build' as suggested by the previously failing 'lint' GHA"
...
This reverts commit 66c543cb8fd8bb52451ff96231976bf2949f7f22.
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
013ff182c9
Run Prettier
2022-11-07 20:35:00 +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
f8234369c7
Don't check files that are generated during the build via 'pnpm docs:code'
2022-11-07 16:59:11 +01:00
Sidharth Vinod
0d8f09cec5
Merge pull request #3755 from mermaid-js/sidv/docsDev
...
Live edits for Docs
2022-11-07 21:22:25 +05:30
Sebastian Spier
23fe5ebddb
[docs] To run the docs locally I needed to cd into packages/mermaid. 'docs:dev' is defined in packages/mermaid/package.json
2022-11-07 11:05:02 +01:00
Sebastian Spier
4a45112344
Replace links to '_sidebar.md' with '.vitepress/config.ts'
2022-11-07 10:43:46 +01:00
Sidharth Vinod
75d276e19e
Merge branch 'release_9.2.1_bugfixes' into sidv/webpackTest
...
* release_9.2.1_bugfixes:
fix(mermaid): default mermaid back to CommonJS
fix(mermaid): fix mermaid.render types
2022-11-07 14:32:35 +05:30
Sidharth Vinod
2243af1871
Merge pull request #3767 from aloisklink/fix/convert-package-back-to-commonjs
...
[9.2] fix(mermaid): default mermaid back to CommonJS
2022-11-07 14:31:45 +05:30
Sidharth Vinod
91bbab9e2d
Lint
2022-11-07 14:30:20 +05:30
Sidharth Vinod
c6287b640d
Merge remote-tracking branch 'origin/develop' into sidv/docsDev
...
* origin/develop:
chore(deps): update all non-major dependencies
chore(deps): update all non-major dependencies
docs: Fix relative links to documentation files
docs: Update references to default config in directives page
Fixing applitools batches
chore: Sync docs
Fix link to CSS classes
2022-11-07 14:11:06 +05:30
Knut Sveidqvist
c5fe23c26f
Merge pull request #3753 from mermaid-js/sidv/cspell
...
Fix CSpell
2022-11-07 09:40:23 +01:00
Sidharth Vinod
1304e8b00b
chore: Move from bin to scripts.
2022-11-07 14:06:35 +05:30
Sidharth Vinod
41dbf0fa96
Merge pull request #3768 from aloisklink/fix/fix-mermaid.render-types
...
[9.2] fix(mermaid): fix `mermaid.render` types
2022-11-07 14:01:37 +05:30
renovate[bot]
603b537ee1
chore(deps): update all non-major dependencies
2022-11-07 07:48:40 +00:00
renovate[bot]
2a45d71efd
chore(deps): update all non-major dependencies
2022-11-07 05:36:39 +00:00
Alois Klink
1a5e7315c0
fix(mermaid): default mermaid back to CommonJS
...
Default mermaid back to being a CommonJS module.
Improrting Mermaid as CommonJS (e.g. using `require("mermaid")`)
is normally broken (since v8), due to it's dependency on d3,
which is now ESM only.
However, it looks like some software
(e.g. TypeScript, in the docusaurus project)
could still handle the CommonJS version of Mermaid.
This commit now means that older versions of Node/build-tools
should now default to using the CommonJS version of Mermaid.
Newer tools should still see that the `"module"` field points to ESM,
or use the `exports["."]["import"]` field to load ESM.
2022-11-06 23:41:09 +00:00
Alois Klink
da6bb9498a
fix(mermaid): fix mermaid.render types
...
The cb param of mermaid.render should be optional,
and mermaid.render returns an SVG string instead of `void`.
2022-11-06 22:46:57 +00:00
Sebastian Spier
5d935c44e7
Add newline
2022-11-06 22:48:31 +01:00
Sebastian Spier
e653d656b3
Fix links that the link checker could not test (for various reasons)
2022-11-06 22:37:47 +01:00
Sebastian Spier
46fc13a5bc
Add GHA that checks links (using lychee). Incl list of links to ignore.
2022-11-06 22:35:45 +01:00
Alois Klink
f3d8ada0ca
Merge pull request #3760 from spier/patch-1
...
Fix link relative links to documentation files
2022-11-06 16:28:02 +00:00
Sebastian Spier
705d88360e
docs: Fix relative links to documentation files
...
I noticed that the link to `Tutorials.md` was broken in this README.
While fixing this I found some other broken links in the same section
of the README, that I tried to fix as well.
(I suspect these files were moved at some point)
2022-11-06 16:21:23 +00:00
avijit1258
9e3601ae48
comments in states are skipped now
2022-11-06 01:50:29 -07:00
Sidharth Vinod
3aa2885692
Merge pull request #3738 from raptor0929/patch-1
...
docs: Update references to default config in directives page
2022-11-04 23:19:27 +05:30
flaura
c56854941e
docs: Update references to default config in directives page
2022-11-04 12:54:29 -04:00
Knut Sveidqvist
357a928cce
Fixing applitools batches
2022-11-04 13:05:46 +01:00
Per Brolin
1d9fefe7ac
Added pie
2022-11-04 12:44:13 +01:00
Sidharth Vinod
d4cc366e86
chore: fix lint
2022-11-04 11:46:48 +05:30
Sidharth Vinod
3d7883f021
Merge pull request #3752 from hugovk/patch-1
...
Fix link to CSS classes
2022-11-04 11:46:04 +05:30
Sidharth Vinod
41f228c3ff
chore: Sync docs
2022-11-04 11:45:20 +05:30
Sidharth Vinod
da447ae5d0
Merge remote-tracking branch 'origin/develop' into sidv/docsDev
...
* origin/develop: (24 commits)
chore: fix cSpell word entry misspelling "mermiad" -> "mermaid" (#3751 )
chore: Remove Security from config
Add Security Policy
chore: cSpell
Update contributors
chore(docs): Update live editor links
update user story link
chore: lint
feat(gantt): Add option 'tickInterval' for custom tick interval
Convert attr to classed
Convert attr to style
Discussions are now available
Make colors required
make setup not required
Update theme_proposal.yml
Update syntaxt_proposal.yml
Update diagram_proposal.yml
Update bug_report.yml
Delete question.md
Create syntaxt_proposal.yml
...
2022-11-04 11:29:49 +05:30
Sidharth Vinod
1e417833f4
Basic webpack
2022-11-04 11:29:24 +05:30
Sidharth Vinod
f295424087
Merge remote-tracking branch 'origin/develop' into sidv/cspell
...
* origin/develop:
chore: fix cSpell word entry misspelling "mermiad" -> "mermaid" (#3751 )
2022-11-04 02:13:28 +05:30
Sidharth Vinod
daa85b4279
rename file
2022-11-04 02:09:14 +05:30
Sidharth Vinod
e7369acaea
jq -> node
2022-11-04 02:05:50 +05:30
Sidharth Vinod
3ad17b79a6
CSpell format
2022-11-04 01:41:03 +05:30
Hugo van Kemenade
6879a15834
Fix link to CSS classes
2022-11-03 21:48:49 +02:00
Ashley Engelund (weedySeaDragon @ github)
607fe88d43
Merge remote-tracking branch 'MERMAID/develop' into chore/3648-mermaidAPI-render--dry-cleanup-specs
...
# Conflicts:
# cSpell.json
2022-11-03 12:15:22 -07:00
Ashley Engelund
b63828f88d
chore: fix cSpell word entry misspelling "mermiad" -> "mermaid" ( #3751 )
...
* fix misspelled "mermiad" -> 'mermaid' in cSpell.json
* correct misspelled word caught by cspell
2022-11-03 20:03:52 +01:00
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
4870d37027
chore: Remove Security from config
2022-11-03 11:17:24 +05:30
Sidharth Vinod
fb855bfcfa
Merge branch 'pr/Andre601/2739' into develop
...
* pr/Andre601/2739:
Add Security Policy
chore: lint
Discussions are now available
Make colors required
make setup not required
Update theme_proposal.yml
Update syntaxt_proposal.yml
Update diagram_proposal.yml
Update bug_report.yml
Delete question.md
Create syntaxt_proposal.yml
Create theme_proposal.yml
Create diagram_proposal.yml
Switch to bug_report.yml
Create config.yml
2022-11-03 11:15:35 +05:30
Sidharth Vinod
97a7f1fd71
Merge pull request #2739 from Andre601/feature/issue-templates
...
Use issue templates and add diagram, theme and syntax proposal issue forms
2022-11-03 11:07:00 +05:30
Sidharth Vinod
c86d46eb8a
Add Security Policy
2022-11-03 11:06:21 +05:30
Sidharth Vinod
361dd6a96e
Add Security Policy
2022-11-03 10:59:57 +05:30