diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 857d84ca2b5..723aab2f1a8 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -73,10 +73,9 @@ jobs: runs-on: ubuntu-latest steps: - name: 拉源码 - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: - fetch-depth: 0 - # 如果你文档需要 Git 子模块,取消注释下一行 + fetch-depth: 1 submodules: true - name: 安装 pnpm @@ -103,11 +102,6 @@ jobs: node-version: 18 cache: pnpm - - name: 更改主机名 - run: |- - sed -i 's/hostname: "https:\/\/paper-dragon.github.io",/hostname: "https:\/\/www.geekery.cn",/g' src/.vuepress/theme.ts - grep hostname src/.vuepress/theme.ts - - name: 添加状态页面 run: |- sed -i 's/关于我/内容分发网络部署状态/g' src/.vuepress/navbar.ts diff --git a/LICENSE b/LICENSE index af1bd832213..25152a7aa8c 100644 --- a/LICENSE +++ b/LICENSE @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: - paper-dragon.github.io Copyright (C) 2024 Paper-Dragon + www.geekery.cn Copyright (C) 2024 Paper-Dragon This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. diff --git a/src/.vuepress/theme.ts b/src/.vuepress/theme.ts index 51fbb97c536..ac28ef44686 100644 --- a/src/.vuepress/theme.ts +++ b/src/.vuepress/theme.ts @@ -4,7 +4,7 @@ import sidebar from "./sidebar.js"; // import {cut} from "nodejs-jieba"; export default hopeTheme({ - hostname: "https://paper-dragon.github.io", + hostname: "https://www.geekery.cn", fullscreen: true, @@ -18,7 +18,7 @@ export default hopeTheme({ logo: "/logo.svg", - repo: "https://github.com/Paper-Dragon/paper-dragon.github.io", + repo: "https://github.com/Paper-Dragon/notebook", docsDir: "src", diff --git a/src/README.md b/src/README.md index 7d066a17bf9..80c09eddd16 100644 --- a/src/README.md +++ b/src/README.md @@ -271,10 +271,6 @@ footer: |- 鲁ICP备2023019857号-2 / --> - - - -   copyright: |- @@ -284,7 +280,6 @@ copyright: |- ## 词云 - ::: echarts ```js @@ -404,5 +399,3 @@ myChart.resize({ ``` ::: - - diff --git "a/src/note-book/Frp/Frp\345\256\236\347\216\260p2p\347\251\277\351\200\217\346\265\201\351\207\217\344\270\215\347\273\217\350\277\207\345\205\254\347\275\221\346\234\215\345\212\241\345\231\250.md" "b/src/note-book/Frp/Frp\345\256\236\347\216\260p2p\347\251\277\351\200\217\346\265\201\351\207\217\344\270\215\347\273\217\350\277\207\345\205\254\347\275\221\346\234\215\345\212\241\345\231\250.md" index d86e49d43ee..c95cd0a88b5 100644 --- "a/src/note-book/Frp/Frp\345\256\236\347\216\260p2p\347\251\277\351\200\217\346\265\201\351\207\217\344\270\215\347\273\217\350\277\207\345\205\254\347\275\221\346\234\215\345\212\241\345\231\250.md" +++ "b/src/note-book/Frp/Frp\345\256\236\347\216\260p2p\347\251\277\351\200\217\346\265\201\351\207\217\344\270\215\347\273\217\350\277\207\345\205\254\347\275\221\346\234\215\345\212\241\345\231\250.md" @@ -76,7 +76,7 @@ log_level = info log_max_days = 2 # 认证超时时间 authentication_timeout = 900 -# 认证token,客户端需要和此对应,要长,建议在 https://paper-dragon.github.io/RandomPassword/ 生成 +# 认证token,客户端需要和此对应,要长,建议在 https://password.geekery.cn/ 生成 token="abc123abc" # 最大连接数 max_pool_count = 5 diff --git "a/src/note-book/Git/Git\345\237\272\347\241\200\346\212\200\345\267\247.md" "b/src/note-book/Git/Git\345\237\272\347\241\200\346\212\200\345\267\247.md" index 9e252af20c5..8b50baa1fcf 100644 --- "a/src/note-book/Git/Git\345\237\272\347\241\200\346\212\200\345\267\247.md" +++ "b/src/note-book/Git/Git\345\237\272\347\241\200\346\212\200\345\267\247.md" @@ -703,9 +703,9 @@ git push -f origin master # 强制推送文件,缩写 -f(全写--force) ## clone ```bash -git clone git://github.com/Paper-Dragon/paper-dragon.github.io -git clone git://github.com/Paper-Dragon/paper-dragon.github.io --depth=1 -git clone git://github.com/Paper-Dragon/paper-dragon.github.io mypro # 克隆到自定义文件夹 +git clone git://github.com/Paper-Dragon/notebook +git clone git://github.com/Paper-Dragon/notebook --depth=1 +git clone git://github.com/Paper-Dragon/notebook mypro # 克隆到自定义文件夹 git clone [user@]example.com:path/to/repo.git/ # SSH协议还有另一种写法。 # 克隆指定的分支 git clone -b dev --single-branch