Skip to content

Commit

Permalink
update deep-learning
Browse files Browse the repository at this point in the history
  • Loading branch information
luweizheng committed May 4, 2023
1 parent 4ba754d commit 0c2eb34
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
8 changes: 7 additions & 1 deletion src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@ export default defineUserConfig({
Object.fromEntries(
app.pages
.filter(({ path }) => path.startsWith("/deep-learning/"))
.map(({ path }) => [path.replace(/^\/deep-learning\//, "/machine-learning/"), path])
.map(({ path }) => {
const newPath = path.replace(/^\/deep-learning\//, "/machine-learning/");
return [
newPath.endsWith("/") ? `${newPath}index.html` : newPath,
path,
];
})
),
}),
],
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/navbar/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { navbar } from "vuepress-theme-hope";

export const zhNavbar = navbar([
{ text: "Flink教程", icon: "Apache", link: "/flink/" },
{ text: "机器学习笔记", icon: "creative", link: "/deep-learning/" },
{ text: "深度学习笔记", icon: "creative", link: "/deep-learning/" },
{ text: "HPC教程", icon: "process", link: "/gpu/" },
{ text: "Python", icon: "python", link: "/python/" },
{ text: "博文", icon: "note", link: "/blog/" },
Expand Down
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ features:
details: 《Flink原理与实践》在线免费版,手把手教你如何在Flink上对数据流进行有状态的计算...
link: /flink/

- title: 机器学习笔记
- title: 深度学习笔记
icon: creative
details: 深入浅出介绍机器学习背后的原理,让公式能够看懂,让概念落地到PyTorch和NumPy实现...
link: /deep-learning/
Expand Down
2 changes: 1 addition & 1 deletion src/deep-learning/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 机器学习
title: 深度学习笔记
icon: "creative"
index: false

Expand Down
1 change: 1 addition & 0 deletions src/python/setup-py/entry-points.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ description: "Python setup.py entry_points 详解"
order: 1
category: [Python]
article: false
redirectFrom: /blog/python-setup-entry-points/index.html
---

本文主要对[这篇博客](https://amir.rachum.com/blog/2017/07/28/python-entry-points/)进行了翻译解读,以解释 Python `setup.py` 文件中 `entry_point` 用法。
Expand Down

0 comments on commit 0c2eb34

Please sign in to comment.