Back to Mermaid

Function: setSiteConfig()

docs/config/setup/config/functions/setSiteConfig.md

11.0.01.5 KB
Original Source

Warning

THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.

Please edit the corresponding file in /packages/mermaid/src/docs/config/setup/config/functions/setSiteConfig.md.

mermaid


Function: setSiteConfig()

setSiteConfig(conf): MermaidConfig

Defined in: packages/mermaid/src/config.ts:70

setSiteConfig

FunctionDescriptionTypeValues
setSiteConfigSets the siteConfig to desired valuesPut RequestAny Values, except ones in secure array

Notes: Sets the siteConfig. The siteConfig is a protected configuration for repeat use. Calls to reset() will reset the currentConfig to siteConfig. Calls to reset(configApi.defaultConfig) will reset siteConfig and currentConfig to the defaultConfig Note: currentConfig is set in this function Default value: At default, will mirror Global Config

Parameters

conf

MermaidConfig

The base currentConfig to use as siteConfig

Returns

MermaidConfig

The new siteConfig