diff --git a/.gitignore b/.gitignore index f9d0743fc553fd1e33e883202603d93273bfc526..c258ff625132078645e4e76fcb3f966daaa9e5ca 100644 --- a/.gitignore +++ b/.gitignore @@ -118,16 +118,15 @@ dist # mac .DS_Store -docs/.vitepress/.temp -docs/.vitepress/.cache -docs/.vitepress/dist -docs/.vitepress/cache -docs/.vitepress/public/menu/menu.json -docs/.vitepress/public/menu/menu-en.json - temp-docs -docs/zh/*/index.md -docs/en/*/index.md -docs/zh/Tools/*/index.md -docs/en/Tools/*/index.md \ No newline at end of file +app/.vitepress/.temp +app/.vitepress/.cache +app/.vitepress/dist +app/.vitepress/cache +app/.vitepress/public/menu/menu.json +app/.vitepress/public/menu/menu-en.json +app/zh/docs/25.03/*/index.md +app/en/docs/25.03/*/index.md +app/zh/docs/25.03/tools/*/index.md +app/en/docs/25.03/tools/*/index.md \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 4eb91698ea2da529725e39d641ee2aff5acac887..db69cea28130aced67bd07ff3f3d9e28e56b9978 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ COPY --from=NginxBuilder /etc/nginx/modules /etc/nginx/modules COPY --from=NginxBuilder /etc/nginx/geoip /etc/nginx/geoip COPY --from=NginxBuilder /etc/nginx/mime.types /etc/nginx/mime.types -COPY --from=Builder /home/openeuler/docs/docs/.vitepress/dist /usr/share/nginx/www/ +COPY --from=Builder /home/openeuler/docs/app/.vitepress/dist /usr/share/nginx/www/ RUN sed -i "s|repo.openeuler.org|mirrors.nju.edu.cn/openeuler|g" /etc/yum.repos.d/openEuler.repo \ && sed -i '/metalink/d' /etc/yum.repos.d/openEuler.repo \ @@ -90,7 +90,7 @@ RUN touch /var/run/nginx.pid \ && rm -rf /usr/share/gcc-10.3.1 \ && yum remove gdb-gdbserver findutils passwd shadow -y -COPY ./deploy/monitor.sh ./deploy/entrypoint.sh /etc/nginx +COPY ./deploy/monitor.sh ./deploy/entrypoint.sh /etc/nginx/ RUN chmod 500 /etc/nginx/monitor.sh \ && chmod 500 /etc/nginx/entrypoint.sh \ && chown nginx:nginx /etc/nginx/monitor.sh \ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..23105592d19959598be38e568302be19c922bdfe --- /dev/null +++ b/LICENSE @@ -0,0 +1,427 @@ +Attribution-ShareAlike 4.0 International + +======================================================================= + +Creative Commons Corporation ("Creative Commons") is not a law firm and +does not provide legal services or legal advice. Distribution of +Creative Commons public licenses does not create a lawyer-client or +other relationship. Creative Commons makes its licenses and related +information available on an "as-is" basis. Creative Commons gives no +warranties regarding its licenses, any material licensed under their +terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the +fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and +conditions that creators and other rights holders may use to share +original works of authorship and other material subject to copyright +and certain other rights specified in the public license below. The +following considerations are for informational purposes only, are not +exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + +======================================================================= + +Creative Commons Attribution-ShareAlike 4.0 International Public +License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution-ShareAlike 4.0 International Public License ("Public +License"). To the extent this Public License may be interpreted as a +contract, You are granted the Licensed Rights in consideration of Your +acceptance of these terms and conditions, and the Licensor grants You +such rights in consideration of benefits the Licensor receives from +making the Licensed Material available under these terms and +conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + b. ShareAlike. + + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + + including for purposes of Section 3(b); and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + +======================================================================= + +Creative Commons is not a party to its public +licenses. Notwithstanding, Creative Commons may elect to apply one of +its public licenses to material it publishes and in those instances +will be considered the "Licensor." The text of the Creative Commons +public licenses is dedicated to the public domain under the CC0 Public +Domain Dedication. Except for the limited purpose of indicating that +material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the +public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/docs/.env.development b/app/.env.development similarity index 100% rename from docs/.env.development rename to app/.env.development diff --git a/docs/.env.production b/app/.env.production similarity index 100% rename from docs/.env.production rename to app/.env.production diff --git a/docs/.vitepress/config.ts b/app/.vitepress/config.ts similarity index 99% rename from docs/.vitepress/config.ts rename to app/.vitepress/config.ts index ef42263432d06cd01f03e5288aff8ab5144b12e4..646fbc08a22ba537a2edca85786bb396f2b3d7b6 100644 --- a/docs/.vitepress/config.ts +++ b/app/.vitepress/config.ts @@ -3,6 +3,7 @@ import type Markdown from 'markdown-it'; export default { base: '/', + assetsDir: '/25.03/', cleanUrls: false, ignoreDeadLinks: true, title: '文档 | openEuler社区', diff --git a/docs/.vitepress/public/check-dark-mode-v2.js b/app/.vitepress/public/check-dark-mode-v2.js similarity index 100% rename from docs/.vitepress/public/check-dark-mode-v2.js rename to app/.vitepress/public/check-dark-mode-v2.js diff --git a/docs/.vitepress/public/error.html b/app/.vitepress/public/error.html similarity index 100% rename from docs/.vitepress/public/error.html rename to app/.vitepress/public/error.html diff --git a/docs/.vitepress/public/favicon.ico b/app/.vitepress/public/favicon.ico similarity index 100% rename from docs/.vitepress/public/favicon.ico rename to app/.vitepress/public/favicon.ico diff --git a/docs/.vitepress/src/@types/type-doc-menu.ts b/app/.vitepress/src/@types/type-doc-menu.ts similarity index 100% rename from docs/.vitepress/src/@types/type-doc-menu.ts rename to app/.vitepress/src/@types/type-doc-menu.ts diff --git a/docs/.vitepress/src/@types/type-feedback.ts b/app/.vitepress/src/@types/type-feedback.ts similarity index 100% rename from docs/.vitepress/src/@types/type-feedback.ts rename to app/.vitepress/src/@types/type-feedback.ts diff --git a/docs/.vitepress/src/@types/type-locale.ts b/app/.vitepress/src/@types/type-locale.ts similarity index 100% rename from docs/.vitepress/src/@types/type-locale.ts rename to app/.vitepress/src/@types/type-locale.ts diff --git a/docs/.vitepress/src/@types/type-search.ts b/app/.vitepress/src/@types/type-search.ts similarity index 100% rename from docs/.vitepress/src/@types/type-search.ts rename to app/.vitepress/src/@types/type-search.ts diff --git a/docs/.vitepress/src/@types/type-user.ts b/app/.vitepress/src/@types/type-user.ts similarity index 100% rename from docs/.vitepress/src/@types/type-user.ts rename to app/.vitepress/src/@types/type-user.ts diff --git a/docs/.vitepress/src/App.vue b/app/.vitepress/src/App.vue similarity index 100% rename from docs/.vitepress/src/App.vue rename to app/.vitepress/src/App.vue diff --git a/docs/.vitepress/src/NotFound.vue b/app/.vitepress/src/NotFound.vue similarity index 100% rename from docs/.vitepress/src/NotFound.vue rename to app/.vitepress/src/NotFound.vue diff --git a/docs/.vitepress/src/api/api-feedback.ts b/app/.vitepress/src/api/api-feedback.ts similarity index 100% rename from docs/.vitepress/src/api/api-feedback.ts rename to app/.vitepress/src/api/api-feedback.ts diff --git a/docs/.vitepress/src/api/api-search.ts b/app/.vitepress/src/api/api-search.ts similarity index 100% rename from docs/.vitepress/src/api/api-search.ts rename to app/.vitepress/src/api/api-search.ts diff --git a/docs/.vitepress/src/api/api-user.ts b/app/.vitepress/src/api/api-user.ts similarity index 100% rename from docs/.vitepress/src/api/api-user.ts rename to app/.vitepress/src/api/api-user.ts diff --git a/docs/.vitepress/src/assets/category/common/404-dark.png b/app/.vitepress/src/assets/category/common/404-dark.png similarity index 100% rename from docs/.vitepress/src/assets/category/common/404-dark.png rename to app/.vitepress/src/assets/category/common/404-dark.png diff --git a/docs/.vitepress/src/assets/category/common/404.png b/app/.vitepress/src/assets/category/common/404.png similarity index 100% rename from docs/.vitepress/src/assets/category/common/404.png rename to app/.vitepress/src/assets/category/common/404.png diff --git a/docs/.vitepress/src/assets/category/common/menu-switch-bar.png b/app/.vitepress/src/assets/category/common/menu-switch-bar.png similarity index 100% rename from docs/.vitepress/src/assets/category/common/menu-switch-bar.png rename to app/.vitepress/src/assets/category/common/menu-switch-bar.png diff --git a/docs/.vitepress/src/assets/category/docs/docsBugBg.png b/app/.vitepress/src/assets/category/docs/docsBugBg.png similarity index 100% rename from docs/.vitepress/src/assets/category/docs/docsBugBg.png rename to app/.vitepress/src/assets/category/docs/docsBugBg.png diff --git a/docs/.vitepress/src/assets/category/docs/icon-copy-dark.svg b/app/.vitepress/src/assets/category/docs/icon-copy-dark.svg similarity index 100% rename from docs/.vitepress/src/assets/category/docs/icon-copy-dark.svg rename to app/.vitepress/src/assets/category/docs/icon-copy-dark.svg diff --git a/docs/.vitepress/src/assets/category/docs/icon-copy.svg b/app/.vitepress/src/assets/category/docs/icon-copy.svg similarity index 100% rename from docs/.vitepress/src/assets/category/docs/icon-copy.svg rename to app/.vitepress/src/assets/category/docs/icon-copy.svg diff --git a/docs/.vitepress/src/assets/category/docs/icon-exit-full-screen.svg b/app/.vitepress/src/assets/category/docs/icon-exit-full-screen.svg similarity index 100% rename from docs/.vitepress/src/assets/category/docs/icon-exit-full-screen.svg rename to app/.vitepress/src/assets/category/docs/icon-exit-full-screen.svg diff --git a/docs/.vitepress/src/assets/category/docs/icon-full-screen.svg b/app/.vitepress/src/assets/category/docs/icon-full-screen.svg similarity index 100% rename from docs/.vitepress/src/assets/category/docs/icon-full-screen.svg rename to app/.vitepress/src/assets/category/docs/icon-full-screen.svg diff --git a/docs/.vitepress/src/assets/category/docs/icon-gitee.svg b/app/.vitepress/src/assets/category/docs/icon-gitee.svg similarity index 100% rename from docs/.vitepress/src/assets/category/docs/icon-gitee.svg rename to app/.vitepress/src/assets/category/docs/icon-gitee.svg diff --git a/docs/.vitepress/src/assets/category/feedback/svg-icons/icon-faq.svg b/app/.vitepress/src/assets/category/feedback/svg-icons/icon-faq.svg similarity index 100% rename from docs/.vitepress/src/assets/category/feedback/svg-icons/icon-faq.svg rename to app/.vitepress/src/assets/category/feedback/svg-icons/icon-faq.svg diff --git a/docs/.vitepress/src/assets/category/feedback/svg-icons/icon-headset.svg b/app/.vitepress/src/assets/category/feedback/svg-icons/icon-headset.svg similarity index 100% rename from docs/.vitepress/src/assets/category/feedback/svg-icons/icon-headset.svg rename to app/.vitepress/src/assets/category/feedback/svg-icons/icon-headset.svg diff --git a/docs/.vitepress/src/assets/category/feedback/svg-icons/icon-score.svg b/app/.vitepress/src/assets/category/feedback/svg-icons/icon-score.svg similarity index 100% rename from docs/.vitepress/src/assets/category/feedback/svg-icons/icon-score.svg rename to app/.vitepress/src/assets/category/feedback/svg-icons/icon-score.svg diff --git a/docs/.vitepress/src/assets/category/float/bug-bg-hover.png b/app/.vitepress/src/assets/category/float/bug-bg-hover.png similarity index 100% rename from docs/.vitepress/src/assets/category/float/bug-bg-hover.png rename to app/.vitepress/src/assets/category/float/bug-bg-hover.png diff --git a/docs/.vitepress/src/assets/category/float/bug-bg.png b/app/.vitepress/src/assets/category/float/bug-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/float/bug-bg.png rename to app/.vitepress/src/assets/category/float/bug-bg.png diff --git a/docs/.vitepress/src/assets/category/footer/atom-logo.png b/app/.vitepress/src/assets/category/footer/atom-logo.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/atom-logo.png rename to app/.vitepress/src/assets/category/footer/atom-logo.png diff --git a/docs/.vitepress/src/assets/category/footer/atom-logo.svg b/app/.vitepress/src/assets/category/footer/atom-logo.svg similarity index 100% rename from docs/.vitepress/src/assets/category/footer/atom-logo.svg rename to app/.vitepress/src/assets/category/footer/atom-logo.svg diff --git a/docs/.vitepress/src/assets/category/footer/bilibili.png b/app/.vitepress/src/assets/category/footer/bilibili.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/bilibili.png rename to app/.vitepress/src/assets/category/footer/bilibili.png diff --git a/docs/.vitepress/src/assets/category/footer/bilibili_hover.png b/app/.vitepress/src/assets/category/footer/bilibili_hover.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/bilibili_hover.png rename to app/.vitepress/src/assets/category/footer/bilibili_hover.png diff --git a/docs/.vitepress/src/assets/category/footer/code-xzs.png b/app/.vitepress/src/assets/category/footer/code-xzs.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/code-xzs.png rename to app/.vitepress/src/assets/category/footer/code-xzs.png diff --git a/docs/.vitepress/src/assets/category/footer/code-zgz-2.png b/app/.vitepress/src/assets/category/footer/code-zgz-2.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/code-zgz-2.png rename to app/.vitepress/src/assets/category/footer/code-zgz-2.png diff --git a/docs/.vitepress/src/assets/category/footer/code-zgz.jpg b/app/.vitepress/src/assets/category/footer/code-zgz.jpg similarity index 100% rename from docs/.vitepress/src/assets/category/footer/code-zgz.jpg rename to app/.vitepress/src/assets/category/footer/code-zgz.jpg diff --git a/docs/.vitepress/src/assets/category/footer/code-zgz.png b/app/.vitepress/src/assets/category/footer/code-zgz.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/code-zgz.png rename to app/.vitepress/src/assets/category/footer/code-zgz.png diff --git a/docs/.vitepress/src/assets/category/footer/csdn.png b/app/.vitepress/src/assets/category/footer/csdn.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/csdn.png rename to app/.vitepress/src/assets/category/footer/csdn.png diff --git a/docs/.vitepress/src/assets/category/footer/csdn_hover.png b/app/.vitepress/src/assets/category/footer/csdn_hover.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/csdn_hover.png rename to app/.vitepress/src/assets/category/footer/csdn_hover.png diff --git a/docs/.vitepress/src/assets/category/footer/footer-bg-mo.png b/app/.vitepress/src/assets/category/footer/footer-bg-mo.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/footer-bg-mo.png rename to app/.vitepress/src/assets/category/footer/footer-bg-mo.png diff --git a/docs/.vitepress/src/assets/category/footer/footer-bg.png b/app/.vitepress/src/assets/category/footer/footer-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/footer-bg.png rename to app/.vitepress/src/assets/category/footer/footer-bg.png diff --git a/docs/.vitepress/src/assets/category/footer/footer-bg1.png b/app/.vitepress/src/assets/category/footer/footer-bg1.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/footer-bg1.png rename to app/.vitepress/src/assets/category/footer/footer-bg1.png diff --git a/docs/.vitepress/src/assets/category/footer/footer-logo1.png b/app/.vitepress/src/assets/category/footer/footer-logo1.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/footer-logo1.png rename to app/.vitepress/src/assets/category/footer/footer-logo1.png diff --git a/docs/.vitepress/src/assets/category/footer/footer-logo2.png b/app/.vitepress/src/assets/category/footer/footer-logo2.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/footer-logo2.png rename to app/.vitepress/src/assets/category/footer/footer-logo2.png diff --git a/docs/.vitepress/src/assets/category/footer/img-gzh.png b/app/.vitepress/src/assets/category/footer/img-gzh.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/img-gzh.png rename to app/.vitepress/src/assets/category/footer/img-gzh.png diff --git a/docs/.vitepress/src/assets/category/footer/img-xzs.png b/app/.vitepress/src/assets/category/footer/img-xzs.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/img-xzs.png rename to app/.vitepress/src/assets/category/footer/img-xzs.png diff --git a/docs/.vitepress/src/assets/category/footer/infoq.png b/app/.vitepress/src/assets/category/footer/infoq.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/infoq.png rename to app/.vitepress/src/assets/category/footer/infoq.png diff --git a/docs/.vitepress/src/assets/category/footer/juejin.png b/app/.vitepress/src/assets/category/footer/juejin.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/juejin.png rename to app/.vitepress/src/assets/category/footer/juejin.png diff --git a/docs/.vitepress/src/assets/category/footer/juejin_hover.png b/app/.vitepress/src/assets/category/footer/juejin_hover.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/juejin_hover.png rename to app/.vitepress/src/assets/category/footer/juejin_hover.png diff --git a/docs/.vitepress/src/assets/category/footer/linkdin.png b/app/.vitepress/src/assets/category/footer/linkdin.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/linkdin.png rename to app/.vitepress/src/assets/category/footer/linkdin.png diff --git a/docs/.vitepress/src/assets/category/footer/linkdin_hover.png b/app/.vitepress/src/assets/category/footer/linkdin_hover.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/linkdin_hover.png rename to app/.vitepress/src/assets/category/footer/linkdin_hover.png diff --git a/docs/.vitepress/src/assets/category/footer/oschina.png b/app/.vitepress/src/assets/category/footer/oschina.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/oschina.png rename to app/.vitepress/src/assets/category/footer/oschina.png diff --git a/docs/.vitepress/src/assets/category/footer/oschina_hover.png b/app/.vitepress/src/assets/category/footer/oschina_hover.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/oschina_hover.png rename to app/.vitepress/src/assets/category/footer/oschina_hover.png diff --git a/docs/.vitepress/src/assets/category/footer/reddit-square.png b/app/.vitepress/src/assets/category/footer/reddit-square.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/reddit-square.png rename to app/.vitepress/src/assets/category/footer/reddit-square.png diff --git a/docs/.vitepress/src/assets/category/footer/reddit-square_hover.png b/app/.vitepress/src/assets/category/footer/reddit-square_hover.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/reddit-square_hover.png rename to app/.vitepress/src/assets/category/footer/reddit-square_hover.png diff --git a/docs/.vitepress/src/assets/category/footer/svg-icons/icon-chat.svg b/app/.vitepress/src/assets/category/footer/svg-icons/icon-chat.svg similarity index 100% rename from docs/.vitepress/src/assets/category/footer/svg-icons/icon-chat.svg rename to app/.vitepress/src/assets/category/footer/svg-icons/icon-chat.svg diff --git a/docs/.vitepress/src/assets/category/footer/svg-icons/icon-quickissue_dark.svg b/app/.vitepress/src/assets/category/footer/svg-icons/icon-quickissue_dark.svg similarity index 100% rename from docs/.vitepress/src/assets/category/footer/svg-icons/icon-quickissue_dark.svg rename to app/.vitepress/src/assets/category/footer/svg-icons/icon-quickissue_dark.svg diff --git a/docs/.vitepress/src/assets/category/footer/svg-icons/icon-quickissue_light.svg b/app/.vitepress/src/assets/category/footer/svg-icons/icon-quickissue_light.svg similarity index 100% rename from docs/.vitepress/src/assets/category/footer/svg-icons/icon-quickissue_light.svg rename to app/.vitepress/src/assets/category/footer/svg-icons/icon-quickissue_light.svg diff --git a/docs/.vitepress/src/assets/category/footer/svg-icons/icon-smile.svg b/app/.vitepress/src/assets/category/footer/svg-icons/icon-smile.svg similarity index 100% rename from docs/.vitepress/src/assets/category/footer/svg-icons/icon-smile.svg rename to app/.vitepress/src/assets/category/footer/svg-icons/icon-smile.svg diff --git a/docs/.vitepress/src/assets/category/footer/toutiao.png b/app/.vitepress/src/assets/category/footer/toutiao.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/toutiao.png rename to app/.vitepress/src/assets/category/footer/toutiao.png diff --git a/docs/.vitepress/src/assets/category/footer/toutiao_hover.png b/app/.vitepress/src/assets/category/footer/toutiao_hover.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/toutiao_hover.png rename to app/.vitepress/src/assets/category/footer/toutiao_hover.png diff --git a/docs/.vitepress/src/assets/category/footer/x.png b/app/.vitepress/src/assets/category/footer/x.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/x.png rename to app/.vitepress/src/assets/category/footer/x.png diff --git a/docs/.vitepress/src/assets/category/footer/x_hover.png b/app/.vitepress/src/assets/category/footer/x_hover.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/x_hover.png rename to app/.vitepress/src/assets/category/footer/x_hover.png diff --git a/docs/.vitepress/src/assets/category/footer/youtube.png b/app/.vitepress/src/assets/category/footer/youtube.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/youtube.png rename to app/.vitepress/src/assets/category/footer/youtube.png diff --git a/docs/.vitepress/src/assets/category/footer/youtube_hover.png b/app/.vitepress/src/assets/category/footer/youtube_hover.png similarity index 100% rename from docs/.vitepress/src/assets/category/footer/youtube_hover.png rename to app/.vitepress/src/assets/category/footer/youtube_hover.png diff --git a/docs/.vitepress/src/assets/category/header/annual-report-2024.jpg b/app/.vitepress/src/assets/category/header/annual-report-2024.jpg similarity index 100% rename from docs/.vitepress/src/assets/category/header/annual-report-2024.jpg rename to app/.vitepress/src/assets/category/header/annual-report-2024.jpg diff --git a/docs/.vitepress/src/assets/category/header/logo.svg b/app/.vitepress/src/assets/category/header/logo.svg similarity index 100% rename from docs/.vitepress/src/assets/category/header/logo.svg rename to app/.vitepress/src/assets/category/header/logo.svg diff --git a/docs/.vitepress/src/assets/category/header/logo_dark.svg b/app/.vitepress/src/assets/category/header/logo_dark.svg similarity index 100% rename from docs/.vitepress/src/assets/category/header/logo_dark.svg rename to app/.vitepress/src/assets/category/header/logo_dark.svg diff --git a/docs/.vitepress/src/assets/category/header/nav_background_left.png b/app/.vitepress/src/assets/category/header/nav_background_left.png similarity index 100% rename from docs/.vitepress/src/assets/category/header/nav_background_left.png rename to app/.vitepress/src/assets/category/header/nav_background_left.png diff --git a/docs/.vitepress/src/assets/category/header/nav_background_right.png b/app/.vitepress/src/assets/category/header/nav_background_right.png similarity index 100% rename from docs/.vitepress/src/assets/category/header/nav_background_right.png rename to app/.vitepress/src/assets/category/header/nav_background_right.png diff --git a/docs/.vitepress/src/assets/category/header/report.png b/app/.vitepress/src/assets/category/header/report.png similarity index 100% rename from docs/.vitepress/src/assets/category/header/report.png rename to app/.vitepress/src/assets/category/header/report.png diff --git a/docs/.vitepress/src/assets/category/header/sig.png b/app/.vitepress/src/assets/category/header/sig.png similarity index 100% rename from docs/.vitepress/src/assets/category/header/sig.png rename to app/.vitepress/src/assets/category/header/sig.png diff --git a/docs/.vitepress/src/assets/category/header/summit.png b/app/.vitepress/src/assets/category/header/summit.png similarity index 100% rename from docs/.vitepress/src/assets/category/header/summit.png rename to app/.vitepress/src/assets/category/header/summit.png diff --git a/docs/.vitepress/src/assets/category/home/cloud-bg.png b/app/.vitepress/src/assets/category/home/cloud-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/cloud-bg.png rename to app/.vitepress/src/assets/category/home/cloud-bg.png diff --git a/docs/.vitepress/src/assets/category/home/edge-computing-bg.png b/app/.vitepress/src/assets/category/home/edge-computing-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/edge-computing-bg.png rename to app/.vitepress/src/assets/category/home/edge-computing-bg.png diff --git a/docs/.vitepress/src/assets/category/home/embedded-bg.png b/app/.vitepress/src/assets/category/home/embedded-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/embedded-bg.png rename to app/.vitepress/src/assets/category/home/embedded-bg.png diff --git a/docs/.vitepress/src/assets/category/home/home-banner-dark.png b/app/.vitepress/src/assets/category/home/home-banner-dark.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/home-banner-dark.png rename to app/.vitepress/src/assets/category/home/home-banner-dark.png diff --git a/docs/.vitepress/src/assets/category/home/home-banner.png b/app/.vitepress/src/assets/category/home/home-banner.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/home-banner.png rename to app/.vitepress/src/assets/category/home/home-banner.png diff --git a/docs/.vitepress/src/assets/category/home/install-guide-bg-dark.png b/app/.vitepress/src/assets/category/home/install-guide-bg-dark.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/install-guide-bg-dark.png rename to app/.vitepress/src/assets/category/home/install-guide-bg-dark.png diff --git a/docs/.vitepress/src/assets/category/home/install-guide-bg.png b/app/.vitepress/src/assets/category/home/install-guide-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/install-guide-bg.png rename to app/.vitepress/src/assets/category/home/install-guide-bg.png diff --git a/docs/.vitepress/src/assets/category/home/install-guide-mo-bg.png b/app/.vitepress/src/assets/category/home/install-guide-mo-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/install-guide-mo-bg.png rename to app/.vitepress/src/assets/category/home/install-guide-mo-bg.png diff --git a/docs/.vitepress/src/assets/category/home/install-mo-bg-dark.png b/app/.vitepress/src/assets/category/home/install-mo-bg-dark.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/install-mo-bg-dark.png rename to app/.vitepress/src/assets/category/home/install-mo-bg-dark.png diff --git a/docs/.vitepress/src/assets/category/home/qa-bg-dark.png b/app/.vitepress/src/assets/category/home/qa-bg-dark.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/qa-bg-dark.png rename to app/.vitepress/src/assets/category/home/qa-bg-dark.png diff --git a/docs/.vitepress/src/assets/category/home/qa-bg.png b/app/.vitepress/src/assets/category/home/qa-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/qa-bg.png rename to app/.vitepress/src/assets/category/home/qa-bg.png diff --git a/docs/.vitepress/src/assets/category/home/qa-mo-bg-dark.png b/app/.vitepress/src/assets/category/home/qa-mo-bg-dark.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/qa-mo-bg-dark.png rename to app/.vitepress/src/assets/category/home/qa-mo-bg-dark.png diff --git a/docs/.vitepress/src/assets/category/home/qa-mo-bg.png b/app/.vitepress/src/assets/category/home/qa-mo-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/qa-mo-bg.png rename to app/.vitepress/src/assets/category/home/qa-mo-bg.png diff --git a/docs/.vitepress/src/assets/category/home/server-bg.png b/app/.vitepress/src/assets/category/home/server-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/server-bg.png rename to app/.vitepress/src/assets/category/home/server-bg.png diff --git a/docs/.vitepress/src/assets/category/home/started-bg-dark.png b/app/.vitepress/src/assets/category/home/started-bg-dark.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/started-bg-dark.png rename to app/.vitepress/src/assets/category/home/started-bg-dark.png diff --git a/docs/.vitepress/src/assets/category/home/started-bg.png b/app/.vitepress/src/assets/category/home/started-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/started-bg.png rename to app/.vitepress/src/assets/category/home/started-bg.png diff --git a/docs/.vitepress/src/assets/category/home/started-mo-bg-dark.png b/app/.vitepress/src/assets/category/home/started-mo-bg-dark.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/started-mo-bg-dark.png rename to app/.vitepress/src/assets/category/home/started-mo-bg-dark.png diff --git a/docs/.vitepress/src/assets/category/home/started-mo-bg.png b/app/.vitepress/src/assets/category/home/started-mo-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/started-mo-bg.png rename to app/.vitepress/src/assets/category/home/started-mo-bg.png diff --git a/docs/.vitepress/src/assets/category/home/svg-icons/cloud.svg b/app/.vitepress/src/assets/category/home/svg-icons/cloud.svg similarity index 100% rename from docs/.vitepress/src/assets/category/home/svg-icons/cloud.svg rename to app/.vitepress/src/assets/category/home/svg-icons/cloud.svg diff --git a/docs/.vitepress/src/assets/category/home/svg-icons/edge-computing.svg b/app/.vitepress/src/assets/category/home/svg-icons/edge-computing.svg similarity index 100% rename from docs/.vitepress/src/assets/category/home/svg-icons/edge-computing.svg rename to app/.vitepress/src/assets/category/home/svg-icons/edge-computing.svg diff --git a/docs/.vitepress/src/assets/category/home/svg-icons/embedded.svg b/app/.vitepress/src/assets/category/home/svg-icons/embedded.svg similarity index 100% rename from docs/.vitepress/src/assets/category/home/svg-icons/embedded.svg rename to app/.vitepress/src/assets/category/home/svg-icons/embedded.svg diff --git a/docs/.vitepress/src/assets/category/home/svg-icons/server.svg b/app/.vitepress/src/assets/category/home/svg-icons/server.svg similarity index 100% rename from docs/.vitepress/src/assets/category/home/svg-icons/server.svg rename to app/.vitepress/src/assets/category/home/svg-icons/server.svg diff --git a/docs/.vitepress/src/assets/category/home/svg-icons/virtualization.svg b/app/.vitepress/src/assets/category/home/svg-icons/virtualization.svg similarity index 100% rename from docs/.vitepress/src/assets/category/home/svg-icons/virtualization.svg rename to app/.vitepress/src/assets/category/home/svg-icons/virtualization.svg diff --git a/docs/.vitepress/src/assets/category/home/virtualization-bg.png b/app/.vitepress/src/assets/category/home/virtualization-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/virtualization-bg.png rename to app/.vitepress/src/assets/category/home/virtualization-bg.png diff --git a/docs/.vitepress/src/assets/category/home/x2-bg-dark.png b/app/.vitepress/src/assets/category/home/x2-bg-dark.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/x2-bg-dark.png rename to app/.vitepress/src/assets/category/home/x2-bg-dark.png diff --git a/docs/.vitepress/src/assets/category/home/x2-bg.png b/app/.vitepress/src/assets/category/home/x2-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/x2-bg.png rename to app/.vitepress/src/assets/category/home/x2-bg.png diff --git a/docs/.vitepress/src/assets/category/home/x2-mo-bg-dark.png b/app/.vitepress/src/assets/category/home/x2-mo-bg-dark.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/x2-mo-bg-dark.png rename to app/.vitepress/src/assets/category/home/x2-mo-bg-dark.png diff --git a/docs/.vitepress/src/assets/category/home/x2-mo-bg.png b/app/.vitepress/src/assets/category/home/x2-mo-bg.png similarity index 100% rename from docs/.vitepress/src/assets/category/home/x2-mo-bg.png rename to app/.vitepress/src/assets/category/home/x2-mo-bg.png diff --git a/docs/.vitepress/src/assets/style/base.scss b/app/.vitepress/src/assets/style/base.scss similarity index 100% rename from docs/.vitepress/src/assets/style/base.scss rename to app/.vitepress/src/assets/style/base.scss diff --git a/docs/.vitepress/src/assets/style/element-plus/index.scss b/app/.vitepress/src/assets/style/element-plus/index.scss similarity index 100% rename from docs/.vitepress/src/assets/style/element-plus/index.scss rename to app/.vitepress/src/assets/style/element-plus/index.scss diff --git a/docs/.vitepress/src/assets/style/element-plus/input.scss b/app/.vitepress/src/assets/style/element-plus/input.scss similarity index 100% rename from docs/.vitepress/src/assets/style/element-plus/input.scss rename to app/.vitepress/src/assets/style/element-plus/input.scss diff --git a/docs/.vitepress/src/assets/style/element-plus/pagination.scss b/app/.vitepress/src/assets/style/element-plus/pagination.scss similarity index 100% rename from docs/.vitepress/src/assets/style/element-plus/pagination.scss rename to app/.vitepress/src/assets/style/element-plus/pagination.scss diff --git a/docs/.vitepress/src/assets/style/element-plus/popper.scss b/app/.vitepress/src/assets/style/element-plus/popper.scss similarity index 100% rename from docs/.vitepress/src/assets/style/element-plus/popper.scss rename to app/.vitepress/src/assets/style/element-plus/popper.scss diff --git a/docs/.vitepress/src/assets/style/element-plus/scrollbar.scss b/app/.vitepress/src/assets/style/element-plus/scrollbar.scss similarity index 100% rename from docs/.vitepress/src/assets/style/element-plus/scrollbar.scss rename to app/.vitepress/src/assets/style/element-plus/scrollbar.scss diff --git a/docs/.vitepress/src/assets/style/element-plus/select.scss b/app/.vitepress/src/assets/style/element-plus/select.scss similarity index 100% rename from docs/.vitepress/src/assets/style/element-plus/select.scss rename to app/.vitepress/src/assets/style/element-plus/select.scss diff --git a/docs/.vitepress/src/assets/style/element-plus/slider.scss b/app/.vitepress/src/assets/style/element-plus/slider.scss similarity index 100% rename from docs/.vitepress/src/assets/style/element-plus/slider.scss rename to app/.vitepress/src/assets/style/element-plus/slider.scss diff --git a/docs/.vitepress/src/assets/style/element-plus/table.scss b/app/.vitepress/src/assets/style/element-plus/table.scss similarity index 100% rename from docs/.vitepress/src/assets/style/element-plus/table.scss rename to app/.vitepress/src/assets/style/element-plus/table.scss diff --git a/docs/.vitepress/src/assets/style/element-plus/var.scss b/app/.vitepress/src/assets/style/element-plus/var.scss similarity index 100% rename from docs/.vitepress/src/assets/style/element-plus/var.scss rename to app/.vitepress/src/assets/style/element-plus/var.scss diff --git a/docs/.vitepress/src/assets/style/global.scss b/app/.vitepress/src/assets/style/global.scss similarity index 100% rename from docs/.vitepress/src/assets/style/global.scss rename to app/.vitepress/src/assets/style/global.scss diff --git a/docs/.vitepress/src/assets/style/highlight/atom-one-dark.scss b/app/.vitepress/src/assets/style/highlight/atom-one-dark.scss similarity index 100% rename from docs/.vitepress/src/assets/style/highlight/atom-one-dark.scss rename to app/.vitepress/src/assets/style/highlight/atom-one-dark.scss diff --git a/docs/.vitepress/src/assets/style/highlight/atom-one-light.scss b/app/.vitepress/src/assets/style/highlight/atom-one-light.scss similarity index 100% rename from docs/.vitepress/src/assets/style/highlight/atom-one-light.scss rename to app/.vitepress/src/assets/style/highlight/atom-one-light.scss diff --git a/docs/.vitepress/src/assets/style/highlight/index.scss b/app/.vitepress/src/assets/style/highlight/index.scss similarity index 100% rename from docs/.vitepress/src/assets/style/highlight/index.scss rename to app/.vitepress/src/assets/style/highlight/index.scss diff --git a/docs/.vitepress/src/assets/style/markdown.scss b/app/.vitepress/src/assets/style/markdown.scss similarity index 100% rename from docs/.vitepress/src/assets/style/markdown.scss rename to app/.vitepress/src/assets/style/markdown.scss diff --git a/docs/.vitepress/src/assets/style/mixin/common.scss b/app/.vitepress/src/assets/style/mixin/common.scss similarity index 100% rename from docs/.vitepress/src/assets/style/mixin/common.scss rename to app/.vitepress/src/assets/style/mixin/common.scss diff --git a/docs/.vitepress/src/assets/style/mixin/font.scss b/app/.vitepress/src/assets/style/mixin/font.scss similarity index 100% rename from docs/.vitepress/src/assets/style/mixin/font.scss rename to app/.vitepress/src/assets/style/mixin/font.scss diff --git a/docs/.vitepress/src/assets/style/mixin/screen.scss b/app/.vitepress/src/assets/style/mixin/screen.scss similarity index 100% rename from docs/.vitepress/src/assets/style/mixin/screen.scss rename to app/.vitepress/src/assets/style/mixin/screen.scss diff --git a/docs/.vitepress/src/assets/style/theme/anchor.scss b/app/.vitepress/src/assets/style/theme/anchor.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/anchor.scss rename to app/.vitepress/src/assets/style/theme/anchor.scss diff --git a/docs/.vitepress/src/assets/style/theme/button.scss b/app/.vitepress/src/assets/style/theme/button.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/button.scss rename to app/.vitepress/src/assets/style/theme/button.scss diff --git a/docs/.vitepress/src/assets/style/theme/card.scss b/app/.vitepress/src/assets/style/theme/card.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/card.scss rename to app/.vitepress/src/assets/style/theme/card.scss diff --git a/docs/.vitepress/src/assets/style/theme/dark.token.css b/app/.vitepress/src/assets/style/theme/dark.token.css similarity index 100% rename from docs/.vitepress/src/assets/style/theme/dark.token.css rename to app/.vitepress/src/assets/style/theme/dark.token.css diff --git a/docs/.vitepress/src/assets/style/theme/default-light.token.css b/app/.vitepress/src/assets/style/theme/default-light.token.css similarity index 100% rename from docs/.vitepress/src/assets/style/theme/default-light.token.css rename to app/.vitepress/src/assets/style/theme/default-light.token.css diff --git a/docs/.vitepress/src/assets/style/theme/dialog.scss b/app/.vitepress/src/assets/style/theme/dialog.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/dialog.scss rename to app/.vitepress/src/assets/style/theme/dialog.scss diff --git a/docs/.vitepress/src/assets/style/theme/dropdown.scss b/app/.vitepress/src/assets/style/theme/dropdown.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/dropdown.scss rename to app/.vitepress/src/assets/style/theme/dropdown.scss diff --git a/docs/.vitepress/src/assets/style/theme/index.scss b/app/.vitepress/src/assets/style/theme/index.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/index.scss rename to app/.vitepress/src/assets/style/theme/index.scss diff --git a/docs/.vitepress/src/assets/style/theme/input.scss b/app/.vitepress/src/assets/style/theme/input.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/input.scss rename to app/.vitepress/src/assets/style/theme/input.scss diff --git a/docs/.vitepress/src/assets/style/theme/message.scss b/app/.vitepress/src/assets/style/theme/message.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/message.scss rename to app/.vitepress/src/assets/style/theme/message.scss diff --git a/docs/.vitepress/src/assets/style/theme/popup.scss b/app/.vitepress/src/assets/style/theme/popup.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/popup.scss rename to app/.vitepress/src/assets/style/theme/popup.scss diff --git a/docs/.vitepress/src/assets/style/theme/rate.scss b/app/.vitepress/src/assets/style/theme/rate.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/rate.scss rename to app/.vitepress/src/assets/style/theme/rate.scss diff --git a/docs/.vitepress/src/assets/style/theme/result.scss b/app/.vitepress/src/assets/style/theme/result.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/result.scss rename to app/.vitepress/src/assets/style/theme/result.scss diff --git a/docs/.vitepress/src/assets/style/theme/select.scss b/app/.vitepress/src/assets/style/theme/select.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/select.scss rename to app/.vitepress/src/assets/style/theme/select.scss diff --git a/docs/.vitepress/src/assets/style/theme/tab.scss b/app/.vitepress/src/assets/style/theme/tab.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/tab.scss rename to app/.vitepress/src/assets/style/theme/tab.scss diff --git a/docs/.vitepress/src/assets/style/theme/table.scss b/app/.vitepress/src/assets/style/theme/table.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/table.scss rename to app/.vitepress/src/assets/style/theme/table.scss diff --git a/docs/.vitepress/src/assets/style/theme/tag.scss b/app/.vitepress/src/assets/style/theme/tag.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/tag.scss rename to app/.vitepress/src/assets/style/theme/tag.scss diff --git a/docs/.vitepress/src/assets/style/theme/textarea.scss b/app/.vitepress/src/assets/style/theme/textarea.scss similarity index 100% rename from docs/.vitepress/src/assets/style/theme/textarea.scss rename to app/.vitepress/src/assets/style/theme/textarea.scss diff --git a/docs/.vitepress/src/assets/svg-icons/icon-arrow-right.svg b/app/.vitepress/src/assets/svg-icons/icon-arrow-right.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-arrow-right.svg rename to app/.vitepress/src/assets/svg-icons/icon-arrow-right.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-chevron-down.svg b/app/.vitepress/src/assets/svg-icons/icon-chevron-down.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-chevron-down.svg rename to app/.vitepress/src/assets/svg-icons/icon-chevron-down.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-chevron-right.svg b/app/.vitepress/src/assets/svg-icons/icon-chevron-right.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-chevron-right.svg rename to app/.vitepress/src/assets/svg-icons/icon-chevron-right.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-close.svg b/app/.vitepress/src/assets/svg-icons/icon-close.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-close.svg rename to app/.vitepress/src/assets/svg-icons/icon-close.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-copy.svg b/app/.vitepress/src/assets/svg-icons/icon-copy.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-copy.svg rename to app/.vitepress/src/assets/svg-icons/icon-copy.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-delete.svg b/app/.vitepress/src/assets/svg-icons/icon-delete.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-delete.svg rename to app/.vitepress/src/assets/svg-icons/icon-delete.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-exit-full-screen.svg b/app/.vitepress/src/assets/svg-icons/icon-exit-full-screen.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-exit-full-screen.svg rename to app/.vitepress/src/assets/svg-icons/icon-exit-full-screen.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-expand.svg b/app/.vitepress/src/assets/svg-icons/icon-expand.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-expand.svg rename to app/.vitepress/src/assets/svg-icons/icon-expand.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-full-screen.svg b/app/.vitepress/src/assets/svg-icons/icon-full-screen.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-full-screen.svg rename to app/.vitepress/src/assets/svg-icons/icon-full-screen.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-header-back.svg b/app/.vitepress/src/assets/svg-icons/icon-header-back.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-header-back.svg rename to app/.vitepress/src/assets/svg-icons/icon-header-back.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-header-delete.svg b/app/.vitepress/src/assets/svg-icons/icon-header-delete.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-header-delete.svg rename to app/.vitepress/src/assets/svg-icons/icon-header-delete.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-header-menu.svg b/app/.vitepress/src/assets/svg-icons/icon-header-menu.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-header-menu.svg rename to app/.vitepress/src/assets/svg-icons/icon-header-menu.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-header-moon.svg b/app/.vitepress/src/assets/svg-icons/icon-header-moon.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-header-moon.svg rename to app/.vitepress/src/assets/svg-icons/icon-header-moon.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-header-next.svg b/app/.vitepress/src/assets/svg-icons/icon-header-next.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-header-next.svg rename to app/.vitepress/src/assets/svg-icons/icon-header-next.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-header-person.svg b/app/.vitepress/src/assets/svg-icons/icon-header-person.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-header-person.svg rename to app/.vitepress/src/assets/svg-icons/icon-header-person.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-header-search.svg b/app/.vitepress/src/assets/svg-icons/icon-header-search.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-header-search.svg rename to app/.vitepress/src/assets/svg-icons/icon-header-search.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-link.svg b/app/.vitepress/src/assets/svg-icons/icon-link.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-link.svg rename to app/.vitepress/src/assets/svg-icons/icon-link.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-out-link.svg b/app/.vitepress/src/assets/svg-icons/icon-out-link.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-out-link.svg rename to app/.vitepress/src/assets/svg-icons/icon-out-link.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-outlink.svg b/app/.vitepress/src/assets/svg-icons/icon-outlink.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-outlink.svg rename to app/.vitepress/src/assets/svg-icons/icon-outlink.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-pin.svg b/app/.vitepress/src/assets/svg-icons/icon-pin.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-pin.svg rename to app/.vitepress/src/assets/svg-icons/icon-pin.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-search.svg b/app/.vitepress/src/assets/svg-icons/icon-search.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-search.svg rename to app/.vitepress/src/assets/svg-icons/icon-search.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-sun-outline.svg b/app/.vitepress/src/assets/svg-icons/icon-sun-outline.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-sun-outline.svg rename to app/.vitepress/src/assets/svg-icons/icon-sun-outline.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-tips.svg b/app/.vitepress/src/assets/svg-icons/icon-tips.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-tips.svg rename to app/.vitepress/src/assets/svg-icons/icon-tips.svg diff --git a/docs/.vitepress/src/assets/svg-icons/icon-top.svg b/app/.vitepress/src/assets/svg-icons/icon-top.svg similarity index 100% rename from docs/.vitepress/src/assets/svg-icons/icon-top.svg rename to app/.vitepress/src/assets/svg-icons/icon-top.svg diff --git a/docs/.vitepress/src/components/AppFooter.vue b/app/.vitepress/src/components/AppFooter.vue similarity index 100% rename from docs/.vitepress/src/components/AppFooter.vue rename to app/.vitepress/src/components/AppFooter.vue diff --git a/docs/.vitepress/src/components/ContentWrapper.vue b/app/.vitepress/src/components/ContentWrapper.vue similarity index 100% rename from docs/.vitepress/src/components/ContentWrapper.vue rename to app/.vitepress/src/components/ContentWrapper.vue diff --git a/docs/.vitepress/src/components/CookieNotice.vue b/app/.vitepress/src/components/CookieNotice.vue similarity index 100% rename from docs/.vitepress/src/components/CookieNotice.vue rename to app/.vitepress/src/components/CookieNotice.vue diff --git a/docs/.vitepress/src/components/FloatingButton.vue b/app/.vitepress/src/components/FloatingButton.vue similarity index 100% rename from docs/.vitepress/src/components/FloatingButton.vue rename to app/.vitepress/src/components/FloatingButton.vue diff --git a/docs/.vitepress/src/components/FloatingButtonDocs.vue b/app/.vitepress/src/components/FloatingButtonDocs.vue similarity index 100% rename from docs/.vitepress/src/components/FloatingButtonDocs.vue rename to app/.vitepress/src/components/FloatingButtonDocs.vue diff --git a/docs/.vitepress/src/components/GiteeViewSource.vue b/app/.vitepress/src/components/GiteeViewSource.vue similarity index 100% rename from docs/.vitepress/src/components/GiteeViewSource.vue rename to app/.vitepress/src/components/GiteeViewSource.vue diff --git a/docs/.vitepress/src/components/ImgZoomDrag.vue b/app/.vitepress/src/components/ImgZoomDrag.vue similarity index 100% rename from docs/.vitepress/src/components/ImgZoomDrag.vue rename to app/.vitepress/src/components/ImgZoomDrag.vue diff --git a/docs/.vitepress/src/components/ResultEmpty.vue b/app/.vitepress/src/components/ResultEmpty.vue similarity index 100% rename from docs/.vitepress/src/components/ResultEmpty.vue rename to app/.vitepress/src/components/ResultEmpty.vue diff --git a/docs/.vitepress/src/components/doc/DocBreadCrumb.vue b/app/.vitepress/src/components/doc/DocBreadCrumb.vue similarity index 87% rename from docs/.vitepress/src/components/doc/DocBreadCrumb.vue rename to app/.vitepress/src/components/doc/DocBreadCrumb.vue index f322a9fb581beadc61653dcb9e9baf75b9557404..b2252eb809c6d2699746e6eb71dad0656af21dc7 100644 --- a/docs/.vitepress/src/components/doc/DocBreadCrumb.vue +++ b/app/.vitepress/src/components/doc/DocBreadCrumb.vue @@ -25,10 +25,10 @@ const props = defineProps({ // -------------------- 菜单 -------------------- const nodeStore = useNodeStore(); -// 是否是贡献指南手册,直接显示 文档中心 > 贡献指南的具体章节 -const isContribute = computed(() => { +// 是否是 common 内容,直接显示 文档中心 > 具体章节 +const isCommonContent = computed(() => { const pathHref = route.path.replace('.html', ''); - return pathHref.includes('/zh/contribute') || pathHref.includes('/en/contribute'); + return pathHref.includes('/zh/docs/common/') || pathHref.includes('/en/docs/common/'); }); // -------------------- 当前节点标题 -------------------- @@ -56,7 +56,7 @@ const goToPage = (href: string) => { {{ t('home.docCenter') }} - {{ + {{ nodeStore.moduleNode?.label }} {{ diff --git a/docs/.vitepress/src/components/doc/DocBug.vue b/app/.vitepress/src/components/doc/DocBug.vue similarity index 100% rename from docs/.vitepress/src/components/doc/DocBug.vue rename to app/.vitepress/src/components/doc/DocBug.vue diff --git a/docs/.vitepress/src/components/doc/DocBugDialog.vue b/app/.vitepress/src/components/doc/DocBugDialog.vue similarity index 100% rename from docs/.vitepress/src/components/doc/DocBugDialog.vue rename to app/.vitepress/src/components/doc/DocBugDialog.vue diff --git a/docs/.vitepress/src/components/doc/DocFooter.vue b/app/.vitepress/src/components/doc/DocFooter.vue similarity index 100% rename from docs/.vitepress/src/components/doc/DocFooter.vue rename to app/.vitepress/src/components/doc/DocFooter.vue diff --git a/docs/.vitepress/src/components/doc/DocMenu.vue b/app/.vitepress/src/components/doc/DocMenu.vue similarity index 100% rename from docs/.vitepress/src/components/doc/DocMenu.vue rename to app/.vitepress/src/components/doc/DocMenu.vue diff --git a/docs/.vitepress/src/components/doc/DocPagination.vue b/app/.vitepress/src/components/doc/DocPagination.vue similarity index 100% rename from docs/.vitepress/src/components/doc/DocPagination.vue rename to app/.vitepress/src/components/doc/DocPagination.vue diff --git a/docs/.vitepress/src/components/doc/DocSearch.vue b/app/.vitepress/src/components/doc/DocSearch.vue similarity index 100% rename from docs/.vitepress/src/components/doc/DocSearch.vue rename to app/.vitepress/src/components/doc/DocSearch.vue diff --git a/docs/.vitepress/src/components/doc/DocVersion.vue b/app/.vitepress/src/components/doc/DocVersion.vue similarity index 100% rename from docs/.vitepress/src/components/doc/DocVersion.vue rename to app/.vitepress/src/components/doc/DocVersion.vue diff --git a/docs/.vitepress/src/components/doc/DocVersionMobile.vue b/app/.vitepress/src/components/doc/DocVersionMobile.vue similarity index 100% rename from docs/.vitepress/src/components/doc/DocVersionMobile.vue rename to app/.vitepress/src/components/doc/DocVersionMobile.vue diff --git a/docs/.vitepress/src/components/feedback/FeedbackSlider.vue b/app/.vitepress/src/components/feedback/FeedbackSlider.vue similarity index 100% rename from docs/.vitepress/src/components/feedback/FeedbackSlider.vue rename to app/.vitepress/src/components/feedback/FeedbackSlider.vue diff --git a/docs/.vitepress/src/components/feedback/FloatingButtonHome.vue b/app/.vitepress/src/components/feedback/FloatingButtonHome.vue similarity index 100% rename from docs/.vitepress/src/components/feedback/FloatingButtonHome.vue rename to app/.vitepress/src/components/feedback/FloatingButtonHome.vue diff --git a/docs/.vitepress/src/components/header/AppHeader.vue b/app/.vitepress/src/components/header/AppHeader.vue similarity index 100% rename from docs/.vitepress/src/components/header/AppHeader.vue rename to app/.vitepress/src/components/header/AppHeader.vue diff --git a/docs/.vitepress/src/components/header/HeaderCode.vue b/app/.vitepress/src/components/header/HeaderCode.vue similarity index 100% rename from docs/.vitepress/src/components/header/HeaderCode.vue rename to app/.vitepress/src/components/header/HeaderCode.vue diff --git a/docs/.vitepress/src/components/header/HeaderLanguage.vue b/app/.vitepress/src/components/header/HeaderLanguage.vue similarity index 100% rename from docs/.vitepress/src/components/header/HeaderLanguage.vue rename to app/.vitepress/src/components/header/HeaderLanguage.vue diff --git a/docs/.vitepress/src/components/header/HeaderLogin.vue b/app/.vitepress/src/components/header/HeaderLogin.vue similarity index 100% rename from docs/.vitepress/src/components/header/HeaderLogin.vue rename to app/.vitepress/src/components/header/HeaderLogin.vue diff --git a/docs/.vitepress/src/components/header/HeaderNav.vue b/app/.vitepress/src/components/header/HeaderNav.vue similarity index 100% rename from docs/.vitepress/src/components/header/HeaderNav.vue rename to app/.vitepress/src/components/header/HeaderNav.vue diff --git a/docs/.vitepress/src/components/header/HeaderNavMoblie.vue b/app/.vitepress/src/components/header/HeaderNavMoblie.vue similarity index 100% rename from docs/.vitepress/src/components/header/HeaderNavMoblie.vue rename to app/.vitepress/src/components/header/HeaderNavMoblie.vue diff --git a/docs/.vitepress/src/components/header/HeaderSearch.vue b/app/.vitepress/src/components/header/HeaderSearch.vue similarity index 100% rename from docs/.vitepress/src/components/header/HeaderSearch.vue rename to app/.vitepress/src/components/header/HeaderSearch.vue diff --git a/docs/.vitepress/src/components/header/HeaderTheme.vue b/app/.vitepress/src/components/header/HeaderTheme.vue similarity index 100% rename from docs/.vitepress/src/components/header/HeaderTheme.vue rename to app/.vitepress/src/components/header/HeaderTheme.vue diff --git a/docs/.vitepress/src/components/header/NavContent.vue b/app/.vitepress/src/components/header/NavContent.vue similarity index 100% rename from docs/.vitepress/src/components/header/NavContent.vue rename to app/.vitepress/src/components/header/NavContent.vue diff --git a/docs/.vitepress/src/components/header/NavLink.vue b/app/.vitepress/src/components/header/NavLink.vue similarity index 100% rename from docs/.vitepress/src/components/header/NavLink.vue rename to app/.vitepress/src/components/header/NavLink.vue diff --git a/docs/.vitepress/src/components/hooks/useClickOutside.ts b/app/.vitepress/src/components/hooks/useClickOutside.ts similarity index 100% rename from docs/.vitepress/src/components/hooks/useClickOutside.ts rename to app/.vitepress/src/components/hooks/useClickOutside.ts diff --git a/docs/.vitepress/src/components/markdown/MarkdownImage.vue b/app/.vitepress/src/components/markdown/MarkdownImage.vue similarity index 100% rename from docs/.vitepress/src/components/markdown/MarkdownImage.vue rename to app/.vitepress/src/components/markdown/MarkdownImage.vue diff --git a/docs/.vitepress/src/components/markdown/MarkdownTitle.vue b/app/.vitepress/src/components/markdown/MarkdownTitle.vue similarity index 100% rename from docs/.vitepress/src/components/markdown/MarkdownTitle.vue rename to app/.vitepress/src/components/markdown/MarkdownTitle.vue diff --git a/docs/.vitepress/src/components/menu/RecursionMenu.vue b/app/.vitepress/src/components/menu/RecursionMenu.vue similarity index 100% rename from docs/.vitepress/src/components/menu/RecursionMenu.vue rename to app/.vitepress/src/components/menu/RecursionMenu.vue diff --git a/docs/.vitepress/src/components/menu/RecursionMenuItem.vue b/app/.vitepress/src/components/menu/RecursionMenuItem.vue similarity index 100% rename from docs/.vitepress/src/components/menu/RecursionMenuItem.vue rename to app/.vitepress/src/components/menu/RecursionMenuItem.vue diff --git a/docs/.vitepress/src/composables/useClipboard.ts b/app/.vitepress/src/composables/useClipboard.ts similarity index 100% rename from docs/.vitepress/src/composables/useClipboard.ts rename to app/.vitepress/src/composables/useClipboard.ts diff --git a/docs/.vitepress/src/composables/useDebounceSearch.ts b/app/.vitepress/src/composables/useDebounceSearch.ts similarity index 100% rename from docs/.vitepress/src/composables/useDebounceSearch.ts rename to app/.vitepress/src/composables/useDebounceSearch.ts diff --git a/docs/.vitepress/src/composables/useLocale.ts b/app/.vitepress/src/composables/useLocale.ts similarity index 100% rename from docs/.vitepress/src/composables/useLocale.ts rename to app/.vitepress/src/composables/useLocale.ts diff --git a/docs/.vitepress/src/composables/useScreen.ts b/app/.vitepress/src/composables/useScreen.ts similarity index 100% rename from docs/.vitepress/src/composables/useScreen.ts rename to app/.vitepress/src/composables/useScreen.ts diff --git a/docs/.vitepress/src/composables/useSelect.ts b/app/.vitepress/src/composables/useSelect.ts similarity index 100% rename from docs/.vitepress/src/composables/useSelect.ts rename to app/.vitepress/src/composables/useSelect.ts diff --git a/docs/.vitepress/src/config/footer.ts b/app/.vitepress/src/config/footer.ts similarity index 100% rename from docs/.vitepress/src/config/footer.ts rename to app/.vitepress/src/config/footer.ts diff --git a/docs/.vitepress/src/config/home.ts b/app/.vitepress/src/config/home.ts similarity index 79% rename from docs/.vitepress/src/config/home.ts rename to app/.vitepress/src/config/home.ts index 28e00762301ca4983ca33573b61df3a6e85b04be..70743d3743a11267e41ac104c2c1885750a4127a 100644 --- a/docs/.vitepress/src/config/home.ts +++ b/app/.vitepress/src/config/home.ts @@ -53,8 +53,8 @@ export const cardList = [ en: 'Learn the community essentials in 10 minutes, build and grow quickly.', }, href: { - zh: '/zh/Server/Quickstart/Quickstart/quick-start.html', - en: '/zh/Server/Quickstart/Quickstart/quick-start.html', + zh: '/zh/docs/25.03/server/quickstart/quickstart/quick-start.html', + en: '/en/docs/25.03/server/quickstart/quickstart/quick-start.html', }, }, { @@ -75,8 +75,8 @@ export const cardList = [ en: 'Step-by-step instructions for installing openEuler.', }, href: { - zh: '/zh/Server/InstallationUpgrade/Installation/installation-preparations.html', - en: '/zh/Server/InstallationUpgrade/Installation/installation-preparations.html', + zh: '/zh/docs/25.03/server/installation_upgrade/installation/installation-preparations.html', + en: '/en/docs/25.03/server/installation_upgrade/installation/installation-preparations.html', }, }, { @@ -97,8 +97,8 @@ export const cardList = [ en: 'Solutions to common issues and troubleshooting tips.', }, href: { - zh: 'https://www.openeuler.org/zh/faq/', - en: 'https://www.openeuler.org/en/faq/', + zh: '/zh/docs/common/faq/general/general_faq.html', + en: '/en/docs/common/faq/general/general_faq.html', }, }, { @@ -119,8 +119,8 @@ export const cardList = [ en: 'Explore ways to participate in document development.', }, href: { - zh: '/zh/contribute/directory_structure_introductory.html', - en: '/zh/contribute/directory_structure_introductory.html', + zh: '/zh/docs/common/contribute/directory_structure_introductory.html', + en: '/en/docs/common/contribute/directory_structure_introductory.html', }, }, ]; @@ -139,8 +139,8 @@ export const businessScenarioList = [ en: 'Explore guides for server installation, upgrades, management, performance tuning, and application development.', }, href: { - zh: '/zh/Server/index.html', - en: '/zh/Server/index.html', + zh: '/zh/docs/25.03/server/index.html', + en: '/en/docs/25.03/server/index.html', }, }, { @@ -155,8 +155,8 @@ export const businessScenarioList = [ en: 'Learn, install, and use virtualization technologies.', }, href: { - zh: '/zh/virtualization/index.html', - en: '/zh/virtualization/index.html', + zh: '/zh/docs/25.03/virtualization/index.html', + en: '/en/docs/25.03/virtualization/index.html', }, }, { @@ -171,8 +171,8 @@ export const businessScenarioList = [ en: 'Deploy containers and clusters with the comprehensive guides.', }, href: { - zh: '/zh/cloud/index.html', - en: '/zh/cloud/index.html', + zh: '/zh/docs/25.03/cloud/index.html', + en: '/en/docs/25.03/cloud/index.html', }, }, { @@ -187,8 +187,8 @@ export const businessScenarioList = [ en: 'Get started with KubeEdge and K3S installation and usage.', }, href: { - zh: '/zh/EdgeComputing/index.html', - en: '/zh/EdgeComputing/index.html', + zh: '/zh/docs/25.03/edge_computing/index.html', + en: '/en/docs/25.03/edge_computing/index.html', }, }, { @@ -203,8 +203,8 @@ export const businessScenarioList = [ en: 'Build images, develop applications, and manage embedded systems.', }, href: { - zh: '/zh/embedded/index.html', - en: '/zh/embedded/index.html', + zh: '/zh/docs/25.03/embedded/index.html', + en: '/en/docs/25.03/embedded/index.html', }, }, ]; @@ -220,8 +220,8 @@ export const toolList = [ en: 'Discover guides for image building, compilation, performance optimization, migration, virtualization, and epkg package manager.', }, href: { - zh: '/zh/Tools/CommunityTools/index.html', - en: '/zh/Tools/CommunityTools/index.html', + zh: '/zh/docs/25.03/tools/community_tools/index.html', + en: '/en/docs/25.03/tools/community_tools/index.html', }, }, { @@ -234,8 +234,8 @@ export const toolList = [ en: 'Leverage source code and package management services.', }, href: { - zh: '/zh/Tools/DevOps/index.html', - en: '/zh/Tools/DevOps/index.html', + zh: '/zh/docs/25.03/tools/devops/index.html', + en: '/en/docs/25.03/tools/devops/index.html', }, }, { @@ -248,8 +248,8 @@ export const toolList = [ en: 'Access guides for openEuler Copilot System and container images for AI model services.', }, href: { - zh: '/zh/Tools/AI/index.html', - en: '/zh/Tools/AI/index.html', + zh: '/zh/docs/25.03/tools/ai/index.html', + en: '/en/docs/25.03/tools/ai/index.html', }, }, { @@ -262,8 +262,8 @@ export const toolList = [ en: 'Set up and use graphical desktop environments.', }, href: { - zh: '/zh/Tools/desktop/index.html', - en: '/zh/Tools/desktop/index.html', + zh: '/zh/docs/25.03/tools/desktop/index.html', + en: '/en/docs/25.03/tools/desktop/index.html', }, }, { @@ -276,8 +276,8 @@ export const toolList = [ en: 'Explore user guides for CTinspector, CPDS and other essential tools.', }, href: { - zh: '/zh/Tools/Cloud/index.html', - en: '/zh/Tools/Cloud/index.html', + zh: '/zh/docs/25.03/tools/cloud/index.html', + en: '/en/docs/25.03/tools/cloud/index.html', }, }, { @@ -290,8 +290,8 @@ export const toolList = [ en: 'Create hot patches and monitor your system with specialized tools.', }, href: { - zh: '/zh/Tools/Maintenance/index.html', - en: '/zh/Tools/Maintenance/index.html', + zh: '/zh/docs/25.03/tools/maintenance/index.html', + en: '/en/docs/25.03/tools/maintenance/index.html', }, }, { @@ -304,8 +304,8 @@ export const toolList = [ en: 'Implement security configurations with our recommended tools.', }, href: { - zh: '/zh/Tools/Security/index.html', - en: '/zh/Tools/Security/index.html', + zh: '/zh/docs/25.03/tools/security/index.html', + en: '/en/docs/25.03/tools/security/index.html', }, }, ]; diff --git a/docs/.vitepress/src/config/menu.ts b/app/.vitepress/src/config/menu.ts similarity index 47% rename from docs/.vitepress/src/config/menu.ts rename to app/.vitepress/src/config/menu.ts index db934668086aed3903ed05adf5ae651d884a84b0..c592483d99727b3554cb760800812b5cc15a1e69 100644 --- a/docs/.vitepress/src/config/menu.ts +++ b/app/.vitepress/src/config/menu.ts @@ -1,4 +1,7 @@ // @ts-ignore import MENU from '/menu/menu.json?url&raw'; +// @ts-ignore +import MENU_EN from '/menu/menu-en.json?url&raw'; export const MENU_CONFIG = JSON.parse(MENU); +export const MENU_EN_CONFIG = JSON.parse(MENU_EN); \ No newline at end of file diff --git a/docs/.vitepress/src/config/version.ts b/app/.vitepress/src/config/version.ts similarity index 100% rename from docs/.vitepress/src/config/version.ts rename to app/.vitepress/src/config/version.ts diff --git a/docs/.vitepress/src/directives/highlight.ts b/app/.vitepress/src/directives/highlight.ts similarity index 100% rename from docs/.vitepress/src/directives/highlight.ts rename to app/.vitepress/src/directives/highlight.ts diff --git a/docs/.vitepress/src/directives/index.ts b/app/.vitepress/src/directives/index.ts similarity index 100% rename from docs/.vitepress/src/directives/index.ts rename to app/.vitepress/src/directives/index.ts diff --git a/docs/.vitepress/src/i18n/common/common-en.ts b/app/.vitepress/src/i18n/common/common-en.ts similarity index 100% rename from docs/.vitepress/src/i18n/common/common-en.ts rename to app/.vitepress/src/i18n/common/common-en.ts diff --git a/docs/.vitepress/src/i18n/common/common-zh.ts b/app/.vitepress/src/i18n/common/common-zh.ts similarity index 100% rename from docs/.vitepress/src/i18n/common/common-zh.ts rename to app/.vitepress/src/i18n/common/common-zh.ts diff --git a/docs/.vitepress/src/i18n/common/index.ts b/app/.vitepress/src/i18n/common/index.ts similarity index 100% rename from docs/.vitepress/src/i18n/common/index.ts rename to app/.vitepress/src/i18n/common/index.ts diff --git a/docs/.vitepress/src/i18n/docs/docs-en.ts b/app/.vitepress/src/i18n/docs/docs-en.ts similarity index 100% rename from docs/.vitepress/src/i18n/docs/docs-en.ts rename to app/.vitepress/src/i18n/docs/docs-en.ts diff --git a/docs/.vitepress/src/i18n/docs/docs-zh.ts b/app/.vitepress/src/i18n/docs/docs-zh.ts similarity index 100% rename from docs/.vitepress/src/i18n/docs/docs-zh.ts rename to app/.vitepress/src/i18n/docs/docs-zh.ts diff --git a/docs/.vitepress/src/i18n/docs/index.ts b/app/.vitepress/src/i18n/docs/index.ts similarity index 100% rename from docs/.vitepress/src/i18n/docs/index.ts rename to app/.vitepress/src/i18n/docs/index.ts diff --git a/docs/.vitepress/src/i18n/feedback/feedback-en.ts b/app/.vitepress/src/i18n/feedback/feedback-en.ts similarity index 100% rename from docs/.vitepress/src/i18n/feedback/feedback-en.ts rename to app/.vitepress/src/i18n/feedback/feedback-en.ts diff --git a/docs/.vitepress/src/i18n/feedback/feedback-zh.ts b/app/.vitepress/src/i18n/feedback/feedback-zh.ts similarity index 100% rename from docs/.vitepress/src/i18n/feedback/feedback-zh.ts rename to app/.vitepress/src/i18n/feedback/feedback-zh.ts diff --git a/docs/.vitepress/src/i18n/feedback/index.ts b/app/.vitepress/src/i18n/feedback/index.ts similarity index 100% rename from docs/.vitepress/src/i18n/feedback/index.ts rename to app/.vitepress/src/i18n/feedback/index.ts diff --git a/docs/.vitepress/src/i18n/footer/footer-en.ts b/app/.vitepress/src/i18n/footer/footer-en.ts similarity index 100% rename from docs/.vitepress/src/i18n/footer/footer-en.ts rename to app/.vitepress/src/i18n/footer/footer-en.ts diff --git a/docs/.vitepress/src/i18n/footer/footer-zh.ts b/app/.vitepress/src/i18n/footer/footer-zh.ts similarity index 100% rename from docs/.vitepress/src/i18n/footer/footer-zh.ts rename to app/.vitepress/src/i18n/footer/footer-zh.ts diff --git a/docs/.vitepress/src/i18n/footer/index.ts b/app/.vitepress/src/i18n/footer/index.ts similarity index 100% rename from docs/.vitepress/src/i18n/footer/index.ts rename to app/.vitepress/src/i18n/footer/index.ts diff --git a/docs/.vitepress/src/i18n/header/header-en.ts b/app/.vitepress/src/i18n/header/header-en.ts similarity index 100% rename from docs/.vitepress/src/i18n/header/header-en.ts rename to app/.vitepress/src/i18n/header/header-en.ts diff --git a/docs/.vitepress/src/i18n/header/header-zh.ts b/app/.vitepress/src/i18n/header/header-zh.ts similarity index 100% rename from docs/.vitepress/src/i18n/header/header-zh.ts rename to app/.vitepress/src/i18n/header/header-zh.ts diff --git a/docs/.vitepress/src/i18n/header/index.ts b/app/.vitepress/src/i18n/header/index.ts similarity index 100% rename from docs/.vitepress/src/i18n/header/index.ts rename to app/.vitepress/src/i18n/header/index.ts diff --git a/docs/.vitepress/src/i18n/home/home-en.ts b/app/.vitepress/src/i18n/home/home-en.ts similarity index 100% rename from docs/.vitepress/src/i18n/home/home-en.ts rename to app/.vitepress/src/i18n/home/home-en.ts diff --git a/docs/.vitepress/src/i18n/home/home-zh.ts b/app/.vitepress/src/i18n/home/home-zh.ts similarity index 100% rename from docs/.vitepress/src/i18n/home/home-zh.ts rename to app/.vitepress/src/i18n/home/home-zh.ts diff --git a/docs/.vitepress/src/i18n/home/index.ts b/app/.vitepress/src/i18n/home/index.ts similarity index 100% rename from docs/.vitepress/src/i18n/home/index.ts rename to app/.vitepress/src/i18n/home/index.ts diff --git a/docs/.vitepress/src/i18n/index.ts b/app/.vitepress/src/i18n/index.ts similarity index 100% rename from docs/.vitepress/src/i18n/index.ts rename to app/.vitepress/src/i18n/index.ts diff --git a/docs/.vitepress/src/i18n/response/index.ts b/app/.vitepress/src/i18n/response/index.ts similarity index 100% rename from docs/.vitepress/src/i18n/response/index.ts rename to app/.vitepress/src/i18n/response/index.ts diff --git a/docs/.vitepress/src/i18n/response/response-en.ts b/app/.vitepress/src/i18n/response/response-en.ts similarity index 100% rename from docs/.vitepress/src/i18n/response/response-en.ts rename to app/.vitepress/src/i18n/response/response-en.ts diff --git a/docs/.vitepress/src/i18n/response/response-zh.ts b/app/.vitepress/src/i18n/response/response-zh.ts similarity index 100% rename from docs/.vitepress/src/i18n/response/response-zh.ts rename to app/.vitepress/src/i18n/response/response-zh.ts diff --git a/docs/.vitepress/src/layouts/LayoutDoc.vue b/app/.vitepress/src/layouts/LayoutDoc.vue similarity index 98% rename from docs/.vitepress/src/layouts/LayoutDoc.vue rename to app/.vitepress/src/layouts/LayoutDoc.vue index 3cc747844105f846bcaf795fd6ba53b8d090b9b2..b1561a8c46d72cf893dab61bf0e11a1e84223103 100644 --- a/docs/.vitepress/src/layouts/LayoutDoc.vue +++ b/app/.vitepress/src/layouts/LayoutDoc.vue @@ -44,10 +44,10 @@ const props = defineProps({ }, }); -// 是否是贡献指南手册,直接显示 文档中心 > 贡献指南的具体章节 -const isContribute = computed(() => { +// 是否是 common 内容,直接显示 文档中心 > 具体章节 +const isCommonContent = computed(() => { const pathHref = route.path.replace('.html', ''); - return pathHref.includes('/zh/contribute') || pathHref.includes('/en/contribute'); + return pathHref.includes('/zh/docs/common/') || pathHref.includes('/en/docs/common/'); }); // -------------------- 菜单 -------------------- @@ -360,7 +360,7 @@ onUnmounted(() => {