Alexey Pyltsyn
0360364570
fix(v2): do not focus on skip link if page refreshed ( #4797 )
...
* fix(v2): do not focus on skip link if page refreshed
* rename ref
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-05-18 15:55:11 +02:00
Sébastien Lorber
ab19070ab5
feat(v2): Add hebrew theme translations ( #4811 )
2021-05-18 15:22:38 +02:00
Alexey Pyltsyn
d2a455992d
fix(v2): fix minor a11y issue with headings ( #4792 )
2021-05-18 14:41:30 +02:00
Alexey Pyltsyn
be9f9d6df7
refactor(v2): remove transition on body element ( #4795 )
2021-05-18 14:38:13 +02:00
Alexey Pyltsyn
b561679fd4
fix(v2): unbreak enhanced width of doc item wrapper ( #4793 )
2021-05-18 12:56:09 +02:00
Alexey Pyltsyn
c0b8e9116a
chore(v2): update sharp to 0.28.2 ( #4806 )
2021-05-18 09:53:04 +02:00
PsychTech
73c24ecdcb
feat(v2): add theme Danish translation ( #4798 )
2021-05-17 19:34:57 +02:00
Tinaël Devresse
2c88cb2331
docs(v2): Add i18n tag and fix typo ( #4803 )
...
* Add i18n tag to https://tinaeldevresse.eu/
* Fix typo
2021-05-17 18:25:52 +02:00
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
Nam Hoang Le
e092910627
fix(v2): improve BlogPostFrontMatter schema validation ( #4759 )
...
* fix(v2): improve BlogPostFrontMatter schema validation
* Edit doc
* Add deprecate warning message
* minor changes, disable warnings temporarily
* only disable warnings + fix frontmatter date type
Co-authored-by: Nam Hoang Le <nam.hoang.le@mgm-tp.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-05-14 18:52:51 +02:00
Tinaël Devresse
b33ee8226d
docs(v2): Add tinaeldevresse.eu to Docusaurus' gallery ( #4786 )
...
* Add tinaeldevresse.eu to Docusaurus' gallery
* Update website/src/data/users.js
* Update website/src/data/users.js
Co-authored-by: hunteroi <me@tinaeldevresse.eu>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-05-14 16:22:43 +02:00
Sébastien Lorber
01adf25b0f
chore(v2): TypeScript, use isolatedModules ( #4790 )
...
* Use isolatedModules
* better solution for useDocs?
* fix blog-only mode
* fix bad useDocs import
2021-05-14 15:36:55 +02:00
Sébastien Lorber
aaeda674b1
chore: fix canary version name ( #4791 )
2021-05-14 13:03:20 +02:00
Sam Zhou
3548686f59
feat(v2): Allow customization of js loader, replace babel by esbuild in Docusaurus website ( #4766 )
...
* feat(v2): Allow customization of js loader
* Change API
* use esbuild for Docusaurus website
* Enable isolatedModules: true
* Revert "Enable isolatedModules: true"
This reverts commit e656c350
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-05-14 11:30:34 +02:00
Sébastien Lorber
c8812cf3b5
fix(v2): transpile libs with too recent syntax with babel ( #4789 )
2021-05-14 10:21:52 +02:00
Sébastien Lorber
dd8d650900
fix(v2): update notifier should never suggest to downgrade ( #4784 )
...
see https://github.com/yeoman/update-notifier/pull/192
2021-05-13 14:31:37 +02:00
Sébastien Lorber
3c6a0ac97e
docs(v2): remove docs for alpha 71 + 72 ( #4780 )
2021-05-12 17:18:37 +02:00
Sébastien Lorber
8c40714878
docs(v2): beta blog post edits ( #4779 )
...
* beta blog post edits
* beta blog post edits
2021-05-12 17:15:49 +02:00
Sébastien Lorber
8f8a5afb0c
chore: regenerate examples on 2.0.0-beta.0 ( #4777 )
2021-05-12 16:35:51 +02:00
Sébastien Lorber
85cf1be79a
docs(v2): Docusaurus 2 beta blog post ( #4756 )
...
* draft
* draft
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* update draft
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md
* update draft post
* link to testimonials collection
* remove alpha mention in doc
* Update website-1.x/blog/2021-05-12-announcing-docusaurus-two-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-12-announcing-docusaurus-two-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-12-announcing-docusaurus-two-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
* Update website-1.x/blog/2021-05-12-announcing-docusaurus-two-beta.md
Co-authored-by: Joel Marcey <joelm@fb.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Joel Marcey <joelm@fb.com>
2021-05-12 16:08:07 +02:00
Sébastien Lorber
7e4d7671c8
chore(v2): prepare v2.0.0-beta.0 release ( #4774 )
...
* beta.0 version docs + changelog
* fix config for beta switch
* v2.0.0-beta.0
2021-05-12 16:07:15 +02:00
Sébastien Lorber
fe6492aa87
docs(v2): Improve intro doc ( #4770 )
...
* Intro documentation refactoring
* useless images
* improve the intro doc
2021-05-12 14:40:35 +02:00
Костя Третяк
09d107969c
docs(v2): fix i18n doc: bad i18n page plugin path in code sample ( #4773 )
...
* fix(docs): fixed "Translate the pages"
* Update website/docs/i18n/i18n-tutorial.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-05-12 14:39:24 +02:00
Rodrigo Moreno
b995b0742a
feat(v2): add es translations for docusaurus-theme-classic ( #4762 )
2021-05-11 11:03:29 +02:00
Joshua Chen
bfce849467
docs(v2): add browsers support documentation ( #4758 )
...
* Add browsers support documentation
* Remove explicit link
* Fix highlighted lines
* Better wording
* Address suggestions
2021-05-11 11:03:05 +02:00
Joel Hans
cce9484a47
docs(v2): Add Netdata to showcase ( #4757 )
...
* docs(v2): Add Netdata to showcase
* Add files via upload
2021-05-10 19:03:02 +02:00
dependabot[bot]
141dc117a9
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 ( #4760 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 18:48:37 +02:00
Sébastien Lorber
271af118b9
docs(v2): fix Jest showcase screenshot ( #4754 )
2021-05-07 15:10:29 +02:00
Forresst
35e17ef129
fix(v2): improve french translation for theme-classic ( #4750 )
2021-05-07 11:02:43 +02:00
Sébastien Lorber
f17211e108
docs(v2): Update showcase page: add missing sites, change favorites, remove diem ( #4747 )
2021-05-06 21:26:02 +02:00
dependabot[bot]
2cba23aadf
chore(deps): bump lodash from 4.17.20 to 4.17.21 ( #4745 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 19:13:35 +02:00
dependabot[bot]
c5de037d1e
chore(deps): bump url-parse from 1.4.7 to 1.5.1 ( #4744 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 19:13:27 +02:00
dependabot[bot]
5abff35ccb
chore(deps): bump ua-parser-js from 0.7.21 to 0.7.28 ( #4742 )
...
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js ) from 0.7.21 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases )
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.21...0.7.28 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 19:13:08 +02:00
dependabot[bot]
f5f2a1e1d4
chore(deps): bump handlebars from 4.7.6 to 4.7.7 ( #4741 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 19:12:47 +02:00
Sébastien Lorber
e6231ce9d5
chore(v2): attempt to fix crowdin dl again ( #4746 )
2021-05-06 19:12:13 +02:00
Sébastien Lorber
461d487c56
chore(v2): fix prod deployment due to bad image path ( #4743 )
2021-05-06 19:02:38 +02:00
Sébastien Lorber
83ce660c0a
chore(v2): delay i18n-staging deployment to avoid Crowdin 409 errors ( #4740 )
2021-05-06 18:43:48 +02:00
Sébastien Lorber
9812bf89a8
chore(v2): Fix Crowdin 409 issues in CI ( #4739 )
2021-05-06 17:54:50 +02:00
Sébastien Lorber
a79c70c954
fix(v2): fix encoding of markdown image/file inline file-loaders ( #4736 )
...
* try to reproduce windows edge case due to file encoding
* mdx loader => required file paths should be escaped
* revert bad change
* try to fix posix path issues
* try to fix posix path issues
* attempt to fix the file-loader edge cases with non-ascii chars
* Add more example image edge-cases
2021-05-06 16:48:20 +02:00
Sergio Rafael Gianazza
39105f03d4
docs(v2): Added MediaMachine.io to showcase ( #4734 )
...
* Added MediaMachine information
* Add files via upload
2021-05-06 12:03:18 +02:00
Nam Hoang Le
404b4dba8b
fix(v2): markdown title parser should ignore all forms of MDX import statements ( #4735 )
...
Co-authored-by: Nam Hoang Le <nam.hoang.le@mgm-tp.com>
2021-05-06 11:50:21 +02:00
Nam Hoang Le
8c39826496
fix(v2): optimize markdown parser regex ( fix #4726 ) ( #4729 )
...
* fix(v2): optimize markdown parser regex
* Change test description
Co-authored-by: Nam Hoang Le <nam.hoang.le@mgm-tp.com>
2021-05-05 19:47:29 +02:00
Chris Owen
e641caba10
docs(v2): add CodeYourFuture to showcase ( #4731 )
...
* Add CodeYourFuture to Showcase
* Add the word Free to CodeYourFuture showcase
2021-05-05 19:19:30 +02:00
Ian Hornik
5fc5071882
docs(v2): specify google-analytics and gtag plugins ( #4703 )
...
Closes #4678
2021-05-04 16:46:07 +02:00
Sébastien Lorber
86cab6111b
docs(v2): fix doc lint ( #4727 )
2021-05-04 16:30:08 +02:00
Joshua Chen
ccf1a222a3
docs(v2): emphasize subset of markdown supported languages ( #4725 )
...
* doc(v2): emphasize subset of markdown supported
languages
* Update website/docs/guides/markdown-features/markdown-features-code-blocks.mdx
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-05-04 15:57:17 +02:00
Evan
3303543105
docs(v2): showcase personal site evantay ( #4711 )
...
* docs(v2): showcase personal site evantay
* Update website/src/data/users.js
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-05-03 18:47:09 +02:00
dependabot[bot]
b50819a3f1
chore(deps): bump y18n from 4.0.0 to 4.0.3 ( #4706 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 19:08:24 +02:00
Sébastien Lorber
0ef0d27c51
chore(v2): prepare v2.0.0.alpha-75 release ( #4707 )
...
* alpha 75
* v2.0.0-alpha.75
2021-04-30 18:41:55 +02:00
Reece Dunham
05e7250c08
feat(v2): Webpack 5, PostCSS 8 ( #4089 )
...
* Initial webpack 5 work
* It works on my machine (lol)
* Committing a bit more work
* It works - sorta
* Update packages/docusaurus/package.json
* at least fix prettier /shrug
* making more progress. build should work now, css stuff is still a bit broken
* Terser things
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Working on things
* Vendor webpack
* Repair chunks, and tests
* Rerun prettier
* Re-add client prefetching
* Update snapshots
* Update snapshots
* I hope this works
* Remove redundant dev server code
* relock
* Trying to reduce memory usage and fix things
* Dead code elim
* Search bar works!!!
* Prefetching should work again
* lock
* ts issue
* Repair snapshot
* Run prettier
* Fix the CI for now
* fix lint-prettier
* clean-css works, now for the other one
* Fix lockfile
* Fixes prettier
* Other css minification works!!!
* Add clean-css options, fix webpack versions
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Fix tests and several of the webpack loaders
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Re-add support for simple css minifier
* Update other related dependencies
* Fix lockfile
* Dev server fixups
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Simplify css things
* Update webpack, try with postcss 7
* Other cssnano repairs
* fix lockfile
* Clean up the babel preset
* Fix lockfile
* Bump RL SSR version
* Fix the build errors
* Lockfile fix
* It works again
* webpack 5 should close compiler after run
* add proper webpack5 persistent caching config
* upgrade webpack deps again
* reduce build perf timeouts to avoid build time regressions
* test if incremental build can run on netlify
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* test
* test
* test
* test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* fix existsSync() calls
* replace @ts-nocheck by a temporary Webpack type
* replace @ts-nocheck by a temporary Webpack type
* replace @ts-nocheck by a temporary Webpack type
* migrate existing stats.warningsFilter to config.ignoreWarnings
* remove stats from postBuild lifecycle data doc, as it is likely unused (we'll add it back if someone ask for it)
* improve build.ts TS issues + move some sync code to async
* cleanup TS of start.ts
* fix TS error
* fix TS issues
* fix TS issues
* fix ts error
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* script cleanup
* script cleanup
* re-enable @typescript-eslint/ban-ts-comment
* Deprecate getCacheLoader / getBabelLoader but keep retrocompatibility
* useless TS
* fix and comment gca(chunkName) prefetching function
* remove deprecated mainTemplate.requireFn
* temporarily use react-loadable-ssr-addon-v5-slorber until PR merged: https://github.com/facebook/docusaurus/pull/4089
* comment unsafeCache option
* add explicit and more precise webpack targets
* splitChunks, use new type: "css/mini-extract" as it seems recommended for webpack 5
* webpack error handling:
- log error.details as documented
- keep using react-dev-utils/formatWebpackMessages for now
* fix webpack5 warnings for evalSourceMapMiddleware.js
* typo
* rename webpackHotDevClient
* make all modifications of react-dev-utils explicit with a comment
* revert LogPlugin adapter
* loader-utils update
* add useful share cache comment
* add useful comments regarding the null-loader used in SSR for css files
* upgrade webpack-merge in a retrocompatible way
* use MiniCssExtractPlugin.emit false as recommended
* use @docusaurus/responsive-loader
* revert MiniCssExtractPlugin esModule: false change
* add link to PR for custom CleanWebpackPlugin
* pwa: add fallback to env variable or webpack 5 fails to build
* upgrade to CssMinimizerPlugin 2.0
* only build en locale for windows tests
* line breaks between errors
* add useful comment
* Fix e2e tests with Yarn2 not finding new init template dependencies
* fix bad import
* disable browserslist target as webpack already tries to use browserlists if a config is found, and it is a problem for existing sites
* webpack5 TS fixes
* fix getMinimizer order (even if it does not work yet)
* update postcss to v8, fix cssnano minimizer errors
* add NavbarItem position to types (useful for QuestDB site upgrade to Webpack5)
* add webpack cache env variable to reduce risk of webpack 5 adoption
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-04-30 18:06:53 +02:00