mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-06 20:32:55 +08:00
docs: fix i18n language switch path error (#845)
docs: fix i18n language switch by using dual prefix locales Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
- style: |邮件列表| 优化收件箱和发件箱空状态显示,根据邮件数量显示不同提示信息,添加语义化图标
|
- style: |邮件列表| 优化收件箱和发件箱空状态显示,根据邮件数量显示不同提示信息,添加语义化图标
|
||||||
- feat: |后台管理| 邮箱地址列表来源IP添加 ip.im 查询链接,点击可快速查看IP信息
|
- feat: |后台管理| 邮箱地址列表来源IP添加 ip.im 查询链接,点击可快速查看IP信息
|
||||||
|
- docs: |文档| 修复 VitePress 中英文切换路径错误,改用双前缀 locale 配置
|
||||||
|
|
||||||
## v1.3.0
|
## v1.3.0
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export default defineConfig({
|
|||||||
lang: 'zh-CN',
|
lang: 'zh-CN',
|
||||||
lastUpdated: true,
|
lastUpdated: true,
|
||||||
locales: {
|
locales: {
|
||||||
root: { label: '简体中文', ...zh },
|
zh: { label: '简体中文', ...zh },
|
||||||
en: { label: 'English', ...en }
|
en: { label: 'English', ...en }
|
||||||
},
|
},
|
||||||
head: [
|
head: [
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ function nav(): DefaultTheme.NavItem[] {
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
text: '主页',
|
text: '主页',
|
||||||
link: '/',
|
link: '/zh/',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: '指南',
|
text: '指南',
|
||||||
@@ -62,11 +62,11 @@ function nav(): DefaultTheme.NavItem[] {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: '服务状态',
|
text: '服务状态',
|
||||||
link: '/status',
|
link: '/zh/status',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: '参考',
|
text: '参考',
|
||||||
link: '/reference',
|
link: '/zh/reference',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: process.env.TAG_NAME || 'v0.2.2',
|
text: process.env.TAG_NAME || 'v0.2.2',
|
||||||
@@ -165,6 +165,6 @@ function sidebarGuide(): DefaultTheme.SidebarItem[] {
|
|||||||
{ text: 'Admin 用户管理', link: 'feature/admin-user-management' },
|
{ text: 'Admin 用户管理', link: 'feature/admin-user-management' },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{ text: '参考', base: "/", link: 'reference' }
|
{ text: '参考', base: "/zh/", link: 'reference' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
31
vitepress-docs/docs/zh/index.md
Normal file
31
vitepress-docs/docs/zh/index.md
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
---
|
||||||
|
# https://vitepress.dev/reference/default-theme-home-page
|
||||||
|
layout: home
|
||||||
|
|
||||||
|
hero:
|
||||||
|
name: "临时邮箱文档"
|
||||||
|
tagline: "搭建 CloudFlare 免费收发 临时域名邮箱"
|
||||||
|
actions:
|
||||||
|
- theme: brand
|
||||||
|
text: 立即试用
|
||||||
|
link: https://mail.awsl.uk/
|
||||||
|
- theme: alt
|
||||||
|
text: 命令行部署
|
||||||
|
link: /zh/guide/quick-start
|
||||||
|
- theme: alt
|
||||||
|
text: 通过用户界面部署
|
||||||
|
link: /zh/guide/quick-start
|
||||||
|
- theme: alt
|
||||||
|
text: 通过 Github Actions 部署
|
||||||
|
link: /zh/guide/quick-start
|
||||||
|
|
||||||
|
features:
|
||||||
|
- title: 仅需域名即可私有部署, 免费托管在 CloudFlare,无需服务器
|
||||||
|
details: 支持 password 登录邮箱, 用户注册,使用访问密码可作为私人站点,支持附件功能。
|
||||||
|
- title: 使用 rust wasm 解析邮件
|
||||||
|
details: 使用 rust wasm 解析邮件,支持邮件各种RFC标准,支持附件, 速度极快
|
||||||
|
- title: 支持 Telegram Bot 和 Webhook
|
||||||
|
details: 邮件可转发到 Telegram 或者 webhook, Telegram Bot 支持绑定邮箱,查看邮件, Telegram 小程序
|
||||||
|
- title: 支持发送邮件(UI/API/SMTP)
|
||||||
|
details: 支持通过域名邮箱发送 txt 或者 html 邮件,支持 DKIM 签名, UI/API/SMTP 发送邮件
|
||||||
|
---
|
||||||
6
vitepress-docs/docs/zh/reference.md
Normal file
6
vitepress-docs/docs/zh/reference.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Reference
|
||||||
|
|
||||||
|
- https://developers.cloudflare.com/d1/
|
||||||
|
- https://developers.cloudflare.com/pages/
|
||||||
|
- https://developers.cloudflare.com/workers/
|
||||||
|
- https://developers.cloudflare.com/email-routing/
|
||||||
8
vitepress-docs/docs/zh/status.md
Normal file
8
vitepress-docs/docs/zh/status.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Status Page
|
||||||
|
|
||||||
|
[Status Link](https://uptime.aks.awsl.icu/status/temp-email)
|
||||||
|
|
||||||
|
| Service | Status |
|
||||||
|
| ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| [Backend](https://temp-email-api.awsl.uk/) |       |
|
||||||
|
| [Frontend](https://mail.awsl.uk/) |       |
|
||||||
Reference in New Issue
Block a user