docusaurus/website/docs
Anshul Goyal ef9314e5a4
feat(v2): update swizzle command to suggest component/theme (#3021)
* update swizzle command

* change messages

* fix formatting

* add docs

* fix component lisiting

* allow themes to provide a list for safe swizzle components

* support both commanjs and ES exports

* fix debug plugin doesn't swizzle

* add dos

* remove unsed file

* fix docs plugin not swizzle properly

* fix console.log

* use new validate

* fix linting

* use config options for plugin

* rerun test

* fix type

* add a comment

* Update packages/docusaurus/src/commands/swizzle.ts

* Update packages/docusaurus/src/commands/swizzle.ts

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-06 13:53:03 +02:00
..
api docs(v2): Added switch config docs to theme-classic API (#3194) 2020-08-05 18:54:41 +02:00
assets refactor(v2): async md image transformer + pathname protocol as an escape hatch (#3087) 2020-07-21 17:45:06 +02:00
guides feat(v2): add support to ignore files in pages plugin (#3196) 2020-08-05 21:35:55 +02:00
blog.md feat(v2): blog + docs multi-instance plugins (#3204) 2020-08-05 18:27:55 +02:00
cli.md feat(v2): update swizzle command to suggest component/theme (#3021) 2020-08-06 13:53:03 +02:00
configuration.md feat(v2): warn user when there are conflicting routes (#3083) 2020-07-31 21:14:49 +02:00
contributing.md docs(v2): add trailing slash to external links (#2801) 2020-05-24 19:46:23 +08:00
deployment.md feat(v2): v1-v2 migration cli automate migration from v1 to v2 (#3015) 2020-07-24 12:52:16 +02:00
design-principles.md chore(v2): v2.0.0 alpha.44 (#2379) 2020-03-08 23:43:40 +08:00
docs.md docs(v2): correct the documentation for doc-only mode (#3040) 2020-07-09 17:15:23 +02:00
docusaurus-core.md feat(v2): warn user when there are conflicting routes (#3083) 2020-07-31 21:14:49 +02:00
installation.md feat(v2): warn user when there are conflicting routes (#3083) 2020-07-31 21:14:49 +02:00
introduction.md docs(v2): various improvements (#2768) 2020-05-18 11:37:53 +08:00
lifecycle-apis.md feat(v2): update swizzle command to suggest component/theme (#3021) 2020-08-06 13:53:03 +02:00
markdown-features.mdx fix(v2): fix svg loader (#3202) 2020-08-05 19:19:20 +02:00
presets.md fix(v2): Use require.resolve to resolve plugin path in presets (#2794) 2020-05-23 04:57:02 +08:00
search.md fix(v2): absolute Links should be automatically prefixed by baseurl (#3143) 2020-07-28 19:40:34 +02:00
static-assets.md docs(v2): make .nojekyll warning more obvious (#2887) 2020-06-05 10:22:06 +08:00
styling-layout.md docs(v2): various improvements (#2768) 2020-05-18 11:37:53 +08:00
theme-classic.md docs(v2): Added switch config docs to theme-classic API (#3194) 2020-08-05 18:54:41 +02:00
typescript-support.md fix(v2): fix recent baseurl issues (#3093) 2020-07-22 19:55:40 +02:00
using-plugins.md feat(v2): add support to ignore files in pages plugin (#3196) 2020-08-05 21:35:55 +02:00
using-themes.md feat(v2): option and config validation life cycle method for official plugins (#2943) 2020-06-24 20:08:16 +02:00
versioning.md fix(v2): fix recent baseurl issues (#3093) 2020-07-22 19:55:40 +02:00