Skip to content

Commit 4cbfcf0

Browse files
committed
up
1 parent 6d80f2c commit 4cbfcf0

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# 藏经阁
22
- **Repo Address**: https://github.com/xhqing/blog/
33
- :books: **Statistics**
4+
- [参数估计](post/Statistics/参数估计.md)
45
- [基础概念](post/Statistics/基础概念.md)
56
- [假设检验](post/Statistics/假设检验.md)
67
- :books: **数据仓库设计**

docs/_sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
- :books: **Statistics**
2+
- [参数估计](post/Statistics/参数估计.md)
23
- [基础概念](post/Statistics/基础概念.md)
34
- [假设检验](post/Statistics/假设检验.md)
45
- :books: **数据仓库设计**

docs/post/Statistics/参数估计.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
创建于 2023-08-04<br>
2+
关键词: 参数估计.
3+
4+
## 什么是参数估计
5+

new_post.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ def choose_post_dir():
6565
post_title = sys.argv[1]
6666
except IndexError:
6767
raise TitleError(f"""\033[01;31;01m no title, `python new_post.py your_post_title`\033[01;31;01m""")
68+
69+
if post_title[-3:]==".md":
70+
raise TitleError(f"""\033[01;31;01m use `{post_title[:-3]}` as post title instead.`\033[01;31;01m""")
6871

6972
dirname = choose_post_dir()
7073
post_mdfiles = os.listdir(f"./post/{dirname}")

post/Statistics/参数估计.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
创建于 2023-08-04
2+
关键词: 参数估计.
3+
4+
## 什么是参数估计
5+

0 commit comments

Comments
 (0)