mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-07-27 06:20:56 +00:00
Deploying to docs from @ LiteyukiStudio/LiteyukiBot@d2704818d9 ๐
This commit is contained in:
@ -1 +1 @@
|
|||||||
import{t as p}from"./chunks/theme.Cfwe0ZOB.js";import{U as o,a5 as u,a6 as c,a7 as l,a8 as f,a9 as d,aa as m,ab as h,ac as g,ad as A,ae as y,d as P,u as v,y as C,x as b,af as w,ag as E,ah as R,ai as S}from"./chunks/framework.C3o_UkTa.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return C(()=>{b(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&w(),E(),R(),s.setup&&s.setup(),()=>S(s.Layout)}});async function x(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(c,e);const t=l(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function D(){return g(T)}function _(){let e=o,a;return A(t=>{let n=y(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&x().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{x as createApp};
|
import{t as p}from"./chunks/theme.DMJ5TBe0.js";import{U as o,a5 as u,a6 as c,a7 as l,a8 as f,a9 as d,aa as m,ab as h,ac as g,ad as A,ae as y,d as P,u as v,y as C,x as b,af as w,ag as E,ah as R,ai as S}from"./chunks/framework.C3o_UkTa.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return C(()=>{b(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&w(),E(),R(),s.setup&&s.setup(),()=>S(s.Layout)}});async function x(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(c,e);const t=l(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function D(){return g(T)}function _(){let e=o,a;return A(t=>{let n=y(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&x().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{x as createApp};
|
1
assets/chunks/@localSearchIndexen.AyUN21-1.js
Normal file
1
assets/chunks/@localSearchIndexen.AyUN21-1.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/chunks/@localSearchIndexroot.B9Q9xi8c.js
Normal file
1
assets/chunks/@localSearchIndexroot.B9Q9xi8c.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/dev_guide.md.LV-AF-4c.js
Normal file
1
assets/dev_guide.md.LV-AF-4c.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as e,c as a,o as t,a4 as o}from"./chunks/framework.C3o_UkTa.js";const p=JSON.parse('{"title":"ๅผๅๆๅ","description":"","frontmatter":{"title":"ๅผๅๆๅ","order":0},"headers":[],"relativePath":"dev/guide.md","filePath":"zh/dev/guide.md","lastUpdated":1725107025000}'),l={name:"dev/guide.md"},r=o('<h1 id="ๅผๅๆๅ" tabindex="-1">ๅผๅๆๅ <a class="header-anchor" href="#ๅผๅๆๅ" aria-label="Permalink to "ๅผๅๆๅ"">โ</a></h1><h2 id="ๅฆไฝๅผๅ" tabindex="-1">ๅฆไฝๅผๅ <a class="header-anchor" href="#ๅฆไฝๅผๅ" aria-label="Permalink to "ๅฆไฝๅผๅ"">โ</a></h2><p>ๆไปถๅผๅๆ ้้
่ฏปๆฌๆๆกฃ๏ผ่ฏท้
่ฏป<a href="./plugin.html">ๆไปถๅผๅๆๆกฃ</a>ๅ<a href="./api/">API ๅผ็จ</a>ใ</p><p>ๅฆ้ๅพ่ฝป้ชไปๅบๆไบคไปฃ็ ๏ผ่ฏท้
่ฏปไปฅไธๅ
ๅฎน๏ผ</p><ol><li>้ฆๅ
<a href="https://github.com/LiteyukiStudio/LiteyukiBot/fork" target="_blank" rel="noreferrer">fork</a>ไธไปฝ่ฝป้ชไปๅบๅฐไฝ ็ไธชไบบ/็ป็ป่ดฆๆทไธใ</li><li>ๅจไฝ ็ไปๅบไธญ่ฟ่กๅผๅใ</li><li>ๅจไฝ ็ไปๅบไธญๅๅปบไธไธชๆฐ็ๅๆฏ๏ผๅฐไฝ ็ไปฃ็ ๆไบคๅฐ่ฟไธชๅๆฏใ</li><li>ๅจไฝ ็ไปๅบไธญๅๅปบไธไธชPull Request๏ผๅฐไฝ ็ๅๆฏๅๅนถๅฐ่ฝป้ชไปๅบ็<code>main</code>ๅๆฏใ</li></ol><p>ๅไธๅผๅ้ป่ฎคไฝ ๅทฒ็ปไบ่งฃPython่ฏญ่จๅ่ฝป้ชๆกๆถ็ๅบๆฌไฝฟ็จๆนๆณ๏ผๅฆๆๆฏๆๆกฃ็ธๅ
ณ็ๅผๅ๏ผ่ฏท็กฎไฟไฝ ไบ่งฃMarkdown่ฏญๆณๅๅบๆฌๅ็ซฏ็ฅ่ฏใ ๅบ็ฐๅฒ็ช่ฏทไธไปๅบ็ปดๆค่
่็ณปใ</p><h3 id="ๅปบ่ฎฎ" tabindex="-1">ๅปบ่ฎฎ <a class="header-anchor" href="#ๅปบ่ฎฎ" aria-label="Permalink to "ๅปบ่ฎฎ"">โ</a></h3><ul><li>ๅผๅ่ฟ็จไธญๅฏไปฅไฝฟ็จ<code>mypy</code>, <code>flake8</code>, <code>black</code>็ญๅทฅๅ
ท่ฟ่กไปฃ็ ๆฃๆฅๅๆ ผๅผๅใ</li><li>ๅฏ็จๅผๅ่
ๆจกๅผ๏ผๅฏไปฅๅจ<code>config.yml</code>ไธญ่ฎพ็ฝฎ<code>dev_mode: true</code>๏ผ่ฟๆ ทๅฏไปฅๅจๆงๅถๅฐ็ๅฐๆดๅค็่ฐ่ฏไฟกๆฏใ</li></ul><h2 id="่ง่ๅ" tabindex="-1">่ง่ๅ <a class="header-anchor" href="#่ง่ๅ" aria-label="Permalink to "่ง่ๅ"">โ</a></h2><ul><li>ไปฃ็ ่ฏท้ตๅพช<a href="https://pep8.org/" target="_blank" rel="noreferrer"><code>PEP8</code></a>ๅ<a href="https://google.github.io/styleguide/pyguide.html" target="_blank" rel="noreferrer"><code>Google Python Style Guide</code></a></li><li>ๆญคๅค๏ผๆไบคๅฐ่ฝป้ชไปๅบ็ไปฃ็ ๏ผ่ฏท้ตๅพชไปฅไธ่ง่๏ผ <ul><li>่ฏท็กฎไฟไปฃ็ ๆฏๅฏ่ฟ่ก็๏ผๆฒกๆๅฑๅฎณ็ใ</li><li>่ฏท็กฎไฟไปฃ็ ็็ฑปๅๆ็คบๆฏๆญฃ็กฎ็ใ</li><li>่ฏท็กฎไฟๆณจ้้ฃๆ ผไธบ<a href="https://google.github.io/styleguide/pyguide.html" target="_blank" rel="noreferrer"><code>Google Docstring</code></a>ๆ<a href="https://github.com/LiteyukiStudio/litedoc" target="_blank" rel="noreferrer"><code>Liteyuki Docstring</code></a>(ๆจ่)ไปฅไฟ่ฏLitedoc่ฝๅคๆญฃ็กฎ่งฃๆๅนถ็ๆๆๆกฃใ</li><li>่ฅๆ้ขๅๆฎ้็จๆท้จๅ๏ผ่ฏท็กฎไฟๆๆกฃๆฏๅฎๅ็(ๆฏ็ง่ฏญ่จ้ฝๆๅฏนๅบ็ๆๆกฃ)ใ</li></ul></li><li>ๆๆกฃ่ฏท้ตๅพช<a href="https://www.markdownguide.org/" target="_blank" rel="noreferrer"><code>Markdown</code></a>่ฏญๆณ๏ผๅนถไธๆฏๆvitepress็ธๅ
ณๅ
ๅฎน๏ผ <ul><li>็ผ่พๆๆกฃๆถๆฏไธช่ฏญ่จ็ๆๆกฃ้ฝ่ฆไฟฎ่ฎขใ</li><li>่ฏท็กฎไฟๆๆกฃๅ
็้พๆฅๆฏๆญฃ็กฎ็๏ผไธ่ฆๅบ็ฐๆ ๆณ่ฎฟ้ฎ็้พๆฅใ</li><li>่ฏท็กฎไฟ<strong>็จๆทๆๆกฃ</strong>ๆฏ้ไฟๆๆ็๏ผ<strong>ๅผๅๆๆกฃ</strong>ๆฏ่ฏฆ็ป็ใ</li></ul></li></ul><h2 id="ๆๅ" tabindex="-1">ๆๅ <a class="header-anchor" href="#ๆๅ" aria-label="Permalink to "ๆๅ"">โ</a></h2><ul><li>ๆฌ้กน็ฎๆฏไธไธช้็ๅฉ็ๅผๆบ้กน็ฎ๏ผๆไปฌๆฌข่ฟไปปไฝไบบๅไธๅผๅ๏ผไฝ ็่ดก็ฎๅฐไผไฝฟ่ฝป้ชๅๅพๆดๅฅฝใ</li></ul>',12),i=[r];function d(c,n,h,s,u,g){return t(),a("div",null,i)}const f=e(l,[["render",d]]);export{p as __pageData,f as default};
|
1
assets/dev_guide.md.LV-AF-4c.lean.js
Normal file
1
assets/dev_guide.md.LV-AF-4c.lean.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as e,c as a,o as t,a4 as o}from"./chunks/framework.C3o_UkTa.js";const p=JSON.parse('{"title":"ๅผๅๆๅ","description":"","frontmatter":{"title":"ๅผๅๆๅ","order":0},"headers":[],"relativePath":"dev/guide.md","filePath":"zh/dev/guide.md","lastUpdated":1725107025000}'),l={name:"dev/guide.md"},r=o("",12),i=[r];function d(c,n,h,s,u,g){return t(),a("div",null,i)}const f=e(l,[["render",d]]);export{p as __pageData,f as default};
|
1
assets/en_dev_guide.md.CU_F2BHz.js
Normal file
1
assets/en_dev_guide.md.CU_F2BHz.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as e,c as t,o,a4 as a}from"./chunks/framework.C3o_UkTa.js";const m=JSON.parse('{"title":"Development Guide","description":"","frontmatter":{"title":"Development Guide","order":0},"headers":[],"relativePath":"en/dev/guide.md","filePath":"en/dev/guide.md","lastUpdated":1725107025000}'),i={name:"en/dev/guide.md"},n=a('<h1 id="development-guide" tabindex="-1">Development Guide <a class="header-anchor" href="#development-guide" aria-label="Permalink to "Development Guide"">โ</a></h1><h2 id="how-to-develop" tabindex="-1">How to Develop <a class="header-anchor" href="#how-to-develop" aria-label="Permalink to "How to Develop"">โ</a></h2><p>Please read the <a href="./plugin.html">Plugin Development</a> and <a href="./api/">API Reference</a> documents if you are developing a plugin.</p><p>If you need to submit code to the Liteyuki repository, please read the following:</p><ol><li>First <a href="https://github.com/LiteyukiStudio/LiteyukiBot/fork" target="_blank" rel="noreferrer">fork</a> a copy of the Liteyuki repository to your personal/organization account.</li><li>Develop in your repository.</li><li>Create a new branch in your repository and submit your code to this branch.</li><li>Create a Pull Request in your repository to merge your branch into the <code>main</code> branch of the Liteyuki repository.</li></ol><ul><li>Participation in development assumes that you are already familiar with the basic usage of the Python language and the Liteyuki framework.</li><li>If you are developing documentation, please ensure that you are familiar with Markdown syntax and basic front-end knowledge.</li><li>Contact the repository maintainer in case of conflicts.</li></ul><h3 id="suggestions" tabindex="-1">Suggestions <a class="header-anchor" href="#suggestions" aria-label="Permalink to "Suggestions"">โ</a></h3><ul><li>During development, you can use tools such as <code>mypy</code>, <code>flake8</code>, and <code>black</code> for code checking and formatting.</li><li>Enable developer mode by setting <code>dev_mode: true</code> in <code>config.yml</code> to see more debugging information in the console.</li></ul><h2 id="standardization" tabindex="-1">Standardization <a class="header-anchor" href="#standardization" aria-label="Permalink to "Standardization"">โ</a></h2><ul><li>Code should follow <a href="https://pep8.org/" target="_blank" rel="noreferrer"><code>PEP8</code></a> and <a href="https://google.github.io/styleguide/pyguide.html" target="_blank" rel="noreferrer"><code>Google Python Style Guide</code></a>.</li><li>In addition, code submitted to the Liteyuki repository should follow the following guidelines: <ul><li>Ensure that the code is runnable and harmless.</li><li>Ensure that the type hints in the code are correct.</li><li>Ensure that the comment style is <a href="https://google.github.io/styleguide/pyguide.html" target="_blank" rel="noreferrer"><code>Google Docstring</code></a> or <a href="https://github.com/LiteyukiStudio/litedoc" target="_blank" rel="noreferrer"><code>Liteyuki Docstring</code></a>(recommended) to ensure that Litedoc can parse and generate documentation correctly.</li><li>If there is a part for ordinary users, ensure that the documentation is complete (each language has corresponding documentation).</li></ul></li><li>The documentation should follow <a href="https://www.markdownguide.org/" target="_blank" rel="noreferrer"><code>Markdown</code></a> syntax and support vitepress-related content: <ul><li>Revise the documentation for each language when editing.</li><li>Ensure that the links in the document are correct and do not lead to inaccessible links.</li><li>Ensure that the <strong>User Documentation</strong> is easy to understand and the <strong>Development Documentation</strong> is detailed.</li></ul></li></ul><h2 id="finally" tabindex="-1">Finally <a class="header-anchor" href="#finally" aria-label="Permalink to "Finally"">โ</a></h2><ul><li>This project is a non-profit open-source project, and we welcome anyone to participate in development. Your contributions will make Liteyuki better.</li></ul>',12),r=[n];function l(d,s,u,c,h,p){return o(),t("div",null,r)}const f=e(i,[["render",l]]);export{m as __pageData,f as default};
|
1
assets/en_dev_guide.md.CU_F2BHz.lean.js
Normal file
1
assets/en_dev_guide.md.CU_F2BHz.lean.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as e,c as t,o,a4 as a}from"./chunks/framework.C3o_UkTa.js";const m=JSON.parse('{"title":"Development Guide","description":"","frontmatter":{"title":"Development Guide","order":0},"headers":[],"relativePath":"en/dev/guide.md","filePath":"en/dev/guide.md","lastUpdated":1725107025000}'),i={name:"en/dev/guide.md"},n=a("",12),r=[n];function l(d,s,u,c,h,p){return o(),t("div",null,r)}const f=e(i,[["render",l]]);export{m as __pageData,f as default};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
26
dev/guide.html
Normal file
26
dev/guide.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user