Adding docs into core repo again

This commit is contained in:
Knut Sveidqvist
2019-07-12 20:40:54 +02:00
parent e5bd0e6dc7
commit 69c7d31e69
23 changed files with 1961 additions and 0 deletions

28
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
})
```