From 023f3dc63a3bbff7a0a1eabc8109e4f40f8f01cf Mon Sep 17 00:00:00 2001 From: zenfyr Date: Mon, 8 Jun 2026 14:46:42 +0700 Subject: [PATCH] Update license --- LICENSE.txt => LICENSE-assets.txt | 0 LICENSE-code.txt | 21 +++++++++++++++++++++ README.md | 10 ++++++++++ 3 files changed, 31 insertions(+) rename LICENSE.txt => LICENSE-assets.txt (100%) create mode 100644 LICENSE-code.txt diff --git a/LICENSE.txt b/LICENSE-assets.txt similarity index 100% rename from LICENSE.txt rename to LICENSE-assets.txt diff --git a/LICENSE-code.txt b/LICENSE-code.txt new file mode 100644 index 0000000..3ed4ec7 --- /dev/null +++ b/LICENSE-code.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2026 zenfyr + +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. diff --git a/README.md b/README.md index fcbfc66..8c8a0cc 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,13 @@ Some JS is used to lazy-load autoplaying videos (has a `noscript` fallback) and All UI element translation files are in `src/content/lang.json`. Wiki pages/docs are in `src/content/docs/[lang]/[version]`. + +## License + +The [Code License](./LICENSE-code.txt) applies to all files in: + +- `src/*`, but excluding `src/content/*` +- configuration files such as `.prettierrc`, `astro.config.mjs`, etc. + +Other files not covered by the code licence are assumed to be under the [Assets License](./LICENSE-assets.txt) +unless owned by 3rd parties such as icons for other projects and badges from the [mini-badges](https://tangled.org/did:plc:rjhjcb3rgdsmdr6ykywuh63z/mini-badges) project. -- 2.51.2