Skip to content

Commit

Permalink
docs: add rsfamily-design-resources (web-infra-dev#6053)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Mar 28, 2024
1 parent bf77f36 commit a500c0d
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 25 deletions.
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,14 @@ Come chat with us on [Discord](https://discord.gg/79ZZ66GH9E)! Rspack team and R

## Links

| Name | Description |
| --------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [Rspack website](https://rspack.dev) | Official documentation for Rspack |
| [Rspack website repo](https://github.com/web-infra-dev/rspack-website) | Repository of official documentation |
| [Rspack examples repo](https://github.com/rspack-contrib/rspack-examples) | Rspack configuration examples |
| [rspack-sources](https://github.com/web-infra-dev/rspack-sources) | Rust port of [webpack-sources](https://www.npmjs.com/package/webpack-sources) |
| [rspack-migration-showcase](https://github.com/web-infra-dev/rspack-migration-showcase) | Migration showcases for Rspack |
| [rspack-compat](https://github.com/web-infra-dev/rspack-compat) | Rspack compatible loaders and plugins examples |

| Name | Description |
| ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [Rspack website](https://rspack.dev) | Official documentation for Rspack |
| [rspack-examples](https://github.com/rspack-contrib/rspack-examples) | Rspack configuration examples |
| [rspack-sources](https://github.com/web-infra-dev/rspack-sources) | Rust port of [webpack-sources](https://www.npmjs.com/package/webpack-sources) |
| [rspack-migration-showcase](https://github.com/web-infra-dev/rspack-migration-showcase) | Migration showcases for Rspack |
| [rspack-compat](https://github.com/web-infra-dev/rspack-compat) | Rspack compatible loaders and plugins examples |
| [rsfamily-design-resources](https://github.com/rspack-contrib/rsfamily-design-resources) | Design resources for Rspack, Rsbuild, Rspress and Rsdoctor |

## Contributors

Expand Down
17 changes: 8 additions & 9 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,14 @@

## 链接

| 名称 | 描述 |
| --------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| [Rspack 文档](https://rspack.dev) | Rspack 官方文档 |
| [Rspack 文档仓库](https://github.com/web-infra-dev/rspack-website) | Rspack 官方文档的代码仓库 |
| [Rspack examples repo](https://github.com/rspack-contrib/rspack-examples) | Rspack 配置示例 |
| [rspack-sources](https://github.com/web-infra-dev/rspack-sources) | Rust 版本的 [webpack-sources](https://www.npmjs.com/package/webpack-sources) |
| [rspack-migration-showcase](https://github.com/web-infra-dev/rspack-migration-showcase) | 迁移到 Rspack 的示例项目 |
| [rspack-compat](https://github.com/web-infra-dev/rspack-compat) | 兼容 Rspack 的 Webpack 插件 和 Loader 示例 |

| 名称 | 描述 |
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| [Rspack 文档](https://rspack.dev) | Rspack 官方文档 |
| [rspack-examples](https://github.com/rspack-contrib/rspack-examples) | Rspack 配置示例 |
| [rspack-sources](https://github.com/web-infra-dev/rspack-sources) | Rust 版本的 [webpack-sources](https://www.npmjs.com/package/webpack-sources) |
| [rspack-migration-showcase](https://github.com/web-infra-dev/rspack-migration-showcase) | 迁移到 Rspack 的示例项目 |
| [rspack-compat](https://github.com/web-infra-dev/rspack-compat) | 兼容 Rspack 的 Webpack 插件 和 Loader 示例 |
| [rsfamily-design-resources](https://github.com/rspack-contrib/rsfamily-design-resources) | Rspack、Rsbuild、Rspress 和 Rsdoctor 的设计资源 |

## 致谢

Expand Down
2 changes: 1 addition & 1 deletion scripts/alert/discord.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const res = await fetch(DISCORD_WEBHOOK_URL, {
body: JSON.stringify({
username: "rspack-bot",
avatar_url:
"https://raw.githubusercontent.com/web-infra-dev/rspack-website/main/docs/public/logo.png",
"https://raw.githubusercontent.com/web-infra-dev/rspack/main/website/docs/public/logo.png",
embeds: [
{
title: TITLE,
Expand Down
6 changes: 6 additions & 0 deletions website/docs/en/misc/branding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ When used standalone, Rspack should always be written as Rspack, not rspack or R
Rspack logo is a small crab as fast as lightning, representing fast compilation of Rspack.

<img src={Logo} alt="Rspack Logo" style={{ width: '300px' }} />

## Design Resources

You can find all of Rspack's design resources under the [rsfamily-design-resources](https://github.com/rspack-contrib/rsfamily-design-resources) repository.

The design resources of Rspack are licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en) license.
2 changes: 1 addition & 1 deletion website/docs/en/misc/license.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## Rspack documentation

Unless otherwise noted, the content of the documents is from [rspack-website contributors](https://github.com/web-infra-dev/rspack-website/network/dependencies) and is licensed under the [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.en) license.
Unless otherwise noted, the content of the documents is from [Rspack website contributors](https://github.com/web-infra-dev/rspack/network/contributors) and is licensed under the [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.en) license.
6 changes: 6 additions & 0 deletions website/docs/zh/misc/branding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ Rspack 在独立使用的情况下都应该写作 Rspack,而不是 rspack 或
Rspack 的 Logo 是一个如闪电一样迅速的小螃蟹,代表了 Rspack 的快速编译。

<img src={Logo} alt="Rspack Logo" style={{ width: '300px' }} />

## 设计资源

你可以在 [rsfamily-design-resources](https://github.com/rspack-contrib/rsfamily-design-resources) 仓库下找到 Rspack 相关的所有设计资源。

Rspack 的设计资源遵循 [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en) 协议。
2 changes: 1 addition & 1 deletion website/docs/zh/misc/license.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## Rspack 文档

除非另有说明,本站文档内容源自 [rspack-website 贡献者](https://github.com/web-infra-dev/rspack-website/network/dependencies),遵循 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh) 许可协议。
除非另有说明,本站文档内容源自 [Rspack website 贡献者](https://github.com/web-infra-dev/rspack/network/contributors),遵循 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh) 许可协议。
12 changes: 8 additions & 4 deletions website/rspress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,17 @@ function getNavConfig(lang: 'zh' | 'en'): NavItem[] {
text: 'Awesome Rspack',
link: 'https://github.com/web-infra-dev/awesome-rspack',
},
{
text: 'Rspack Compat',
link: 'https://github.com/web-infra-dev/rspack-compat',
},
{
text: 'Rspack Examples',
link: 'https://github.com/rspack-contrib/rspack-examples',
},
{
text: 'Rspack Compat',
link: 'https://github.com/web-infra-dev/rspack-compat',
text: 'Rsfamily Design Resources',
link: 'https://github.com/rspack-contrib/rsfamily-design-resources',
},
{
text: 'Rspack Community Packages',
Expand All @@ -100,7 +104,7 @@ function getNavConfig(lang: 'zh' | 'en'): NavItem[] {
{
text: getText(
'未来默认行为与功能废弃',
'Future behavior & Deprecation',
'Future behavior & Deprecation'
),
link: getLink('/misc/future'),
},
Expand Down Expand Up @@ -350,7 +354,7 @@ function getSidebarConfig(lang: 'zh' | 'en'): Sidebar {
{
text: getText(
'Rspack 支持模块联邦',
'Module Federation added to Rspack',
'Module Federation added to Rspack'
),
link: getLink('/blog/module-federation-added-to-rspack'),
},
Expand Down

0 comments on commit a500c0d

Please sign in to comment.