Move docs to src

This commit is contained in:
Sidharth Vinod
2022-09-03 09:06:42 +05:30
parent cfae2b6a40
commit 3b88150e11
86 changed files with 33 additions and 24 deletions

28
src/docs/upgrading.md Normal file
View File

@@ -0,0 +1,28 @@
# Upgrading
Some of the interfaces has been upgraded.
## From version 0.4.0 to 0.5.0
### Initialization
`mermaid_config` is no longer used. Instead a call to mermaid initialize is done as in the example below:
#### version 0.4.0
```javascript
mermaid_config = {
startOnLoad: true
}
```
#### version 0.5.0
```javascript
mermaid.initialize({
startOnLoad: true
})
```