mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-09-21 05:12:34 +00:00
🐛 fix docs build fail
This commit is contained in:
parent
341ee94848
commit
d26fda7320
2
.github/workflows/website-deploy.yml
vendored
2
.github/workflows/website-deploy.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install and build
|
- name: Install and build
|
||||||
run: |
|
run: |
|
||||||
poetry run python ./docs_build/autodoc.py
|
poetry run nb-autodoc nonebot
|
||||||
cp -r ./build/nonebot/* ./website/docs/api/
|
cp -r ./build/nonebot/* ./website/docs/api/
|
||||||
yarn prettier
|
yarn prettier
|
||||||
yarn build
|
yarn build
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
from nb_autodoc import Module, Context
|
|
||||||
from nb_autodoc.builders.markdown import MarkdownBuilder
|
|
||||||
|
|
||||||
context = Context()
|
|
||||||
|
|
||||||
module = Module("nonebot", context=context)
|
|
||||||
|
|
||||||
builder = MarkdownBuilder(module, output_dir="build")
|
|
||||||
|
|
||||||
builder.write()
|
|
2
poetry.lock
generated
2
poetry.lock
generated
@ -521,7 +521,7 @@ six = ">=1.6.1"
|
|||||||
type = "git"
|
type = "git"
|
||||||
url = "https://github.com/nonebot/nb-autodoc.git"
|
url = "https://github.com/nonebot/nb-autodoc.git"
|
||||||
reference = "master"
|
reference = "master"
|
||||||
resolved_reference = "ab906e128e52946c5c37de77a06019c77bd34e1d"
|
resolved_reference = "dae91520cf274d61d77be2c47d08e21b12547db6"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nonebug"
|
name = "nonebug"
|
||||||
|
@ -9,7 +9,7 @@ options:
|
|||||||
|
|
||||||
## 前注
|
## 前注
|
||||||
|
|
||||||
本章节仅包含插件发布流程指导,插件开发请查阅 **[创建插件](../tutorial/plugin/config-plugin.md)** 章节与 **[Plugin API 文档](../api/plugin.md)** 。
|
本章节仅包含插件发布流程指导,插件开发请查阅 **[创建插件](../tutorial/plugin/config-plugin.md)** 章节与 **[Plugin API 文档](../api/plugin/plugin.md)** 。
|
||||||
|
|
||||||
## 插件发布流程
|
## 插件发布流程
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"position": 14
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"position": 13
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user