Sam Zhou
83d043ecb3
chore(v2): Fix more linter warnings ( #4450 )
2021-03-18 18:05:09 +01:00
Armano
abae86f283
refactor(v2): use correct plugin types ( #4418 )
2021-03-15 19:08:44 +01:00
Armano
bfe52cdae3
refactor(v2): correct some of type errors reported by eslint ( #4382 )
...
* fix: correct some of type errors reported by eslint
* fix: remove unnecessary import
2021-03-12 12:24:22 +01:00
Bartosz Kaszubowski
ad31facb32
chore(v2): fix several lint warnings, add missing types, cleanup ( #3844 )
...
* fix several lint warnings, add missing types, cleanup
* fix EnumChangefreq issue
* better utilization of EnumChangefreq type
* update test snapshot
2020-11-30 16:42:58 +01:00
Alexey Pyltsyn
69bf68ae57
chore(v2): migrate hapi/joi to joi ( #3638 )
2020-10-26 15:18:51 +01:00
moonrailgun
f802a76d83
test(v2): add protocol relative uri validation test ( #3453 )
...
* feat(v2): add relative uri support
* add // protocol relative uris test case
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-09-29 20:06:46 +02:00
Tom Milligan
fe78cbeff5
fix(v2): allow relative URLs in URISchema #3449
2020-09-29 18:34:39 +02:00
Sébastien Lorber
1eb6e13fb7
fix(v2): reject routeBasePath: '' ( #3377 )
...
* routeBasePath: '' should be forbidden
* routeBasePath: '' should be forbidden
* commit
* try to trigger cla bot
2020-08-31 19:59:27 +02:00
Teik Jun
fda1590b0d
fix(v2): modify validation schema and tests for rehype/remark + remove duplicate dependency ( #3247 )
...
* chore(v2): remove duplicate dependency
* fix(v2): make changes to validation for rehype and remark plugins
* style(v2): run prettier
2020-08-11 15:17:23 +02:00
Anshul Goyal
181a6174c7
fix(v2): relax URI validation ( #3227 )
...
* relax URI validation
* add regex
* add test
* fix linting error
* fix formatting
* use URL rather than regex
2020-08-07 22:11:19 +02:00
Sébastien Lorber
59f705ee66
feat(v2): blog + docs multi-instance plugins ( #3204 )
...
* stable createData namespacing + second-blog dogfooding
* Docs: support multi-instance + make community docs a separate instance
* tests: add 2nd docs instance to versioned site
* fix docs version cli tests
* fix docs versioning cli
* typo
* team: add link to my site
* better extendCli integration
* fix metadata tests
* tests for versioned site with second docs instance
* move some validation code to utils-validation
* fix missing dependency
* fix bad compiled output due to importing constants in ./client folder
* make docs tests easier to maintain
* refactors
* prevent lodash imports in client bundle
* redirect old community docs to new urls
2020-08-05 18:27:55 +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