docusaurus/packages/docusaurus-types/src
besemuna 69be003e12
feat(v2): allow config plugins as function or [function,options] (#4618)
* feat : update PluginSchema validation

* feat : update plugin init functionality

* test : add and update tests

* fix : tests

* refactor : init.ts

* test : update test

* docs : add functional plugin docs

* fix little issues

* refactor : refactor code

* minor refactors

* simplify initPlugins code

* simplify initPlugin + add custom validation error message

* fix snapshots

* improve function plugin doc

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-05-15 19:33:05 +02:00
..
index.d.ts feat(v2): allow config plugins as function or [function,options] (#4618) 2021-05-15 19:33:05 +02:00
index.js chore: add copyright headers to missing files 2020-05-11 00:11:11 +08:00