Rémi Doreau
d3a01458a3
feat(v2): add beforeDefaultRemarkPlugins/beforeDefaultRehypePlugins options to all md content plugins ( #3467 )
...
* fix(plugin-content-docs): add beforeDefaultRemarkPlugins + beforeDefaultRehypePlugins options
* fix(plugin-content-blog): add beforeDefaultRemarkPlugins + beforeDefaultRehypePlugins options
* fix(plugin-content-pages): add beforeDefaultRemarkPlugins + beforeDefaultRehypePlugins options
* feat(website-docs): overriding remark-rehype plugins
* fix(plugin-content): update beforeDefaultRehypePlugins/beforeDefaultRemarkPlugins types
* fix(plugin-content-docs): fix tests
2020-09-29 14:48:34 +02:00
Bartosz Kaszubowski
f9944cb2fc
feat(v2): add optional custom wrapper class name for pages based on theme classic Layout ( #3457 )
...
* feat(v2): add optional custom wrapper class name for pages based on theme classic Layout
* feat(v2): add optional custom wrapper class name for markdown pages
* fix TS types
2020-09-23 15:38:17 +03:00
Sébastien Lorber
9bf4dfb275
chore(v2): prepare v2.0.0.alpha-64 release ( #3440 )
...
* add 2.0.0 alpha 64 files
* v2.0.0-alpha.64
2020-09-11 20:35:05 +02:00
Sébastien Lorber
306122e3b1
chore(v2): upgrade webpack/workbox related deps to get rid of serialize-javascript 3.x security issues ( #3439 )
2020-09-11 18:36:13 +02:00
Sébastien Lorber
8af3ad4250
chore(v2): prepare v2.0.0.alpha-63 release ( #3400 )
...
* add alpha 63 + remove +3month old versions
* update publish guide
* v2.0.0-alpha.63
2020-09-03 18:52:03 +02:00
Sébastien Lorber
ab3ebdad39
chore(v2): pin exact dependency versions ( #3386 )
...
* Attempt to pin all dependency versions exactly for https://github.com/facebook/docusaurus/issues/3371
* warn if @docusaurus package versions mismatch
* fix yarn lock
2020-09-02 11:42:17 +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
Sébastien Lorber
4f448bd54b
chore(v2): prepare v2.0.0.alpha-62 release ( #3359 )
...
* Add alpha 62
* v2.0.0-alpha.62
2020-08-28 19:17:56 +02:00
Sam Zhou
16ae3bf462
fix(v2): Add missing dependencies to packages ( #3355 )
2020-08-28 15:04:44 +02:00
Sam Zhou
c8d6e418ff
feat(v2): Provide type definitions for MDXPage from page plugin ( #3354 )
2020-08-28 14:58:32 +02:00
Anshul Goyal
12e9ff6232
fix(v2): pass images in static dir to webpack-loader ( #3283 )
...
* pass static images to webpack-loader
* remove console.log
* fix windows path issue
* fix windows path issue
* add missing deps
2020-08-14 21:33:08 +02:00
Anshul Goyal
f234c407f1
feat(v2): add support to ignore files in pages plugin ( #3196 )
...
* add support to ignore pages
* fix import problem
* Update website/docs/guides/creating-pages.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
* Revert "fix import problem"
This reverts commit 4457a2e938
.
* revert
* fix slash
* forbid frontmatter
* fix formatting
* Update website/docs/guides/creating-pages.md
* Update website/src/pages/examples/_chapter1.md
* Update website/src/pages/examples/_chapter2.mdx
* Update website/src/pages/examples/markdownPageExample.md
* Update website/src/pages/examples/markdownPageExample.md
* Update website/src/pages/examples/markdownPageExample.md
* Update website/src/pages/examples/markdownPageExample.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-05 21:35:55 +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
48b996773c
chore(v2): prepare v2.0.0.alpha-61 release ( #3182 )
...
* alpha 61 release
* doc prettier
* v2.0.0-alpha.61
2020-08-01 15:24:46 +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
Bucky Maler
e9a2b1d9c6
fix(v2): inability for users to pin their docusaurus version ( #3162 )
2020-07-30 14:44:39 +02:00
Sébastien Lorber
1083454dbd
chore(v2): prepare v2.0.0.alpha-60 release ( #3154 )
...
* alpha 60
* v2.0.0-alpha.60
* update publish guide
2020-07-29 17:45:54 +02:00
Sébastien Lorber
0eb9c207cf
chore(v2): v2.0.0.alpha-59 release ( #3114 )
...
* alpha 59 release preparation
* v2.0.0-alpha.59
2020-07-24 16:22:51 +02:00
Anshul Goyal
a3849860ae
fix(v2):pass siteConfig as prop to pages ( #3025 )
...
* pass config as prop to pages
* use existing file
* Update packages/docusaurus-plugin-content-pages/src/index.ts
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-07-09 18:57:41 +02:00
Sébastien Lorber
9265de982b
chore(v2): refactor scripts + add theme-classic watchmode ( #2998 )
2020-07-01 18:30:44 +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
slorber
16ba6e54b6
v2.0.0-alpha.58
2020-06-18 14:02:26 +02:00
Sébastien Lorber
b5d7c3a111
misc(v2): better dx: yarn clear, yarn watch, yarn serve ( #2922 )
...
* add clear + serve scripts
* add ability to launch all TS projects in --watch mode
* attempt to create a watch plugin
* use rimraf for clear script
* update watch plugin poc
* add start:v2:watch
* remove the watch plugin
2020-06-16 20:40:46 +08:00
Alexey Pyltsyn
d8ebe8b2e4
v2.0.0-alpha.56
2020-05-27 20:18:28 +03:00
Sam Zhou
33b60c6ba4
fix(v2): Consistently use 10.15.1 as the minimum required node version ( #2819 )
2020-05-27 23:18:48 +08:00
Alexey Pyltsyn
d94a549cfb
v2.0.0-alpha.55
2020-05-19 13:55:03 +03:00
Alexey Pyltsyn
753d117025
v2.0.0-alpha.54
2020-04-28 09:49:27 +03:00
Alexey Pyltsyn
d90fdb04d5
v2.0.0-alpha.53
2020-04-27 16:38:33 +03:00
Alexey Pyltsyn
7359945f52
v2.0.0-alpha.52
2020-04-27 16:30:15 +03:00
Alexey Pyltsyn
c9c5aedcb5
v2.0.0-alpha.51
2020-04-27 14:44:56 +03:00
Alexey Pyltsyn
1f00d15c74
chore(v2): fix code style (revert previous changes)
2020-04-05 17:38:12 +03:00
Alexey Pyltsyn
6965a668cd
chore(v2): fix code style
2020-04-05 17:30:59 +03:00
Yangshun Tay
b07507c9cc
chore(v2): upgrade devDependencies ( #2538 )
...
* chore(v2): upgrade devDependencies
* chore(v2): upgrade devDependencies
* chore: prettier
2020-04-05 19:07:44 +08:00
Alexey Pyltsyn
c207c3ba31
v2.0.0-alpha.50
2020-04-02 21:00:47 +03:00
Yangshun Tay
409f169379
v2.0.0-alpha.49
2020-04-01 16:00:14 +08:00
Alexey Pyltsyn
38bb8c4ced
v2.0.0-alpha.48
2020-03-09 01:46:10 +03:00
Alexey Pyltsyn
1dc1f21e91
v2.0.0-alpha.47
2020-03-08 23:40:44 +03:00
Alexey Pyltsyn
9d45993da2
v2.0.0-alpha.46
2020-03-08 23:29:42 +03:00
Alexey Pyltsyn
bbb465be02
v2.0.0-alpha.45
2020-03-08 23:07:13 +03:00
Yangshun Tay
1e09feb2db
v2.0.0-alpha.44
2020-03-08 23:45:30 +08:00
Alexey Pyltsyn
68a5cd5df1
fix(v2): make proper path to pages in TS ( #2334 )
2020-02-27 09:59:02 +08:00
Yangshun Tay
32c1a92b17
chore: yearless copyright headers for source code ( #2320 )
...
* chore: yearless copyright headers for source code
* update snapshots
2020-02-25 23:12:28 +08:00
Yangshun Tay
3056479ed2
v2.0.0-alpha.43
2020-02-18 18:54:39 +08:00
Yangshun Tay
8a96e0bff6
v2.0.0-alpha.42
2020-02-18 18:51:41 +08:00
Yangshun Tay
3ba753922e
Revert "v2.0.0-alpha.42"
...
This reverts commit d48200be7d
.
2020-02-18 18:47:36 +08:00
Alexey Pyltsyn
d48200be7d
v2.0.0-alpha.42
2020-02-18 13:29:02 +03:00
Yangshun Tay
d39c301db8
v2.0.0-alpha.41
2020-02-16 23:03:18 +08:00
Jonathan Delgado
5cb3309790
feat(v2): allow for TypeScript pages and components ( #2221 )
2020-01-20 10:55:50 +08:00
Yangshun Tay
a38125a718
chore: drop support for node <10.9 ( #2207 )
...
* drop node <10.9 on 2020
* misc: add nvmrc
Co-authored-by: Endi <endiliey@gmail.com>
2020-01-12 13:24:11 +08:00
endiliey
dad50823b6
v2.0.0-alpha.40
2019-12-25 16:41:52 +07:00