Skip to content

Conversation

@YDX-2147483647
Copy link
Member

@YDX-2147483647 YDX-2147483647 commented Oct 30, 2025

Please leave this PR unmerged for a while to test netlify…
It works! Ready for review now.

Resolves #13

@netlify
Copy link

netlify bot commented Oct 30, 2025

Deploy Preview for typst-docs-web ready!

Name Link
🔨 Latest commit a5f97b7
🔍 Latest deploy log https://app.netlify.com/projects/typst-docs-web/deploys/69034012c190950007a0b392
😎 Deploy Preview https://deploy-preview-30--typst-docs-web.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@3w36zj6 3w36zj6 requested a review from Copilot October 30, 2025 02:33
Copy link
Contributor

Copilot AI left a 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 _site directory
  • 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.

@3w36zj6 3w36zj6 requested review from 3w36zj6 and Copilot October 30, 2025 16:28
Copy link
Contributor

Copilot AI left a 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.

@3w36zj6 3w36zj6 changed the title ci(netlify): initial setup ci: add build script and configuration for Netlify deployment Oct 30, 2025
@3w36zj6 3w36zj6 merged commit 544f74c into typst-community:main Oct 31, 2025
20 checks passed
@YDX-2147483647 YDX-2147483647 deleted the netlify branch October 31, 2025 15:40
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.

Setup PR preview bot

2 participants