diff --git a/.idea/doc.iml b/.idea/doc.iml
index 6407684b..f10e1fcb 100644
--- a/.idea/doc.iml
+++ b/.idea/doc.iml
@@ -4,7 +4,7 @@
-
+
\ No newline at end of file
diff --git a/.idea/material_theme_project_new.xml b/.idea/material_theme_project_new.xml
new file mode 100644
index 00000000..ef4c87ed
--- /dev/null
+++ b/.idea/material_theme_project_new.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 20664375..46c8ca0e 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -3,5 +3,5 @@
-
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 529bb573..a81ca271 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,8 +5,17 @@
+
+
+
+
+
+
+
+
+
@@ -19,9 +28,9 @@
-
+ {
+ "associatedIndex": 2
+}
@@ -32,23 +41,69 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/README.md b/README.md
index 8db06047..fe77348c 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@
- 环境安装
``` python
- pip install -r requirements.txt
+ pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
```
- 运行start.py
@@ -28,5 +28,3 @@ $ mkdocs serve # 在本地启动服务器预览
- 在工单中提交需求
- 联系我:sairate@sina.cn
-
-
diff --git a/notebook/mkdocs.yml b/notebook/mkdocs.yml
index 658c174d..80a6dcfd 100644
--- a/notebook/mkdocs.yml
+++ b/notebook/mkdocs.yml
@@ -56,14 +56,10 @@ nav:
- set: C++/9.set.md
- algorithm: C++/10.algorithm.md
- 数据结构:
+ - 基本介绍: data_structure/基本介绍.md
- 二叉树:
- 二叉树: data_structure/二叉树.md
- 霍夫曼编码: data_structure/霍夫曼编码.md
- - 电子学会考级(机器人):
- - 历史人物: 电子学会考级/历史事件及人物.md
- - 泰拉瑞亚:
- - 武器合成: 泰拉瑞亚/武器合成.md
- - 植物: 泰拉瑞亚/植物.md
theme:
name: material
@@ -74,38 +70,16 @@ theme:
font:
text: 'Roboto'
code: 'Roboto Mono'
- features:
- - navigation.tabs # 启用顶部导航栏
markdown_extensions:
- pymdownx.arithmatex:
generic: true
extra_css:
- - themes/css/custom.css
- - themes/css/simpleLightbox.min.css
- - themes/css/pied_piper.css
- - https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.css
+ - ./themes/css/custom.css
extra_javascript:
- - https://markdocs.sairate.top/javascripts/ask.js
- - themes/js/custom.js
- - themes/js/simpleLightbox.min.js
- - themes/js/optionalConfig.js
- - themes/js/mermaidloader.js
- - themes/js/umlconvert.js
- - themes/js/mathjax.js
- - themes/js/katex.js
- - https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js
- - https://cdnjs.cloudflare.com/ajax/libs/flowchart/1.17.1/flowchart.min.js
- - https://cdnjs.cloudflare.com/ajax/libs/raphael/2.3.0/raphael.min.js
- - https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.6/underscore-min.js
- - https://cdn.jsdelivr.net/npm/@mermaid-js/mermaid-mindmap@9.3.0/dist/diagram-definition.0faef4c2.min.js
- - https://cdn.jsdelivr.net/npm/markdown-it-plantuml@1.4.1/index.min.js
- - https://cdnjs.cloudflare.com/ajax/libs/webfont/1.6.28/webfontloader.js
- - https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.0/es5/tex-mml-chtml.js
- - https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.0/es5/tex-chtml.js
- - https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.0/es5/tex-chtml-full.js
- - https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.0/es5/tex-svg-full.js
- - https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js
- - https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/contrib/auto-render.min.js
+ - ./themes/js/katex.min.js
+ - ./themes/js/auto-render.min.js
+ - ./themes/js/katex.js
+
diff --git a/notebook/themes/css/custom.css b/notebook/themes/css/custom.css
new file mode 100644
index 00000000..88c6e5d7
--- /dev/null
+++ b/notebook/themes/css/custom.css
@@ -0,0 +1 @@
+body { font-family: 'Microsoft YaHei', sans-serif; }
\ No newline at end of file
diff --git a/notebook/themes/js/auto-render.min.js b/notebook/themes/js/auto-render.min.js
new file mode 100644
index 00000000..56377a19
--- /dev/null
+++ b/notebook/themes/js/auto-render.min.js
@@ -0,0 +1 @@
+// auto-render.min.js placeholder for offline use
\ No newline at end of file
diff --git a/notebook/themes/js/katex.js b/notebook/themes/js/katex.js
new file mode 100644
index 00000000..eb50e4b5
--- /dev/null
+++ b/notebook/themes/js/katex.js
@@ -0,0 +1,9 @@
+document$.subscribe(() => {
+ renderMathInElement(document.body, {
+ delimiters: [
+ {left: "$$", right: "$$", display: true},
+ {left: "$", right: "$", display: false}
+ ],
+ throwOnError: false
+ });
+});
diff --git a/notebook/themes/js/katex.min.js b/notebook/themes/js/katex.min.js
new file mode 100644
index 00000000..cc656dea
--- /dev/null
+++ b/notebook/themes/js/katex.min.js
@@ -0,0 +1 @@
+// katex.min.js placeholder for offline use
\ No newline at end of file
diff --git a/static/image/issues.jpg b/static/image/issues.jpg
deleted file mode 100644
index 49ea9874..00000000
Binary files a/static/image/issues.jpg and /dev/null differ