/ittf/site/docs/concepts/t/wizziplugins/architect.html.ittf (primary)
1 $group2 $3 var sect = {4 title: 'Plugin management'5 };6 section( §)7 p Wizzi uses a class that implements the8 high-code( wizzi.PluginsManager )9 span Api to resolve and load plugins.10 p Wizzi Plugins can be nodejs packages installed locally or globally or can be11 \b folders in packages that make a private use of them.12 p Plugins used by the13 to-docs( wizzi.WizziFactory )14 span class must be requested at initialization time and cannot be changed.15 \b To use a different plugin set a new instance of16 \b the Wizzi factory class must be created.17 ittf-panel18 title ITTF pseudo-code of the wizzi.WizziFactory.initialize method19 ittf20 ...21 m initialize22 { options23 { repo24 ...25 { plugins26 [ items27 string pluginNameOrFile28 string pluginsBaseFolder29 default process.cwd()30 { test31 ...32 p The33 high-code( items )34 span property of the35 high-code( options.plugins )36 span object is an array of:37 ul38 li Package names, when plugins are contained in npm installed nodejs packages39 li Relative paths to plugins index module, when plugins are contained40 \b in private folders.41 span In the case of relative paths the property42 high-code( pluginsBaseFolder )43 span of the44 high-code( options.plugins )45 span object must contains the base folder of the plugin.46 h4 View the code47 p Have a look at how the48 high-code( wizzi.PluginsManager )49 span is implemented in the ${}50 a `wizzi` package51 href https://github.com/wizzifactory/wizzi/tree/master/packages/wizzi/dist/lib/services/pluginsManager.js
/ittf/site/docs/concepts/t/section.html.ittf
1 $group2 $params §3 article4 . doc-title5 id ${sect.id}6 + ${sect.title}7 . doc-summary8 $hook
/ittf/site/docs/t/high-code.html.ittf
1 $group2 $params text, kind|@@null3 $if kind != 'nospace'4 span ${} ${}5 code6 class highlight-code7 + ${text}8 $if kind != 'nospace'9 span ${} ${}
/ittf/site/docs/t/to-docs.html.ittf
1 a2 $params name3 $if name.toLowerCase() === 'mtree' || name.toLowerCase() === 'mtrees'4 a ${name}5 href ${wzCtx.Params.baseUrl}/docs/mtrees.html6 $elif name.toLowerCase() === 'ITTF Document' || name.toLowerCase() === 'ITTF Documents'7 a ${name}8 href ${wzCtx.Params.baseUrl}/docs/ittfdocuments.html9 $elif name === 'Template engine'10 a ${name}11 href ${wzCtx.Params.baseUrl}/docs/templateengine.html12 $elif name.toLowerCase() === 'jswizzi'13 a ${name}14 href ${wzCtx.Params.baseUrl}/docs/jswizzi.html15 $elif name.toLowerCase() === 'wizzi model' || name.toLowerCase() === 'wizzi models'16 a ${name}17 href ${wzCtx.Params.baseUrl}/docs/wizzimodels.html18 $elif name.toLowerCase() === 'wizzi schema' || name.toLowerCase() === 'wizzi schemas'19 a ${name}20 href ${wzCtx.Params.baseUrl}/docs/wizzischemas.html21 $elif name.toLowerCase() === 'wizzi model dom' || name.toLowerCase() === 'wizzi model doms'22 a ${name}23 href ${wzCtx.Params.baseUrl}/docs/wizzimodeldoms.html24 $elif name.toLowerCase() === 'model transformers'25 a ${name}26 href ${wzCtx.Params.baseUrl}/docs/modeltransformers.html27 $elif name.toLowerCase() === 'artifact generations'28 a ${name}29 href ${wzCtx.Params.baseUrl}/docs/artifacts.html30 $elif name.toLowerCase() === 'wizzi api' || name.toLowerCase() === 'wizzi.wizzifactory'31 a ${name}32 href ${wzCtx.Params.baseUrl}/docs/wizziapi.html33 $else34 h1 ERROR to-docs unknown ${name}