mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	add mermaid diagram
This commit is contained in:
		
						parent
						
							548ae5b023
						
					
				
				
					commit
					535a1fc8cf
				
			@@ -66,7 +66,17 @@ The `test` script and others are in the top-level `package.json` file.
 | 
			
		||||
 | 
			
		||||
The basic steps for contributing code are:
 | 
			
		||||
 | 
			
		||||
1.  **Create** a git branch and work on your code in the branch
 | 
			
		||||
```mermaid-example
 | 
			
		||||
graph LR
 | 
			
		||||
    git[1. Checkout a  git branch] --> codeTest[2. write tests and code] --> doc[3. update documentation] --> submit[4.submit a PR]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
```mermaid
 | 
			
		||||
graph LR
 | 
			
		||||
    git[1. Checkout a  git branch] --> codeTest[2. write tests and code] --> doc[3. update documentation] --> submit[4.submit a PR]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
1.  **Create** and checkout a git branch and work on your code in the branch
 | 
			
		||||
2.  Write and update **tests** (unit and perhaps even integration (e2e) tests) (If you do TDD/BDD, the order might be different.)
 | 
			
		||||
3.  **Let users know** that things have changed or been added in the documents! This is often overlooked, but _critical_
 | 
			
		||||
4.  **Submit** your code as a _pull request._
 | 
			
		||||
@@ -74,7 +84,6 @@ The basic steps for contributing code are:
 | 
			
		||||
### 1. Checkout a git branch
 | 
			
		||||
 | 
			
		||||
Mermaid uses a [Git Flow](https://guides.github.com/introduction/flow/)–inspired approach to branching.
 | 
			
		||||
\[TODO - mermaid git diagram here]
 | 
			
		||||
 | 
			
		||||
Development is done in the `develop` branch.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user