mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-03 20:34:20 +01:00 
			
		
		
		
	Merge branch 'mermaid-js:develop' into standardized-pie-definitions
This commit is contained in:
		
							
								
								
									
										44
									
								
								.github/lychee.toml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								.github/lychee.toml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
#############################  Display  #############################
 | 
			
		||||
 | 
			
		||||
# Verbose program output
 | 
			
		||||
# Accepts log level: "error", "warn", "info", "debug", "trace"
 | 
			
		||||
verbose = "debug"
 | 
			
		||||
 | 
			
		||||
# Don't show interactive progress bar while checking links.
 | 
			
		||||
no_progress = true
 | 
			
		||||
 | 
			
		||||
#############################  Cache  ###############################
 | 
			
		||||
 | 
			
		||||
# Enable link caching. This can be helpful to avoid checking the same links on
 | 
			
		||||
# multiple runs.
 | 
			
		||||
cache = true
 | 
			
		||||
 | 
			
		||||
# Discard all cached requests older than this duration.
 | 
			
		||||
max_cache_age = "1d"
 | 
			
		||||
 | 
			
		||||
#############################  Requests  ############################
 | 
			
		||||
 | 
			
		||||
# Comma-separated list of accepted status codes for valid links.
 | 
			
		||||
accept = [200, 429]
 | 
			
		||||
 | 
			
		||||
#############################  Exclusions  ##########################
 | 
			
		||||
 | 
			
		||||
# Exclude URLs and mail addresses from checking (supports regex).
 | 
			
		||||
