mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +02:00
Add jsdoc and refactor a bit of code
This commit is contained in:
@@ -1005,7 +1005,7 @@ Note: currentConfig is set in this function
|
||||
|
||||
- `conf` the base currentConfig to use as siteConfig
|
||||
|
||||
Returns **any** the siteConfig
|
||||
Returns **[Object][6]** the siteConfig
|
||||
|
||||
## getSiteConfig
|
||||
|
||||
@@ -1018,7 +1018,7 @@ Returns **any** the siteConfig
|
||||
**Notes**:
|
||||
Returns **any** values in siteConfig.
|
||||
|
||||
Returns **any**
|
||||
Returns **[Object][6]** the siteConfig
|
||||
|
||||
## setConfig
|
||||
|
||||
@@ -1067,6 +1067,14 @@ Note: modifies options in-place
|
||||
|
||||
- `options` the potential setConfig parameter
|
||||
|
||||
## addDirective
|
||||
|
||||
Pushes in a directive to the configuration
|
||||
|
||||
### Parameters
|
||||
|
||||
- `directive` **[Object][6]** The directive to push in
|
||||
|
||||
## reset
|
||||
|
||||
## reset
|
||||
@@ -1185,3 +1193,5 @@ mermaidAPI.initialize({
|
||||
[4]: 8.6.0_docs.md
|
||||
|
||||
[5]: #mermaidapi-configuration-defaults
|
||||
|
||||
[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
|
||||
|
Reference in New Issue
Block a user