From d8df795f0dde0aa11b8b4ec8295a18370939f46a Mon Sep 17 00:00:00 2001 From: Li Bohai Date: Sat, 16 Nov 2024 20:36:34 +0800 Subject: [PATCH 1/3] chore: create LICENSE --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5012279 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Linux Club of Peking University + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From e65e7aca22254dacc4081de4490bdcbdf612217e Mon Sep 17 00:00:00 2001 From: Li Bohai Date: Sat, 16 Nov 2024 21:16:11 +0800 Subject: [PATCH 2/3] chore: update copyright description (#32) * chore: update copyright description See #30 * Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index f22029e..b280d9c 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,8 @@ 新增内容应该开分支,上传,开 PR,Review 后合并。 图片应该统一放到 assets 目录下,如`assets/basic/01-introduction/a.png`。 + +# 版权说明 + +网页代码采取 MIT 协议,各个章节讲义默认采用 CC BY-NC-SA 4.0 协议。 +部分章节可能有更宽松的许可,可以见各个章节讲义具体说明。 From 17a39b4c217692e427458d8b9b6c5be2ec0c29b4 Mon Sep 17 00:00:00 2001 From: Zisu Zhang Date: Sat, 16 Nov 2024 13:51:48 +0000 Subject: [PATCH 3/3] fix: footer content license --- .vitepress/config.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index fd98f6f..e473437 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -84,7 +84,7 @@ export default defineConfig({ socialLinks: [{ icon: 'github', link: 'https://github.com/lcpu-club' }], footer: { message: '由北京大学学生 Linux 俱乐部所著', - copyright: '© 2024 LCPU Club, licensed under CC BY-SA 4.0' + copyright: '© 2024 LCPU Club, licensed under CC BY-NC-SA 4.0' }, docFooter: { prev: '上一节',