-
Notifications
You must be signed in to change notification settings - Fork 1
ci: add build script and configuration for Netlify deployment #30
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
Conversation
✅ Deploy Preview for typst-docs-web ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
c368dd1 to
6786769
Compare
6786769 to
ec868fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds Netlify deployment configuration to the project by introducing a netlify.toml configuration file and a comprehensive netlify-build.sh build script. The build script automates the setup and build process for multiple documentation versions (en-US v0.14.0, v0.13.1, and ja-JP).
Key changes:
- Netlify configuration that executes the build script and publishes the
_sitedirectory - Build script that installs dependencies (mise, sd, bun), fetches documentation assets from external sources, and builds multiple localized documentation versions
- Generation of an index page to navigate between different documentation versions
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| netlify.toml | Configures Netlify to use the custom build script and specify the publish directory |
| netlify-build.sh | Implements automated deployment script that installs tools, fetches docs assets, generates index page, and builds multiple documentation versions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]> Co-authored-by: 3w36zj6 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Please leave this PR unmerged for a while to test netlify…It works! Ready for review now.
Resolves #13