exclude = [
 | 
			
		||||
# Network error: Forbidden
 | 
			
		||||
"https://codepen.io",
 | 
			
		||||
 | 
			
		||||
# Timeout error, maybe Twitter has anti-bot defenses against GitHub's CI servers?
 | 
			
		||||
"https://twitter.com/mermaidjs_",
 | 
			
		||||
 | 
			
		||||
# Don't check files that are generated during the build via `pnpm docs:code`
 | 
			
		||||
'packages/mermaid/src/docs/config/setup/*',
 | 
			
		||||
 | 
			
		||||
# Ignore slack invite
 | 
			
		||||
"https://join.slack.com/"
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
# Exclude all private IPs from checking.
 | 
			
		||||
# Equivalent to setting `exclude_private`, `exclude_link_local`, and
 | 
			
		||||
# `exclude_loopback` to true.
 | 
			
		||||
exclude_all_private = true
 | 
			
		||||
							
								
								
									
										7
									
								
								.github/workflows/link-checker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/link-checker.yml
									
									
									
									
										vendored
									
									
								
							@@ -20,7 +20,7 @@ on:
 | 
			
		||||
    - cron: '30 8 * * *'
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  linkChecker:
 | 
			
		||||
  link-checker:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    permissions:
 | 
			
		||||
      # lychee only uses the GITHUB_TOKEN to avoid rate-limiting
 | 
			
		||||
@@ -39,10 +39,7 @@ jobs:
 | 
			
		||||
        uses: lycheeverse/lychee-action@v1.8.0
 | 
			
		||||
        with:
 | 
			
		||||
          args: >-
 | 
			
		||||
            --verbose
 | 
			
		||||
            --no-progress
 | 
			
		||||
            --cache
 | 
			
		||||
            --max-cache-age 1d
 | 
			
		||||
            --config .github/lychee.toml
 | 
			
		||||
            packages/mermaid/src/docs/**/*.md
 | 
			
		||||
            README.md
 | 
			
		||||
            README.zh-CN.md
 | 
			
		||||
 
 | 
			
		||||
@@ -1,17 +0,0 @@
 | 
			
		||||
# These links are ignored by our link checker https://github.com/lycheeverse/lychee
 | 
			
		||||
# The file allows you to list multiple regular expressions for exclusion (one pattern per line).
 | 
			
		||||
 | 
			
		||||
# Network error: Forbidden
 | 
			
		||||
https://codepen.io
 | 
			
		||||
 | 
			
		||||
# Timeout error, maybe Twitter has anti-bot defenses against GitHub's CI servers?
 | 
			
		||||
https://twitter.com/mermaidjs_
 | 
			
		||||
 | 
			
		||||
# Don't check files that are generated during the build via `pnpm docs:code`
 | 
			
		||||
packages/mermaid/src/docs/config/setup/*
 | 
			
		||||
 | 
			
		||||
# Ignore localhost
 | 
			
		||||
http://localhost:3333/
 | 
			
		||||
 | 
			
		||||
# Ignore slack invite
 | 
			
		||||
https://join.slack.com/
 | 
			
		||||
@@ -387,7 +387,9 @@ The above command generates files into the `dist` folder and publishes them to \
 | 
			
		||||
- [Live Editor](https://github.com/mermaid-js/mermaid-live-editor)
 | 
			
		||||
- [HTTP Server](https://github.com/TomWright/mermaid-server)
 | 
			
		||||
 | 
			
		||||
## Contributors [](https://github.com/mermaid-js/mermaid/issues?q=is%3Aissue+is%3Aopen+label%3A%22Good+first+issue%21%22) [](https://github.com/mermaid-js/mermaid/graphs/contributors) [](https://github.com/mermaid-js/mermaid/graphs/contributors)
 | 
			
		||||
## Contributors
 | 
			
		||||
 | 
			
		||||
[](https://github.com/mermaid-js/mermaid/issues?q=is%3Aissue+is%3Aopen+label%3A%22Good+first+issue%21%22) [](https://github.com/mermaid-js/mermaid/graphs/contributors) [](https://github.com/mermaid-js/mermaid/graphs/contributors)
 | 
			
		||||
 | 
			
		||||
Mermaid is a growing community and is always accepting new contributors. There's a lot of different ways to help out and we're always looking for extra hands! Look at [this issue](https://github.com/mermaid-js/mermaid/issues/866) if you want to know where to start helping out.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -6,8 +6,8 @@
 | 
			
		||||
 | 
			
		||||
# Announcements
 | 
			
		||||
 | 
			
		||||
## [Mermaid Chart Announces Visual Studio Code Plugin to Simplify Development Workflows](https://www.mermaidchart.com/blog/posts/mermaid-chart-announces-visual-studio-code-plugin)
 | 
			
		||||
## [From Chaos to Clarity: Exploring Mind Maps with MermaidJS](https://www.mermaidchart.com/blog/posts/from-chaos-to-clarity-exploring-mind-maps-with-mermaidjs)
 | 
			
		||||
 | 
			
		||||
17 July 2023 · 3 mins
 | 
			
		||||
24 July 2023 · 4 mins
 | 
			
		||||
 | 
			
		||||
New Integration Enhances Workflows By Enabling Developers To Reference And Edit Diagrams Within Visual Studio Code.
 | 
			
		||||
Introducing the concept of mind mapping as a tool for organizing complex information, and highlights Mermaid as a user-friendly software that simplifies the creation and editing of mind maps for applications in IT solution design, business decision-making, and knowledge organization.
 | 
			
		||||
 
 | 
			
		||||
@@ -6,6 +6,12 @@
 | 
			
		||||
 | 
			
		||||
# Blog
 | 
			
		||||
 | 
			
		||||
## [From Chaos to Clarity: Exploring Mind Maps with MermaidJS](https://www.mermaidchart.com/blog/posts/from-chaos-to-clarity-exploring-mind-maps-with-mermaidjs)
 | 
			
		||||
 | 
			
		||||
24 July 2023 · 4 mins
 | 
			
		||||
 | 
			
		||||
Introducing the concept of mind mapping as a tool for organizing complex information, and highlights Mermaid as a user-friendly software that simplifies the creation and editing of mind maps for applications in IT solution design, business decision-making, and knowledge organization.
 | 
			
		||||
 | 
			
		||||
## [Mermaid Chart Announces Visual Studio Code Plugin to Simplify Development Workflows](https://www.mermaidchart.com/blog/posts/mermaid-chart-announces-visual-studio-code-plugin)
 | 
			
		||||
 | 
			
		||||
17 July 2023 · 3 mins
 | 
			
		||||
 
 | 
			
		||||
@@ -50,7 +50,7 @@ const idRedirectMap: Record<string, string> = {
 | 
			
		||||
  'n00b-advanced': 'config/n00b-advanced',
 | 
			
		||||
  'n00b-gettingstarted': 'intro/n00b-gettingStarted',
 | 
			
		||||
  'n00b-overview': 'community/n00b-overview',
 | 
			
		||||
  'n00b-syntaxreference': '',
 | 
			
		||||
  'n00b-syntaxreference': 'intro/n00b-syntaxReference',
 | 
			
		||||
  newdiagram: 'community/newDiagram',
 | 
			
		||||
  pie: 'syntax/pie',
 | 
			
		||||
  plugins: '',
 | 
			
		||||
 
 | 
			
		||||
@@ -164,7 +164,9 @@ The above command generates files into the `dist` folder and publishes them to <
 | 
			
		||||
- [Live Editor](https://github.com/mermaid-js/mermaid-live-editor)
 | 
			
		||||
- [HTTP Server](https://github.com/TomWright/mermaid-server)
 | 
			
		||||
 | 
			
		||||
## Contributors [](https://github.com/mermaid-js/mermaid/issues?q=is%3Aissue+is%3Aopen+label%3A%22Good+first+issue%21%22) [](https://github.com/mermaid-js/mermaid/graphs/contributors) [](https://github.com/mermaid-js/mermaid/graphs/contributors)
 | 
			
		||||
## Contributors
 | 
			
		||||
 | 
			
		||||
[](https://github.com/mermaid-js/mermaid/issues?q=is%3Aissue+is%3Aopen+label%3A%22Good+first+issue%21%22) [](https://github.com/mermaid-js/mermaid/graphs/contributors) [](https://github.com/mermaid-js/mermaid/graphs/contributors)
 | 
			
		||||
 | 
			
		||||
Mermaid is a growing community and is always accepting new contributors. There's a lot of different ways to help out and we're always looking for extra hands! Look at [this issue](https://github.com/mermaid-js/mermaid/issues/866) if you want to know where to start helping out.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
# Announcements
 | 
			
		||||
 | 
			
		||||
## [Mermaid Chart Announces Visual Studio Code Plugin to Simplify Development Workflows](https://www.mermaidchart.com/blog/posts/mermaid-chart-announces-visual-studio-code-plugin)
 | 
			
		||||
## [From Chaos to Clarity: Exploring Mind Maps with MermaidJS](https://www.mermaidchart.com/blog/posts/from-chaos-to-clarity-exploring-mind-maps-with-mermaidjs)
 | 
			
		||||
 | 
			
		||||
17 July 2023 · 3 mins
 | 
			
		||||
24 July 2023 · 4 mins
 | 
			
		||||
 | 
			
		||||
New Integration Enhances Workflows By Enabling Developers To Reference And Edit Diagrams Within Visual Studio Code.
 | 
			
		||||
Introducing the concept of mind mapping as a tool for organizing complex information, and highlights Mermaid as a user-friendly software that simplifies the creation and editing of mind maps for applications in IT solution design, business decision-making, and knowledge organization.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,11 @@
 | 
			
		||||
# Blog
 | 
			
		||||
 | 
			
		||||
## [From Chaos to Clarity: Exploring Mind Maps with MermaidJS](https://www.mermaidchart.com/blog/posts/from-chaos-to-clarity-exploring-mind-maps-with-mermaidjs)
 | 
			
		||||
 | 
			
		||||
24 July 2023 · 4 mins
 | 
			
		||||
 | 
			
		||||
Introducing the concept of mind mapping as a tool for organizing complex information, and highlights Mermaid as a user-friendly software that simplifies the creation and editing of mind maps for applications in IT solution design, business decision-making, and knowledge organization.
 | 
			
		||||
 | 
			
		||||
## [Mermaid Chart Announces Visual Studio Code Plugin to Simplify Development Workflows](https://www.mermaidchart.com/blog/posts/mermaid-chart-announces-visual-studio-code-plugin)
 | 
			
		||||
 | 
			
		||||
17 July 2023 · 3 mins
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user