Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- id: check
run: |
want=$(curl -fsSL https://levimc.org/kit/v2/manifest.json | jq -r '"levimc-kit " + .version + "+" + .build')
have=$(curl -fsSL https://docs.levimc.org/LegacyScriptEngine/ | grep -o 'levimc-kit [^"]*' | head -1)
have=$(curl -fsSL https://levimc.org/LegacyScriptEngine/ | grep -o 'levimc-kit [^"]*' | head -1)
echo "live: $have · published: $want"
echo "stale=$([ "$want" != "$have" ] && echo true || echo false)" >> "$GITHUB_OUTPUT"

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A plugin engine for running LLSE plugins on LeviLamina

## Installation

Please refer to https://docs.levimc.org/LegacyScriptEngine/
Please refer to https://levimc.org/LegacyScriptEngine/

## Usage

Expand All @@ -15,7 +15,7 @@ To access plugin development API hints and scaffolding toolkits, visit the [lega
2. Run the server, then the plugins will be migrated automatically and get a LeviLamina mod manifest (manifest.json)
3. To load them, you need to restart the server

For more information, please refer to [the documentation](https://docs.levimc.org/LegacyScriptEngine/)
For more information, please refer to [the documentation](https://levimc.org/LegacyScriptEngine/)

## Contributing

Expand Down
4 changes: 2 additions & 2 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

## 安装

请参考 https://docs.levimc.org/LegacyScriptEngine/zh/
请参考 https://levimc.org/LegacyScriptEngine/zh/

## 使用

Expand All @@ -15,7 +15,7 @@
2. 运行服务器,然后插件会被自动迁移,并生成 LeviLamina 模组清单(manifest.json)
3. 重启服务器后,插件就会被加载

更多信息请参见[文档](https://docs.levimc.org/LegacyScriptEngine/zh/)
更多信息请参见[文档](https://levimc.org/LegacyScriptEngine/zh/)

## 贡献

Expand Down
4 changes: 2 additions & 2 deletions docs.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export default defineDocsConfig({
repo: 'https://github.com/LiteLDev/LegacyScriptEngine',
editLink: 'https://github.com/LiteLDev/LegacyScriptEngine/edit/develop/docs/:path',
contentDir: 'docs',
hostname: 'https://docs.levimc.org',
sitemap: { hostname: 'https://docs.levimc.org' },
hostname: 'https://levimc.org',
sitemap: { hostname: 'https://levimc.org' },
lastUpdated: true,
i18n: {
mode: 'suffix',
Expand Down
2 changes: 1 addition & 1 deletion docs/apis/LanguageSupport.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Currently, LSE supports writing plugins in the following languages:

!!! tip
If you need to write plugins in native languages such as C++, Go, Rust, etc., please go
to [Home](https://docs.levimc.org/LeviLamina/) for other language documentation
to [Home](https://levimc.org/LeviLamina/) for other language documentation

## JavaScript language support description

Expand Down
2 changes: 1 addition & 1 deletion docs/apis/LanguageSupport.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
| `Python` | 使用 CPython 引擎运行插件,支持 pip 包管理 |

!!! tip
如果需要使用 C++、Go、Rust 等原生语言编写插件,请移步 [主页](https://docs.levimc.org/LeviLamina/) 查看其他语言文档
如果需要使用 C++、Go、Rust 等原生语言编写插件,请移步 [主页](https://levimc.org/LeviLamina/) 查看其他语言文档

## JavaScript 语言支持说明

Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ Each engine is its own package variant. Version numbers can be found in
=== "Client"

lip manages server directories only. On the client, install the engine into a LeviLauncher instance that has
LeviLamina (see [Install client on Windows](https://docs.levimc.org/LeviLamina/user_guides/install_on_client/)):
LeviLamina (see [Install client on Windows](https://levimc.org/LeviLamina/user_guides/install_on_client/)):
LeviLauncher installs the same variants as on the server, `#lua`, `#quickjs`, `#nodejs` and `#python`, and picks
their client builds. Releases up to 0.23.1 name the client builds `#client_lua`, `#client_quickjs`,
`#client_nodejs` and `#client_python`, for example
`github.com/LiteLDev/LegacyScriptEngine#client_lua@0.17.0-rc.2`. See LeviLauncher's
[Mods & Integrations](https://docs.levimc.org/LeviLauncher/guide/mods-integrations?platform=windows).
[Mods & Integrations](https://levimc.org/LeviLauncher/guide/mods-integrations?platform=windows).

## Usage

Expand Down
4 changes: 2 additions & 2 deletions docs/index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ features:
=== "客户端"

lip 只管理服务端目录。在客户端上,请把引擎安装到已安装 LeviLamina 的 LeviLauncher 实例中(参见
[在Windows上安装客户端](https://docs.levimc.org/LeviLamina/zh/user_guides/install_on_client/)):LeviLauncher
[在Windows上安装客户端](https://levimc.org/LeviLamina/zh/user_guides/install_on_client/)):LeviLauncher
会安装与服务端相同的变体 `#lua`、`#quickjs`、`#nodejs` 和 `#python`,并选用它们的客户端版本。0.23.1 及更早的版本
把客户端版本命名为 `#client_lua`、`#client_quickjs`、`#client_nodejs` 和 `#client_python`,例如
`github.com/LiteLDev/LegacyScriptEngine#client_lua@0.17.0-rc.2`。参见 LeviLauncher 的
[模组与集成](https://docs.levimc.org/LeviLauncher/zh-CN/guide/mods-integrations?platform=windows)。
[模组与集成](https://levimc.org/LeviLauncher/zh-CN/guide/mods-integrations?platform=windows)。

## 使用

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/create_your_first_plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ editor that works well for this tutorial, otherwise [VSCode](https://code.visual
editor with a lot of powerful features.

You will also need to set up a clean LeviLamina installation, details on how to install LeviLamina can be
found [here](https://docs.levimc.org/LeviLamina/user_guides/install/). This server will be used to test your plugin.
found [here](https://levimc.org/LeviLamina/user_guides/install/). This server will be used to test your plugin.

With your IDE in hand, and the server installation complete, you are ready to begin!

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/create_your_first_plugin.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- [Atom](https://github.blog/news-insights/product-news/sunsetting-atom/) 是轻量级的编辑器,在本教程中很好用。
- [VSCode](https://code.visualstudio.com/) 也是一个广泛使用的编辑器,具有很多强大的功能。

你还需要建立一个干净的LeviLamina安装,关于如何安装LeviLamina的细节可以在 [这里](https://docs.levimc.org/LeviLamina/zh/user_guides/install/) 找到。这个服务器将被用来测试你的插件。
你还需要建立一个干净的LeviLamina安装,关于如何安装LeviLamina的细节可以在 [这里](https://levimc.org/LeviLamina/zh/user_guides/install/) 找到。这个服务器将被用来测试你的插件。

有了你的开发环境,并完成了服务器的安装,你就可以开始了!

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "node kit/docs/build.mjs",
"preview": "node kit/scripts/serve-pages.mjs dist --base /LegacyScriptEngine/ --port 4173",
"typecheck": "tsc --noEmit",
"linkcheck": "node kit/scripts/linkcheck.mjs dist --base /LegacyScriptEngine/ --site-origin https://docs.levimc.org",
"linkcheck": "node kit/scripts/linkcheck.mjs dist --base /LegacyScriptEngine/ --site-origin https://levimc.org",
"smoke": "node kit/scripts/smoke.mjs --url http://127.0.0.1:4173/LegacyScriptEngine/"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/legacy/api/LoggerAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Local<Value> LoggerClass::setConsole(Arguments const& args) {
// TODO: implement LSE defined sink, because LL's sinks don't support setLevel
logger->setLevel(
static_cast<LogLevel>(args[1].asNumber().toInt32() - 1)
); // See LSE's definition https://docs.levimc.org/LegacyScriptEngine/apis/ScriptAPI/Logger/
); // See LSE's definition https://levimc.org/LegacyScriptEngine/apis/ScriptAPI/Logger/
}
if (args[0].asBoolean().value()) {
if (!logger->getSink("ll_default_console")) {
Expand Down
Loading