forked from bot/app
📝 [docs]: 重新更改开发文档侧边栏顺序
This commit is contained in:
parent
bdc32b26fe
commit
77b77c285b
@ -10,7 +10,7 @@ export const en = defineConfig({
|
||||
{text: 'Deploy', link: '/en/deploy/install'},
|
||||
{text: 'Usage', link: '/en/usage/basic'},
|
||||
{text: 'Extension', link: '/en/store/resource'},
|
||||
{text: 'Develop', link: '/en/dev/api'},
|
||||
{text: 'Develop', link: '/en/dev/guide'},
|
||||
],
|
||||
docFooter: {
|
||||
prev: 'Prev Page',
|
||||
|
@ -10,7 +10,7 @@ export const zh = defineConfig({
|
||||
{text: '部署', link: '/deploy/install'},
|
||||
{text: '使用', link: '/usage/basic'},
|
||||
{text: '扩展', link: '/store/resource'},
|
||||
{text: '开发', link: '/dev/api'},
|
||||
{text: '开发', link: '/dev/guide'},
|
||||
],
|
||||
docFooter: {
|
||||
prev: '上一页',
|
||||
|
@ -1,3 +1,11 @@
|
||||
"""
|
||||
---
|
||||
title: liteyuki API
|
||||
order: 100
|
||||
---
|
||||
此模块为liteyuki的框架整体
|
||||
This module is the overall framework of liteyuki.
|
||||
"""
|
||||
from liteyuki.bot import (
|
||||
LiteyukiBot,
|
||||
get_bot,
|
||||
|
@ -1,11 +1,11 @@
|
||||
"""
|
||||
该模块用于常用配置文件的加载
|
||||
多配置文件编写原则:
|
||||
1.尽量不要冲突: 一个键不要多次出现
|
||||
2.分工明确: 每个配置文件给一个或一类服务提供配置
|
||||
3.扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
|
||||
4.注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
|
||||
5.请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式
|
||||
1. 尽量不要冲突: 一个键不要多次出现
|
||||
2. 分工明确: 每个配置文件给一个或一类服务提供配置
|
||||
3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
|
||||
4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
|
||||
5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式
|
||||
"""
|
||||
|
||||
import os
|
||||
|
5
liteyuki/plugins/__init__.py
Normal file
5
liteyuki/plugins/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
此模块为内置插件文件夹,用于存放内置插件。
|
||||
This module is the built-in plugin folder, used to store built-in plugins.
|
||||
"""
|
Loading…
Reference in New Issue
Block a user