Skip to content

Commit

Permalink
add doc for document
Browse files Browse the repository at this point in the history
  • Loading branch information
an-lee committed Nov 19, 2024
1 parent d18ebfc commit 81093e5
Show file tree
Hide file tree
Showing 12 changed files with 54 additions and 24 deletions.
5 changes: 3 additions & 2 deletions 1000-hours/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,9 @@ export default withMermaid(
text: "阅读文本",
collapsed: false,
items: [
{ text: "在线文章", link: "/enjoy-app/webpage" },
{ text: "本地电子书", link: "/enjoy-app/ebook" },
{ text: "简介", link: "/enjoy-app/document" },
{ text: "本地文档", link: "/enjoy-app/document-ebook" },
{ text: "在线文章", link: "/enjoy-app/document-webpage" },
],
},
{
Expand Down
35 changes: 35 additions & 0 deletions 1000-hours/enjoy-app/document-ebook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 本地电子书

目前暂时支持的格式有:

- epub
- txt
- markdown

点击左侧栏的 `文档` 进入,点击 `添加资源` 按钮,选择对应的文件即可。

![添加文档](/images/enjoy/document-add.png)

## 文档设置

点击左上角的齿轮按钮,可以进行文档设置。例如是否进行自动翻译、连续朗读等。

![文档设置](/images/enjoy/document-settings.png)

## 文档翻译

文档每个段落顶部有翻译按钮,点击即可翻译。

![文档翻译](/images/enjoy/document-translate.png)

## 文档播放

文档每个段落顶部有播放按钮,点击即可播放。

![文档播放](/images/enjoy/document-play.png)

## 文档跟读

文档朗读语音生成后,可以点击 `跟读训练` 按钮,进行跟读。

![文档跟读](/images/enjoy/document-shadow.png)
13 changes: 13 additions & 0 deletions 1000-hours/enjoy-app/document-webpage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 在线文章

除了可以导入本地文档,Enjoy 还支持导入在线文章。

在添加资源窗口,直接输入文章的网址,即可开始阅读。

![添加在线文章](/images/enjoy/document-webpage.png)

::: info 提示

Enjoy 会将网址中的内容下载到本地然后进行导入,部分网站可能会设置不同规则,导致内容无法正常下载。

:::
3 changes: 3 additions & 0 deletions 1000-hours/enjoy-app/document.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 阅读文本简介

Enjoy 支持将本地文档或在线文章导入,进行跟读训练。
3 changes: 0 additions & 3 deletions 1000-hours/enjoy-app/ebook.md

This file was deleted.

19 changes: 0 additions & 19 deletions 1000-hours/enjoy-app/webpage.md

This file was deleted.

Binary file added 1000-hours/public/images/enjoy/document-add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1000-hours/public/images/enjoy/document-play.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 81093e5

Please sign in to comment.