forked from FirefoxBar/HeaderEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
295 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"header.search.placeholder": "输入关键字搜索...", | ||
"header.color.mode.light": "亮色模式", | ||
"header.color.mode.dark": "暗色模式", | ||
"header.color.mode.auto": "跟随系统", | ||
"header.social.github": "GitHub", | ||
"header.social.weibo": "微博", | ||
"header.social.twitter": "Twitter", | ||
"header.social.gitlab": "GitLab", | ||
"header.social.facebook": "Facebook", | ||
"header.social.zhihu": "知乎", | ||
"header.social.yuque": "语雀", | ||
"header.social.linkedin": "Linkedin", | ||
"previewer.actions.code.expand": "展开代码", | ||
"previewer.actions.code.shrink": "收起代码", | ||
"previewer.actions.codesandbox": "在 CodeSandbox 中打开", | ||
"previewer.actions.codepen": "在 CodePen 中打开(未实现)", | ||
"previewer.actions.stackblitz": "在 StackBlitz 中打开", | ||
"previewer.actions.separate": "在独立页面中打开", | ||
"404.title": "页面未找到", | ||
"404.back": "返回首页", | ||
"api.component.name": "属性名", | ||
"api.component.description": "描述", | ||
"api.component.type": "类型", | ||
"api.component.default": "默认值", | ||
"api.component.required": "(必选)", | ||
"api.component.unavailable": "必须启用 apiParser 才能使用自动 API 特性", | ||
"api.component.loading": "属性定义正在解析中,稍等片刻...", | ||
"api.component.not.found": "未找到 {id} 组件的属性定义", | ||
"content.tabs.default": "文档", | ||
"search.not.found": "未找到相关内容", | ||
"layout.sidebar.btn": "侧边菜单" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { defineConfig } from 'dumi'; | ||
|
||
export default defineConfig({ | ||
themeConfig: { | ||
name: 'Header Editor', | ||
logo: false, | ||
footer: false, | ||
socialLinks: { | ||
github: 'https://github.com/FirefoxBar/HeaderEditor', | ||
}, | ||
}, | ||
locales: [ | ||
{ id: 'zh-CN', name: '简体中文' }, | ||
{ id: 'en-US', name: 'English' }, | ||
{ id: 'zh-TW', name: '繁體中文' }, | ||
], | ||
analytics: { | ||
baidu: 'eddab75c23e1853a476011bb95a585c9', | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
pnpm-lock.yaml | ||
pnpm-lock.yaml | ||
.dumi/tmp | ||
.dumi/tmp-production | ||
dist |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
--- | ||
title: Header Editor | ||
home: true | ||
heroText: Header Editor | ||
tagline: 一款修改请求的扩展 | ||
actionText: 开始使用 | ||
actionLink: /zh-CN/guide/ | ||
features: | ||
- title: 修改请求 | ||
details: 基于规则,修改请求头、响应头,进行重定向。 | ||
- title: 自定义函数 | ||
details: 通过自定义函数,更精确的控制请求。 | ||
- title: 导出和同步 | ||
details: 规则可以自由导入和导出,并可使用云同步(需要浏览器支持)。 | ||
footer: Copyright © 2019 - 2023 FirefoxBar | ||
--- | ||
# Header Editor Docs | ||
|
||
A static site base on [dumi](https://d.umijs.org). | ||
|
||
## Development | ||
|
||
```bash | ||
# install dependencies | ||
$ pnpm install | ||
|
||
# start dev server | ||
$ pnpm start | ||
|
||
# build docs | ||
$ pnpm run build | ||
``` | ||
|
||
## LICENSE | ||
|
||
MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
--- | ||
group: | ||
title: Introduction | ||
title: FAQ | ||
lang: en | ||
order: 2 | ||
--- | ||
|
||
## Why is "header name" reduced to lowercase? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
--- | ||
nav: 指南 | ||
group: 介绍 | ||
title: FAQ | ||
lang: zh-CN | ||
order: 2 | ||
--- | ||
|
||
## 为什么“头名称”变成小写了? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
--- | ||
group: | ||
title: 介紹 | ||
title: FAQ | ||
lang: zh-TW | ||
order: 2 | ||
--- | ||
|
||
## 为什么“头名称”变成小写了? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
docs/zh-TW/custom-function.md → docs/docs/guide/custom-function.zh-TW.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
--- | ||
group: | ||
title: 高級 | ||
order: 3 | ||
title: 自訂函數 | ||
lang: zh-TW | ||
order: 1 | ||
--- | ||
|
||
## 綜述 | ||
|
Oops, something went wrong.