Netlify now provides `*.netlify.app` subdomains instead of `*.netlify.com` for project sites. Redirects still work, so the current config option isn't wrong but it's a good idea to keep the docs up to date.
* feat: allow GIT_USER env var to be unset if SSH is used
* fix: packages/docusaurus/src/commands/deploy.ts
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* feat: allow user to specify deploymentBranch property in docusaurus.config.js (#5841)
* feat: allow user to specify deploymentBranch property in docusaurus.config.js
* docs: remove extra backtick
* docs: fix broken code block
* docs: fix i18n routes to feature requests (#5843)
* docs: fix i18n routes to feature requests
* Add redirect rules
* feat: allow GIT_USER env var to be unset if SSH is used
* fix: packages/docusaurus/src/commands/deploy.ts
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* fix: avoid escaping hyphen in regex
* Refactor
* Update deployment.mdx
* Make SSH higher priority
* Only infer but not override
* Add tests
* Fix tests
* Fix
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* docs: Minor copy changes + increment numbered list
* docs: Add alternative github pages deploy workflow
* docs: Add separate PR workflow for alternative gh-pages deploy example
* docs: Minor `gh-pages` deploy config improvements
Improve some comments and clarifies the file path beyond file name alone for each config file.
Additionally removes the workflow path triggers as in practice these being updated shouldn't be triggering a re-run of the workflow again (assuming deterministic build from same input results in same output).
If there is a need for such a manual trigger of the workflow is probably a better approach. Performing a build because workflow comments were modified only would be pointless for example.
* docs: Clarify `gh-pages` deploy config some more
* chore: PR Feedback - Remove inline documentation
Upstream doesn't see value including help comments for a copy/paste config under the basis that it adds friction to the viewer seeking guidance how to perform something they don't know.
* chore: PR Feedback - Rephrase instruction
MatanBobi requested a rephrase during review.
* Rewrite
* Fixes
* Fix!
* Format
* Fix indentation
* Improvements
* Minor fixes
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
* SSH is required for GitHub deployment now
Matches what is listed in the default README.md of a new Docusaurus site
* Minimum node version required is 14.x
documentation.yml as written fails to run because the minimum node version for Docusaurus is 14.x
* Add link to default URL of locally-served site
* Correct deployment workflow
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* Update deploy with Qovery docs for V2
Hello Docusaurus team,
I updated the docs for the new Qovery V2
https://www.qovery.com/blog/qovery-v2-beta-is-out
* run prettier on docs
Co-authored-by: slorber <lorber.sebastien@gmail.com>
* POC: add trailingSlash option
* integrate the preferFoldersOutput option of fork @slorber/static-site-generator-webpack-plugin
* Fix broken links when using trailing slash => using md links is more reliable
* fix TS issue
* minor polish
* fix doc page being sensitive to trailing slashes
* Add tests for applyTrailingSlash
* rename test files
* extract and test applyRouteTrailingSlash
* update snapshot
* add trailing slash config to serve command
* fix getSidebar() => still sensitive to trailing slash setting
* never apply trailing slash to an anchor link
* Add documentation for trailingSlash setting
* Creating a way to configure the port used on the guthub deploy.
* Fixing some mistakes
Documenting
Adding githubPort documentation on docusaurus.config.js.
Addind SSH protocol prefix. ssh://
Using the default protocol port instead of define it on the code.
Prettify.
* Fixing some mistakes
Documenting
Adding githubPort documentation on docusaurus.config.js.
Addind SSH protocol prefix. ssh://
Using the default protocol port instead of define it on the code.
Prettify.
* Isolating the logic to generate the url and testing it.
* Changing all the names used on tests to something more unserstandable.
* Prettify
Co-authored-by: Tales Porto <t.andrade-porto@klarna.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>
* Added the ability to specify GIT_PASS (for CI purposes)
* Fixed variable copy issue
* Added documentation for GIT_PASS
Co-authored-by: Stephen McElhinney <stephen@appstruct.io>