Sébastien Lorber
0a33a52301
fix(v2): deprecate docs homePageId in favor of frontmatter "slug: /" ( #3228 )
...
* homePageId => deprecated
* docs prettier
2020-08-06 18:31:50 +02:00
Sébastien Lorber
7cceee7e38
feat(v2): markdown pages ( #3158 )
...
* markdown pages POC
* add remark admonition, mdx provider, yarn2npm...
* pluginContentPages md/mdx tests
* pluginContentPages md/mdx tests
* add relative file path test link to showcase link problem
* fix Markdown pages issues after merge
* fix broken links found in markdown pages
* fix tests
* factorize common validation in @docusaurus/utils-validation
* add some documentation
* add using plugins doc
* minor md pages fixes
2020-07-31 16:04:56 +02:00
Teik Jun
2159c4fcfb
fix(v2): make config validation less strict ( #3120 )
...
* fix(v2): make navbar title validation less strict
* fix(v2): fix validation for rehype plugin
* fix(v2): allow empty string for routeBasePath
* fix(v2): fix validation for stylesheets and scripts field
* fix(v2): rerun CI
* fix(v2): relax check for stylesheet href
2020-07-27 13:58:24 +02:00
Sébastien Lorber
a5b2b6056b
feat(v2): add disableVersioning config to docs plugin ( #2989 )
...
* add disableVersioning config to docs plugin
* fix test
* fix test
2020-07-01 19:03:59 +02:00
Teik Jun
0f59cd1599
feat(v2): add option validation for remaining official plugins ( #2970 )
...
* feat(v2): add option validation lifecycle method
* chore(v2): add dependencies
* chore(v2): add yup dependency
* feat(v2): add option validation for plugin-content-docs
* chore(v2): add facebook copyright
* refactor(v2): remove unused variable
* chore(v2): add dependencies
* chore(v2): add copyright
* fix(v2): use strict for option validation
* feat(v2): add option validation for plugin-content-pages
* feat(v2): add schema for plugin-google-analytics and plugin-google-gtag
* feat(v2): add option validation for plugin-sitemap
* chore(v2): add dependency for yup
* fix(v2): remove strict to allow normalization
* refactor(v2): refactor validate method
* feat(v2): modify existing tests
* feat(v2): add tests for plugin normalization
* style(v2): use a more descriptive filename for schema
* feat(v2): add normalization tests
* feat(v2): add more tests for option validation
* refactor(v2): remove unused code
* refactor(v2): remove unused code
* refactor(v2): refactor methods and types
* feat(v2): replace Yup with Joi
* fix(v2): fix plugin-content-docs schema
* feat(v2): modify tests for plugin-content-docs
* fix(v2): fix a typo
* refactor(v2): improve tests and refactor code
* feat(v2): support both commonjs and ES modules
* refactor(v2): refactor validateOption method
* style(v2): fix eslint errors and typo in types
* chore(v2): remove unused yup dependency
* style(v2): standardize naming across official plugins
* chore(v2): update test snapshots
* chore(v2): remove obsolete snapshots
* chore(v2): fix a typo and check test
* feat(v2): add validation for new field
* feat(v2): add test for new field
2020-06-26 15:14:59 +02:00