Skip to content

Commit

Permalink
更新路径
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihuaiwen committed May 11, 2024
1 parent 3711a6d commit b42b0a7
Show file tree
Hide file tree
Showing 24 changed files with 18 additions and 19 deletions.
20 changes: 10 additions & 10 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
* [1.5 基于kubernetes的分布式限流](docs/java/基于kubernetes的分布式限流.md)
* [二、大数据](docs/bigdata/README.md)
* [3.1 elastic-spark.md](docs/bigdata/spark/elastic-spark.md)
* [三、个人网站](docs/others/个人网站/README.md)
* [3.1 历史与架构.md](docs/others/个人网站/1.历史与架构.md)
* [3.2 Lucene的使用.md](docs/others/个人网站/2.Lucene的使用.md)
* [3.3 定时任务.md](docs/others/个人网站/3.定时任务.md)
* [3.4 日志系统.md](docs/others/个人网站/4.日志系统.md)
* [3.5 小集群部署.md](docs/others/个人网站/5.小集群部署.md)
* [3.6 数据库备份.md](docs/others/个人网站/6.数据库备份.md)
* [3.7 那些牛逼的插件.md](docs/others/个人网站/7.那些牛逼的插件.md)
* [3.8 基于贝叶斯的情感分析.md](docs/others/个人网站/8.基于贝叶斯的情感分析.md)
* [3.9 网站性能优化.md](docs/others/个人网站/9.网站性能优化.md)
* [三、个人网站](docs/interesting/个人网站/README.md)
* [3.1 历史与架构.md](docs/interesting/个人网站/1.历史与架构.md)
* [3.2 Lucene的使用.md](docs/interesting/个人网站/2.Lucene的使用.md)
* [3.3 定时任务.md](docs/interesting/个人网站/3.定时任务.md)
* [3.4 日志系统.md](docs/interesting/个人网站/4.日志系统.md)
* [3.5 小集群部署.md](docs/interesting/个人网站/5.小集群部署.md)
* [3.6 数据库备份.md](docs/interesting/个人网站/6.数据库备份.md)
* [3.7 那些牛逼的插件.md](docs/interesting/个人网站/7.那些牛逼的插件.md)
* [3.8 基于贝叶斯的情感分析.md](docs/interesting/个人网站/8.基于贝叶斯的情感分析.md)
* [3.9 网站性能优化.md](docs/interesting/个人网站/9.网站性能优化.md)
* [四、DevOps](docs/kubernetes/devops/README.md)
* [4.1 DevOps平台.md](docs/kubernetes/devops/devops-ping-tai.md)
* [4.2 jenkins-x](docs/kubernetes/devops/jenkins-x.md)
Expand Down
3 changes: 1 addition & 2 deletions docs/.vuepress/navbar.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import {navbar} from "vuepress-theme-hope";
import {others} from "./sidebar/others";

export default navbar([
{text: "好玩的", icon: "others", link: "/index"},
{text: "好玩的", icon: "interesting", link: "/index"},
{text: "Java", icon: "java", link: "/java"},
{text: "中间件", icon: "middleware", link: "/middleware/"},
{text: "数据库", icon: "database", link: "/database/"},
Expand Down
8 changes: 4 additions & 4 deletions docs/.vuepress/sidebar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {database} from "./database.js";
import {donate} from "./donate.js";
import {bigdata} from "./bigdata.js";
import {kubernetes} from "./kubernetes.js";
import {others} from "./others";
import {interesting} from "./interesting";
import {middleware} from "./middleware.js";
import {life} from "./life.js";
import {link} from "./link.js";
Expand All @@ -16,7 +16,7 @@ import {java} from "./java.js";

export default sidebar({
// 应该把更精确的路径放置在前边
"/others/": others,
"/interesting/": interesting,
"/java/": java,
"/database/": database,
"/link/": link,
Expand All @@ -39,9 +39,9 @@ export default sidebar({
"/": [
{
text: "好玩的",
icon: "others",
icon: "interesting",
collapsible: false,
prefix: "others/",
prefix: "interesting/",
children: "structure"
},
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {arraySidebar} from "vuepress-theme-hope";

export const others = arraySidebar([
export const interesting = arraySidebar([
{
text: "好玩的",
collapsible: false,
Expand Down
2 changes: 1 addition & 1 deletion docs/others/chatgpt.md → docs/interesting/chatgpt.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ openai在国内不提供服务的,而且也通过ip识别是不是在国内,
跟页面一样,OpenAI的调用也是不能再国内访问的,这里,我们使用同一台服务器来搭建nginx,还是保留使用windows吧,主要还是得注意下面这段话,如果API key被泄露了,OpenAI可能会自动重新更新你的API key,这个规则似乎是API key如果被多个ip使用,就会触发这个规则,调试阶段还是尽量使用windows的服务器吧,万一被更新了,还能去页面上重新找到。

```text
Do not share your API key with others, or expose it in the browser or other client-side code. In order to protect the security of your account, OpenAI may also automatically rotate any API key that we've found has leaked publicly.
Do not share your API key with interesting, or expose it in the browser or other client-side code. In order to protect the security of your account, OpenAI may also automatically rotate any API key that we've found has leaked publicly.
```

windows的安装过程参考网上的来,我们只需要添加下面这个配置即可,原理主要是将调用OpenAI的接口全部往官网转发。
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/java/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Java
# 简介

0 comments on commit b42b0a7

Please sign in to comment.