Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation website build fixes #3

Merged
merged 8 commits into from
Oct 29, 2024

Conversation

taraspos
Copy link
Contributor

Summary

Bunch of update to improve documentation website deployment:

  1. Configure submodules as shallow for quicker build
  2. Expose env variables DOCUSAURUS_CONFIG_URL and DOCUSAURUS_CONFIG_BASE_URL to allow dynamic configuration
  3. Configure routeBasePath to / as per https://docusaurus.io/docs/docs-introduction#docs-only-mode
  4. Update yarn build command to expose CLI params, to be able to use --out-build as per:
  5. Remove hardcoded docs prefix from redirect urls

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-3.d2mrezcly5gcqm.amplifyapp.com

@taraspos taraspos marked this pull request as ready for review October 29, 2024 15:46
@taraspos taraspos merged commit e9e7438 into main Oct 29, 2024
4 checks passed
@taraspos taraspos deleted the taras/documentation-website-build-fixes branch October 29, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants