Bumps [mermaid](https://github.com/mermaid-js/mermaid) from 10.3.1 to 10.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mermaid-js/mermaid/releases">mermaid's releases</a>.</em></p> <blockquote> <h2>v10.4.0</h2> <h2>Features</h2> <ul> <li>feat: Support config in frontmatter. by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4750">mermaid-js/mermaid#4750</a></li> <li>feat(sankey): Show values by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4748">mermaid-js/mermaid#4748</a></li> </ul> <h2>Docs</h2> <ul> <li>docs: Add development example page. by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4714">mermaid-js/mermaid#4714</a></li> <li>Documentation for <a href="https://redirect.github.com/mermaid-js/mermaid/issues/2509">#2509</a> by <a href="https://github.com/jason-curtis"><code>@jason-curtis</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4740">mermaid-js/mermaid#4740</a></li> <li>Fixes to Docs sidebar, main page and badges by <a href="https://github.com/nirname"><code>@nirname</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4742">mermaid-js/mermaid#4742</a></li> <li>Split development documentation into several pages by <a href="https://github.com/nirname"><code>@nirname</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4744">mermaid-js/mermaid#4744</a></li> <li>Docs: update Latest News section by <a href="https://github.com/huynhicode"><code>@huynhicode</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4768">mermaid-js/mermaid#4768</a></li> </ul> <h2>Chores</h2> <ul> <li>Update all minor dependencies (minor) by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4732">mermaid-js/mermaid#4732</a></li> <li>Update all patch dependencies (patch) by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4731">mermaid-js/mermaid#4731</a></li> <li>convert <code>assignWithDepth</code> to TS by <a href="https://github.com/Yokozuna59"><code>@Yokozuna59</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4717">mermaid-js/mermaid#4717</a></li> <li>convert <code>diagrams/common/svgDrawCommon.js</code> to ts by <a href="https://github.com/Yokozuna59"><code>@Yokozuna59</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4724">mermaid-js/mermaid#4724</a></li> <li>ci(release-drafter): add more release notes categories by <a href="https://github.com/aloisklink"><code>@aloisklink</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4752">mermaid-js/mermaid#4752</a></li> <li>chore(deps): update all patch dependencies (patch) by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4753">mermaid-js/mermaid#4753</a></li> <li>standardized pie definitions by <a href="https://github.com/Yokozuna59"><code>@Yokozuna59</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4501">mermaid-js/mermaid#4501</a></li> <li>Remove Circular Dependencies by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4761">mermaid-js/mermaid#4761</a></li> <li>chore: Enforce type imports by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4763">mermaid-js/mermaid#4763</a></li> <li>chore: Preview PRs with mermaid-live-editor on Netlify by <a href="https://github.com/sidharthv96"><code>@sidharthv96</code></a> in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4769">mermaid-js/mermaid#4769</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/jason-curtis"><code>@jason-curtis</code></a> made their first contribution in <a href="https://redirect.github.com/mermaid-js/mermaid/pull/4740">mermaid-js/mermaid#4740</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/mermaid-js/mermaid/compare/v10.3.1...v10.4.0">https://github.com/mermaid-js/mermaid/compare/v10.3.1...v10.4.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="8e5275d844"><code>8e5275d</code></a> Mermaid version v10.4.0</li> <li><a href="c51afa4dd2"><code>c51afa4</code></a> Merge branch 'release/10.4.0'</li> <li><a href="671ad82ad3"><code>671ad82</code></a> unique batches every time, if not repeated tests end up in the same batch</li> <li><a href="9dccf4d9c9"><code>9dccf4d</code></a> chore: Update editor.bash to build latest version</li> <li><a href="6563a6ea26"><code>6563a6e</code></a> chore: Build after clone</li> <li><a href="a3a6eb9bf5"><code>a3a6eb9</code></a> chore: Force install npm to avoid cache.</li> <li><a href="5f8f79fc3e"><code>5f8f79f</code></a> fix: live editor exists error</li> <li><a href="f553fa5eb8"><code>f553fa5</code></a> Merge pull request <a href="https://redirect.github.com/mermaid-js/mermaid/issues/4769">#4769</a> from mermaid-js/sidv/liveEditor</li> <li><a href="c3939d3fb3"><code>c3939d3</code></a> chore: Add netlify.toml</li> <li><a href="32d1783390"><code>32d1783</code></a> chore: Update editor script</li> <li>Additional commits viewable in <a href="https://github.com/mermaid-js/mermaid/compare/v10.3.1...v10.4.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Corso documentation
Corso documentation uses Docusaurus 2, a modern static website generator. Mermaid provides support for native diagrams in Markdown.
Requirements
Developing documentation for Corso requires the following tools on your machine:
make- Docker
Installation
make buildimage
Live documentation development
make dev
This command starts a local development server within the Docker container and will expose docs at http://localhost:3000.
Generating Corso CLI docs
make genclidocs
Corso's CLI documents are auto generated. This command explicitly triggers generating these docs. This step will happen automatically for the other commands where this is relevant.
Building static documentation
make build
This command generates static content into the build directory for integration with any static contents hosting service.
Serving static documentation
make serve
This command will serve the static content generated with make build at http://localhost:3000.
Style and linting
# Lint all docs
make check
# Lint specific files and/or folders
make check VALE_TARGET="README.md docs/concepts"
This command will lint all Markdown files and check them for style issues using the Docker container
Documentation platform development
make shell
Use this command to interactively (and temporarily!) change the contents or configuration of the live documentation container image (for example, when experimenting with new plugins).