mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-30 09:40:05 +00:00
👷using nb-autodoc to generate api docs
This commit is contained in:
10
docs_build/autodoc.py
Normal file
10
docs_build/autodoc.py
Normal file
@ -0,0 +1,10 @@
|
||||
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()
|
Reference in New Issue
Block a user