Ashley Engelund (weedySeaDragon @ github)
3fbc26dfc9
Merge remote-tracking branch 'MERMAID/develop' into docs/3682-developer-contributing
2022-11-18 09:50:21 -08:00
Sidharth Vinod
09ed41b7d2
Merge pull request #3807 from aloisklink/docs/update-code-highlighting-theme
...
Use `github-dark` to highlight fence blocks in vitepress docs
2022-11-18 23:09:59 +05:30
Ashley Engelund (weedySeaDragon @ github)
a867400d56
(minor) fix formatting; add "upvoting" to cSpell.json
2022-11-18 09:37:57 -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)
9c0b81cee0
sidebar menu: remove sub-sub sections since sub menus cannot be collapsed
2022-11-18 08:52:16 -08:00
Ashley Engelund (weedySeaDragon @ github)
6b8f60efcf
nav menu: contributing now points to src/doc about contributing
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)
548ae5b023
sidebar: add sub-entries for Development/contribution
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
pbrolin47
804a23595d
Merge pull request #3797 from mermaid-js/sidv/redirectOldDocs
...
feat: Redirect old documentation links.
2022-11-18 10:46:34 +01:00
Knut Sveidqvist
8655db371e
Merge pull request #3762 from avijit1258/bug/3728_comments_not_ignored_composite_states
...
comments in states are skipped now
2022-11-18 10:45:01 +01:00
Knut Sveidqvist
9b8d5c1b3b
Merge pull request #3641 from ishuen/bug/3637_extra_arrow
...
Remove extra arrow and adjust cross position
2022-11-18 10:38:57 +01:00
Alois Klink
c30aa6f9cf
style(docs): use github-dark
hightlight theme
...
Use the `github-dark` highlight theme for fence blocks in vitepress,
instead of the default `material-palenight` theme.
This increases the contrast ratio of `#comments` from 2.75:1 to 4.43:1,
which is a lot more visible.
It still doesn't reach WCAG 2.0 level AA contrast standards,
which requires 4.5:1 as a minimum constrast ratio, but 4.43:1 is
pretty close, and we don't need to manually modify the theme's colours.
2022-11-17 19:05:41 +00:00
Alois Klink
6da6edfc01
refactor(docs): use default vitepress highlighter
...
Use the default vitepress highlighter instead of making our own
highlighter using shiki.
The benefits are:
- We don't need to directly depend on shiki
- `mermaid-example` code-blocks will use the same highlighting
as other languages (e.g. `html`/`js`).
- We can control the theme from the global `vitepress` config.
- Darkmode/lightmode themes are supported
- Escaping is already handled by the default highlight function
2022-11-17 19:05:38 +00:00
Sidharth Vinod
461236030c
Merge pull request #3798 from weedySeaDragon/bug/1952-stateDiagram--classDef-fix-classes-type
...
bug: State diagram fix classes type
2022-11-17 22:01:09 +05:30
Sidharth Vinod
b83ba4d293
fix: Move redirection to router
2022-11-17 11:14:15 +05:30
Alois Klink
476917bda9
Revert "chore(deps): pin dependencies"
...
This reverts commit 17b72d565de595c94c1e339da37fc81676c4b200.
2022-11-16 20:00:16 +00:00
Ashley Engelund (weedySeaDragon @ github)
717aca6824
change shiki getHighlighter import
2022-11-15 13:09:16 -08:00
Ashley Engelund (weedySeaDragon @ github)
2cbf6110a6
create separate spec for stateRenderer-v2
2022-11-15 12:30:10 -08:00
Ashley Engelund (weedySeaDragon @ github)
fcec9adbcd
diagramStates should not be global; pass it into functions; minor comment fixes
2022-11-15 09:19:27 -08:00
Ashley Engelund (weedySeaDragon @ github)
13f3008f82
diagramClasses no longer needs to be cached; mermaidAPI no longer calls it repeatedly
2022-11-15 09:18:10 -08:00
Ashley Engelund (weedySeaDragon @ github)
6090a1f65a
(minor) import expectTypeOf in spec
2022-11-15 09:14:00 -08:00
Ashley Engelund (weedySeaDragon @ github)
1ecd4a551d
(minor) fix JSdoc tag
2022-11-15 09:13:27 -08:00
Ashley Engelund (weedySeaDragon @ github)
c6db0524bd
+ spec stateRenderer-v2.js getClasses() to verify it returns a {}
2022-11-15 09:01:34 -08:00
Ashley Engelund (weedySeaDragon @ github)
d3f5474f38
(minor) fix JSdoc types in comments
2022-11-15 08:59:01 -08:00
Ashley Engelund (weedySeaDragon @ github)
9996e53e24
(minor) add comments, remove duplicated line
2022-11-15 08:50:20 -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
18c27c6f1d
chore: Add docs to redirect.ts
2022-11-15 11:13:54 +05:30
Ashley Engelund (weedySeaDragon @ github)
345eaade22
stateDB classes must be a {} not []
2022-11-14 11:39:58 -08:00
Sidharth Vinod
82f63b056f
feat: Redirect old documentation links.
2022-11-15 01:06:04 +05:30
Ashley Engelund (weedySeaDragon @ github)
ccd55a0bde
add stateDiagram-v2 to list of graphs with classDefs
2022-11-14 11:24:59 -08:00
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
051b4271d3
Cleanup docs
2022-11-14 15:24:47 +05:30
Sidharth Vinod
4decaf0308
chore: Fix tsdoc
2022-11-14 15:17:13 +05:30
Sidharth Vinod
9144fa390f
cleanup
2022-11-14 15:05:58 +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
0763590c24
Merge pull request #3791 from mermaid-js/renovate/all-minor-patch
...
chore(deps): update all non-major dependencies (minor)
2022-11-14 13:18:10 +05:30
Knut Sveidqvist
dfb1440ae0
Merge pull request #3684 from weedySeaDragon/chore/3648-mermaidAPI-render--dry-cleanup-specs
...
chore: clean up code in mermaidAPI render() and write specs/tests
2022-11-14 08:42:25 +01:00
renovate[bot]
a1e2df8466
chore(deps): update all non-major dependencies
2022-11-14 05:28:23 +00:00
renovate[bot]
20613beb8a
fix(deps): update all non-major dependencies
2022-11-14 05:25:07 +00:00
Sidharth Vinod
a83f88bdf1
chore: Merge master to develop
2022-11-10 13:51:53 +05:30
Sidharth Vinod
791dbe01a2
fix: sourceLinkTemplate
in typedoc
2022-11-09 23:48:26 +05:30