Skip to content

Commit

Permalink
[docs] 自动更新许可
Browse files Browse the repository at this point in the history
  • Loading branch information
SunYufei committed Apr 21, 2024
1 parent 3393a82 commit ca9c90b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ docs/.vitepress/cache/
docs/.vitepress/dist/
node_modules/
.DS_Store
yarn.lock
pnpm-lock.yaml
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@

## 许可

代码:[MIT](LICENSE)

文档:[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh)
- 文章遵循 [CC 4.0 BY-SA](https://creativecommons.org/licenses/by-sa/4.0/deed.zh-hans) 版权协议,转载请附上原文出处链接和声明
- 代码遵循 [MIT](LICENSE) 开源协议
- Copyright © 2016-2024 SunYufei
2 changes: 1 addition & 1 deletion docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default defineConfig({
},
footer: {
message: 'All articles are under CC BY 4.0 license',
copyright: 'Copyright (c) 2016-2023 SunYufei',
copyright: `Copyright (c) 2016-${new Date().getFullYear()} SunYufei`,
},
},
})
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "notes",
"version": "24.3.4",
"version": "24.4",
"private": true,
"type": "module",
"scripts": {
"build": "vitepress build docs",
"dev": "vitepress dev docs"
},
"devDependencies": {
"vitepress": "latest"
"vitepress": "1"
},
"author": "SunYufei",
"license": "MIT"
"author": "SunYufei"
}

0 comments on commit ca9c90b

Please sign in to comment.