diff --git a/README.md b/README.md index dc6707e..4fe8dd7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,15 @@ # arknet -[![Merge queue checks](https://github.com/OpenArkStudio/arknet/actions/workflows/ci.yml/badge.svg?event=merge_group)](https://github.com/OpenArkStudio/arknet/actions/workflows/ci.yml?query=event%3Amerge_group) +

+ + + arknet + +

+ +

+ Merge queue checks +

[中文](README_CN.md) diff --git a/README_CN.md b/README_CN.md index 6a777a3..52e660d 100644 --- a/README_CN.md +++ b/README_CN.md @@ -1,6 +1,15 @@ # arknet -[![合并队列检查](https://github.com/OpenArkStudio/arknet/actions/workflows/ci.yml/badge.svg?event=merge_group)](https://github.com/OpenArkStudio/arknet/actions/workflows/ci.yml?query=event%3Amerge_group) +

+ + + arknet + +

+ +

+ 合并队列检查 +

[English](README.md) diff --git a/docs/assets/Inter-OFL.txt b/docs/assets/Inter-OFL.txt new file mode 100644 index 0000000..21f6aff --- /dev/null +++ b/docs/assets/Inter-OFL.txt @@ -0,0 +1,93 @@ +Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/docs/assets/arknet-icon-dark.svg b/docs/assets/arknet-icon-dark.svg new file mode 100644 index 0000000..effaab9 --- /dev/null +++ b/docs/assets/arknet-icon-dark.svg @@ -0,0 +1 @@ +arknetSelected cradle direction with Inter 600; visible contours determine scale, gap and baseline. diff --git a/docs/assets/arknet-icon-mono.svg b/docs/assets/arknet-icon-mono.svg new file mode 100644 index 0000000..2ac2ac0 --- /dev/null +++ b/docs/assets/arknet-icon-mono.svg @@ -0,0 +1 @@ +arknetSelected cradle direction with Inter 600; visible contours determine scale, gap and baseline. diff --git a/docs/assets/arknet-icon.svg b/docs/assets/arknet-icon.svg new file mode 100644 index 0000000..fdc7cc1 --- /dev/null +++ b/docs/assets/arknet-icon.svg @@ -0,0 +1 @@ +arknetSelected cradle direction with Inter 600; visible contours determine scale, gap and baseline. diff --git a/docs/assets/arknet-wordmark-dark.svg b/docs/assets/arknet-wordmark-dark.svg new file mode 100644 index 0000000..accd89a --- /dev/null +++ b/docs/assets/arknet-wordmark-dark.svg @@ -0,0 +1 @@ +arknetSelected cradle direction with Inter 600; visible contours determine scale, gap and baseline. diff --git a/docs/assets/arknet-wordmark-light.svg b/docs/assets/arknet-wordmark-light.svg new file mode 100644 index 0000000..271bcbc --- /dev/null +++ b/docs/assets/arknet-wordmark-light.svg @@ -0,0 +1 @@ +arknetSelected cradle direction with Inter 600; visible contours determine scale, gap and baseline. diff --git a/docs/assets/arknet-wordmark-mono.svg b/docs/assets/arknet-wordmark-mono.svg new file mode 100644 index 0000000..6cc36a7 --- /dev/null +++ b/docs/assets/arknet-wordmark-mono.svg @@ -0,0 +1 @@ +arknetSelected cradle direction with Inter 600; visible contours determine scale, gap and baseline. diff --git a/docs/site/public/brand/Inter-OFL.txt b/docs/site/public/brand/Inter-OFL.txt new file mode 100644 index 0000000..21f6aff --- /dev/null +++ b/docs/site/public/brand/Inter-OFL.txt @@ -0,0 +1,93 @@ +Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/docs/site/public/brand/arknet-logo-dark.svg b/docs/site/public/brand/arknet-logo-dark.svg new file mode 100644 index 0000000..accd89a --- /dev/null +++ b/docs/site/public/brand/arknet-logo-dark.svg @@ -0,0 +1 @@ +arknetSelected cradle direction with Inter 600; visible contours determine scale, gap and baseline. diff --git a/docs/site/public/brand/arknet-logo-light.svg b/docs/site/public/brand/arknet-logo-light.svg new file mode 100644 index 0000000..271bcbc --- /dev/null +++ b/docs/site/public/brand/arknet-logo-light.svg @@ -0,0 +1 @@ +arknetSelected cradle direction with Inter 600; visible contours determine scale, gap and baseline. diff --git a/docs/site/public/brand/arknet-logo-mono.svg b/docs/site/public/brand/arknet-logo-mono.svg new file mode 100644 index 0000000..6cc36a7 --- /dev/null +++ b/docs/site/public/brand/arknet-logo-mono.svg @@ -0,0 +1 @@ +arknetSelected cradle direction with Inter 600; visible contours determine scale, gap and baseline. diff --git a/docs/site/public/favicon.ico b/docs/site/public/favicon.ico index 5ba3ef4..d872f52 100644 Binary files a/docs/site/public/favicon.ico and b/docs/site/public/favicon.ico differ diff --git a/docs/site/public/favicon.svg b/docs/site/public/favicon.svg new file mode 100644 index 0000000..fdc7cc1 --- /dev/null +++ b/docs/site/public/favicon.svg @@ -0,0 +1 @@ +arknetSelected cradle direction with Inter 600; visible contours determine scale, gap and baseline. diff --git a/docs/site/scripts/ci-workflow.test.mjs b/docs/site/scripts/ci-workflow.test.mjs index 8294f46..9b2c73b 100644 --- a/docs/site/scripts/ci-workflow.test.mjs +++ b/docs/site/scripts/ci-workflow.test.mjs @@ -127,7 +127,7 @@ test("documentation publishing retains its separate main-push workflow", async ( test("both README badges describe and select merge-group checks", async () => { for (const [file, label] of [["README.md", "Merge queue checks"], ["README_CN.md", "合并队列检查"]]) { const source = await readFile(new URL(`../../../${file}`, import.meta.url), "utf8"); - assert.ok(source.includes(`[![${label}]`), file); + assert.ok(source.includes(`alt="${label}"`), file); assert.ok(source.includes("ci.yml/badge.svg?event=merge_group"), file); assert.ok(source.includes("ci.yml?query=event%3Amerge_group"), file); } diff --git a/docs/site/src/components/Header.astro b/docs/site/src/components/Header.astro index 353c597..2872302 100644 --- a/docs/site/src/components/Header.astro +++ b/docs/site/src/components/Header.astro @@ -44,10 +44,9 @@ const resolveSectionHref = (href: string): string =>
- - - {config.title} - + + {config.title} + diff --git a/docs/site/src/styles/globals.css b/docs/site/src/styles/globals.css index 17d9dea..53c78a3 100644 --- a/docs/site/src/styles/globals.css +++ b/docs/site/src/styles/globals.css @@ -641,3 +641,7 @@ body:not(:has([data-mobile-sidebar])) [data-menu-btn] { animation: none; } } + +/* The archived brand lockup follows the site's explicit theme setting. */ +html[data-mode="dark"] .site-brand-light { display: none; } +html[data-mode="dark"] .site-brand-dark { display: block; }