From 129df26ca71678a61e6bb4b1f5b4a5fd3411a7d1 Mon Sep 17 00:00:00 2001
From: hantang <34468720+hantang@users.noreply.github.com>
Date: Fri, 25 Oct 2024 16:20:14 +0800
Subject: [PATCH] Update docs
---
docs/wiki/example.md | 1 -
docs/wiki/roots-example.md | 7 +++++++
docs/wiki/roots.md | 10 +++++-----
mkdocs.yml | 15 +++++++++------
4 files changed, 21 insertions(+), 12 deletions(-)
delete mode 100644 docs/wiki/example.md
create mode 100644 docs/wiki/roots-example.md
diff --git a/docs/wiki/example.md b/docs/wiki/example.md
deleted file mode 100644
index 3673150..0000000
--- a/docs/wiki/example.md
+++ /dev/null
@@ -1 +0,0 @@
-# 五笔非字根部首
diff --git a/docs/wiki/roots-example.md b/docs/wiki/roots-example.md
new file mode 100644
index 0000000..a2eb0cd
--- /dev/null
+++ b/docs/wiki/roots-example.md
@@ -0,0 +1,7 @@
+---
+title: 五笔字根拆字举例
+---
+
+
+
+{{ read_csv("./data/roots-example.tsv", sep="\t", engine="python") }}
diff --git a/docs/wiki/roots.md b/docs/wiki/roots.md
index 9473e06..5c7d809 100644
--- a/docs/wiki/roots.md
+++ b/docs/wiki/roots.md
@@ -1,4 +1,6 @@
-# 五笔字根表参考
+---
+title: 五笔字根表参考
+---
@@ -8,7 +10,7 @@
## 字根总表
-{{ read_csv("./data/roots-mnemonic.tsv", sep="\t", engine="python") }}
+{{ read_csv("./data/roots-table.tsv", sep="\t", engine="python") }}
!!! note "备注"
@@ -19,6 +21,4 @@
## 字根助记
-## 字根举例参考
-
-{{ read_csv("./data/roots-example.tsv", sep="\t", engine="python") }}
+{{ read_csv("./data/roots-mnemonic.tsv", sep="\t", engine="python") }}
diff --git a/mkdocs.yml b/mkdocs.yml
index c1ced4f..ccd01de 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -168,12 +168,15 @@ nav:
- 反查: code/index.md
- 打字: type/index.md
- 文档:
- - wiki/index.md
- - wiki/roots.md
- - wiki/tutorial.md
- - wiki/advanced.md
- - wiki/shortcodes.md
- - wiki/example.md
+ - 概述: wiki/index.md
+ - 教程:
+ - wiki/tutorial.md
+ - wiki/advanced.md
+ - 字根:
+ - wiki/roots.md
+ - wiki/roots-example.md
+ - 码表:
+ - wiki/shortcodes.md
- 补充:
- wiki/radical.md
- wiki/strokes.md