Skip to content

Conversation

Nsttt
Copy link
Contributor

@Nsttt Nsttt commented Sep 5, 2025

Summary

This PR adds Zephyr to the docs page.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@Copilot Copilot AI review requested due to automatic review settings September 5, 2025 16:15
Copy link

netlify bot commented Sep 5, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 13c00df
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68c042da408dbf00087e402a
😎 Deploy Preview https://deploy-preview-6071--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 86 (🟢 up 32 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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

Copy link
Contributor

@Copilot 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 documentation for Zephyr Cloud deployment integration to the Rsbuild project, introducing Zephyr as a zero-config deployment platform option for Rsbuild applications.

  • Adds comprehensive documentation for Zephyr Cloud deployment with setup instructions and configuration examples
  • Includes a dedicated section in the main README promoting Zephyr Cloud integration
  • Registers the new documentation in the deployment guide navigation

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

File Description
website/docs/en/guide/deployment/zephyr-cloud.mdx New comprehensive documentation file covering Zephyr Cloud deployment setup, configuration examples, and integration details
website/docs/en/guide/deployment/_meta.json Registers the new Zephyr Cloud documentation in the deployment guide navigation
README.md Adds promotional section for Zephyr Cloud with logo reference and feature highlights

@Nsttt Nsttt force-pushed the feat/zephyr branch 2 times, most recently from 5e232c9 to e92f1fb Compare September 6, 2025 09:35
@Nsttt Nsttt changed the title docs: add zephyr to readme and docs page docs: add zephyr to docs page Sep 6, 2025
Comment on lines 89 to 131
1. Install the Zephyr plugin for Rsbuild:

```bash
npm install zephyr-rsbuild-plugin --save-dev
```

2. Add the plugin to your Rsbuild configuration:

```ts title="rsbuild.config.ts"
import { defineConfig } from '@rsbuild/core';
import { pluginReact } from '@rsbuild/plugin-react';
import { withZephyr } from 'zephyr-rsbuild-plugin';

export default defineConfig({
plugins: [pluginReact(), withZephyr()],
});
```

or with Module Federation

```ts title="rsbuild.config.ts"
import { defineConfig } from '@rsbuild/core';
import { pluginReact } from '@rsbuild/plugin-react';
import { pluginModuleFederation } from '@module-federation/rsbuild-plugin';
import { withZephyr } from 'zephyr-rsbuild-plugin';

export default defineConfig({
plugins: [
pluginReact(),
pluginModuleFederation({
name: 'my-app',
remotes: {
'shared-ui': 'shared_ui@http://localhost:3001/remoteEntry.js',
},
shared: {
react: { singleton: true },
'react-dom': { singleton: true },
},
}),
withZephyr(), // Add after Module Federation
],
});
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we link this part to the README of zephyr-rsbuild-plugin? This allows users to see up-to-date documentation

@chenjiahan
Copy link
Member

chenjiahan commented Sep 9, 2025

@Nsttt Could you update this PR to align with web-infra-dev/rspress#2555? Thank you!

@Nsttt
Copy link
Contributor Author

Nsttt commented Sep 9, 2025

Added @chenjiahan

Copy link
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@chenjiahan chenjiahan merged commit cea28a2 into web-infra-dev:main Sep 10, 2025
11 checks passed
@chenjiahan chenjiahan mentioned this pull request Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants