Skip to content

Commit 4ad78e2

Browse files
committed
docs: Adapt mkdocs
1 parent e0cc44c commit 4ad78e2

File tree

167 files changed

+395
-12891
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+395
-12891
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"cache_date": "2024-06-15", "page_authors": {"docs/index.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/business_support.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/communicate.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/online_demo.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/quickstart.md": {"last_commit_date": "2024-06-10", "authors": []}, "docs/sponsor.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/index.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/faq.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/optim_tutorial.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/other_programing_lan.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/rec_dict_onnx.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/about_model/convert_model.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/about_model/custom_different_model.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/about_model/download_onnx.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/about_model/model_summary.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/about_model/support_language.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/inference_engine/inference_summary.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/inference_engine/which_inference.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/inference_engine/onnxruntime/infer_optim.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/inference_engine/onnxruntime/onnxruntime-gpu.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/inference_engine/openvino/infer-gpu.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/inference_engine/openvino/infer.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/related_projects/derivatives_projects.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/blog/posts/related_projects/related_projects.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/changelog/rapidocr.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/changelog/rapidocr_api.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/changelog/rapidocr_paddle.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/changelog/rapidocr_vino.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/changelog/rapidocr_web.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/install_usage/rapidocr_api.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/install_usage/rapidocr_paddle.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/install_usage/rapidocr/cli.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/install_usage/rapidocr/config_yaml.md": {"last_commit_date": "2024-06-09", "authors": []}, "docs/install_usage/rapidocr/install.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/install_usage/rapidocr/usage.md": {"last_commit_date": "2024-06-09", "authors": []}, "docs/install_usage/rapidocr_web/desktop_usage.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/install_usage/rapidocr_web/nuitka_package.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/install_usage/rapidocr_web/ocrweb_multi.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/install_usage/rapidocr_web/pyinstaller.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/install_usage/rapidocr_web/rapidocr_web.md": {"last_commit_date": "2024-06-04", "authors": [{"login": "SWHL", "name": "SWHL", "url": "https://github.com/SWHL", "avatar": "https://avatars.githubusercontent.com/u/28639377?v=4"}]}, "docs/install_usage/api/RapidOCR.md": {"last_commit_date": "2024-06-09", "authors": []}, "docs/install_usage/api/VisRes.md": {"last_commit_date": "2024-06-09", "authors": []}}}

.github/workflows/ci.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: ci
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
permissions:
8+
contents: write
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Configure Git Credentials
15+
run: |
16+
git config user.name github-actions[bot]
17+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: 3.x
21+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
22+
- uses: actions/cache@v4
23+
with:
24+
key: mkdocs-material-${{ env.cache_id }}
25+
path: .cache
26+
restore-keys: |
27+
mkdocs-material-
28+
- run: pip install mkdocs-material jieba mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2
29+
- run: mkdocs gh-deploy --force

.github/workflows/gh-pages.yml

-42
This file was deleted.

.hugo_build.lock

Whitespace-only changes.

.nojekyll

Whitespace-only changes.

CNAME

-1
This file was deleted.

README.md

-43
Original file line numberDiff line numberDiff line change
@@ -1,43 +0,0 @@
1-
#### 说明
2-
- 这是RapidAI-team主站的仓库
3-
- 主题来自:[tella](https://github.com/opera7133/tella)
4-
5-
#### 如何撰写博客
6-
- 打开`content/blog`,直接仿照`llm-summary.md`,复制开头,后续直接写即可。
7-
```text
8-
+++
9-
author = "SWHL"
10-
title = "LLM梳理"
11-
date = "2023-04-15"
12-
description = "梳理已有LLM项目"
13-
tags = ["llm"]
14-
+++
15-
```
16-
17-
#### 修改主题,支持mermaid
18-
- 手动下载`mermaid.min.js`文件到放到`themes/tella/static/js/mermaid.min.js`下。下载地址[mermaid.js](https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js)
19-
- 在`layouts/partials/head.html`添加以下代码
20-
```html
21-
<script src='{{ "/js/mermaid.min.js" | relURL }}'></script>
22-
23-
<script>
24-
// 自定义mermaid配置
25-
const config = {
26-
startOnLoad:true,
27-
theme: 'forest',
28-
themeVariables: {
29-
lineColor: "#fafafa" // 由于paperMod的代码块背景是黑色的,这里将线条设置为白色
30-
},
31-
flowchart: {
32-
useMaxWidth:false,
33-
htmlLabels:true
34-
}
35-
};
36-
mermaid.initialize(config);
37-
// 需要注意的是,要将初始化代码放到 window.onload 回调函数里面才有用
38-
// 否则会因为在html元素加载前进行初始化,找不到元素而失效
39-
window.onload = () => {
40-
window.mermaid.init(undefined, document.querySelectorAll('.language-mermaid'));
41-
}
42-
</script>
43-
```

archetypes/default.md

-5
This file was deleted.

config.toml

-69
This file was deleted.

content/_index.md

-3
This file was deleted.

content/about.md

-25
This file was deleted.

content/blog/_index.md

-6
This file was deleted.

0 commit comments

Comments
 (0)