* bug(v2): fix svg loader for styles re #3964
* ensure we only use SVGR loader in source code that can use React (ie not in CSS files)
* fix test
Co-authored-by: slorber <lorber.sebastien@gmail.com>
* test(v2): Fix docusaurus-utils tests for windows
* test(v2): Fix plugin-client-redirects test
- add the posixPath in writeRedirectsFiles.ts
* test(v2): Fix plugin-content-pages test
add posixPath in test and index
* test(v2): add window test configuration
- add the window test configuration in nodejs-windows.yml
* test(v2): revert plugin-content-pages test fix
* test(v2): Fix mdx-loader/transformImage test
* test(v2): add cleanPath in transformImage test
* fix version path tests for windows
* make versionMetadata test work on Windows
* try to fix posix/win32 path issues
* attempt to fix windows test
* try to make source alias less win32 sensitive
* try to make source alias less win32 sensitive
* try to make source alias less win32 sensitive
* try to make source alias less win32 sensitive
* try to make source alias less win32 sensitive
* try to make source alias less win32 sensitive
* specific jest config for windows
* attempt to fix windows testing issue
* attempt to fix windows testing issue
* attempt to fix windows testing issue
* attempt to fix windows testing issue
* attempt to fix windows testing issue
* attempt to fix windows testing issue
* attempt to fix windows testing issue
* remove bad cleanPath fn
* try to fix windows tests
* try to fix windows tests
* blog: try to fix windows tests by using same logic as on docs plugin
* try to fix windows tests
* try to fix windows tests
* try to fix windows tests
* try to fix windows tests
* improve the Github CI setup for windows: make jobs run in parallel
* revert GH action change
Co-authored-by: Sachin Kumar Rajput <skr571999@gmail.com>
* replace \ with / when creating client redirect on windows
* fix(vs): replace \ with / when creating client redirect on windows
* redirects plugin: add createToUrl fn + tests
* redirects plugin: add createToUrl fn + tests
do not add trailing slash + try to fix windows path issues
Co-authored-by: slorber <lorber.sebastien@gmail.com>
Added ***docs: false,*** to the config for blog-only mode because we do not want any documents if we're in blog-only mode otherwise, we probably wouldn't use blog-only mode.
* feat: enables feeds by default in blog
* feat(v2): enable feeds by default
committing a failed attempt for review
* feat(v2): enable feeds by default in blog plugin
- allow validation to work with arrays syntax
- using DEFAULT_OPTIONS.feedOptions.type instead
* feat(v2): enable feeds by default in blog plugin
- added documentation for feedOptions
* feat(v2): enable feeds by default in blog plugin
- modified implementation to allow feeds to be disable without error
- added unit test to ensure type: null leads to type: null after
validation
- added documentation to explain how to disable feed generation
The Open Graph protocol format is the following:
```
<meta property="og:image" content="https://example.com/image.png />
```
Twitter metas, however, are structured in a different format:
```
<meta name="twitter:image" content="https://example.com/image.png />
```
They are similar but not identical, I think this led to confusion and
the typo we have in the codebase.