1
0

feat:添加raneto到列表

This commit is contained in:
okxlin
2024-04-13 00:28:00 +08:00
parent 2e635b1c8d
commit 002612ed1e
7 changed files with 271 additions and 0 deletions

51
apps/raneto/README.md Normal file
View File

@@ -0,0 +1,51 @@
## 账号密码
> 默认账户1
- 账号admin
- 密码password
> 默认账户2
- 账号admin2
- 密码password
## MD文档
需要展示的 `Markdown` 文档,需要放置在应用数据目录下的 `/data/content/pages` 文件夹下。
在此文件夹下新建文件夹,则就是网页上的新建分类。
## 配置文件
> `Raneto` 的配置文件为 `config.js`,在应用数据目录下的 `/data/config` 目录下,编辑`config.js`文件修改设置。
## 注意
编辑 `config.js` 文件修改设置。
- 站点名称
```shel
site_title: 'Raneto Docs',
```
- 用户名和密码
```shell
credentials: [
{
username: 'admin',
password: 'password',
},
{
username: 'admin2',
password: 'password',
},
],
```
- 支持中文语言
```shell
locale: 'zh',
// Support search with extra languages
searchExtraLanguages: ['zh'],
```