docusaurus/website/docs
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
..
api docs(v2): specify google-analytics and gtag plugins (#4703) 2021-05-04 16:46:07 +02:00
assets
guides docs(v2): fix doc lint (#4727) 2021-05-04 16:30:08 +02:00
i18n docs(v2): fix i18n doc: bad i18n page plugin path in code sample (#4773) 2021-05-12 14:39:24 +02:00
migration docs(v2): Docusaurus 2 beta blog post (#4756) 2021-05-12 16:08:07 +02:00
blog.md fix(v2): improve BlogPostFrontMatter schema validation (#4759) 2021-05-14 18:52:51 +02:00
browser-support.md docs(v2): add browsers support documentation (#4758) 2021-05-11 11:03:05 +02:00
cli.md docs(v2): Improve intro doc (#4770) 2021-05-12 14:40:35 +02:00
configuration.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
deployment.mdx docs(v2): Add Qovery to deployment doc (#4496) 2021-04-27 11:06:08 +02:00
docusaurus-core.md docs(v2): fixed the directory of index.js (#4559) 2021-04-05 18:56:14 +02:00
installation.md docs(v2): Docusaurus 2 beta blog post (#4756) 2021-05-12 16:08:07 +02:00
introduction.md docs(v2): Improve intro doc (#4770) 2021-05-12 14:40:35 +02:00
lifecycle-apis.md feat(v2): Webpack 5, PostCSS 8 (#4089) 2021-04-30 18:06:53 +02:00
presets.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
search.md docs(v2): config for self-hosted docsearch crawler (#4524) 2021-03-29 17:53:51 +02:00
static-assets.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
styling-layout.md refactor(v2): rename class main-docs-wrapper to docs-wrapper (#4619) 2021-04-15 18:56:41 +02:00
typescript-support.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
using-plugins.md feat(v2): allow config plugins as function or [function,options] (#4618) 2021-05-15 19:33:05 +02:00
using-themes.md docs(v2): Improve intro doc (#4770) 2021-05-12 14:40:35 +02:00