- 新增 api_doc.ui 和 api_doc.md(从llmage模块复制) - api_doc.ui中md_url指向/dashboard_for_sage/api_doc.md - load_path.py注册新路径权限
42 lines
1.0 KiB
XML
42 lines
1.0 KiB
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"height": "100%",
|
|
"padding": "0"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "HBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"alignItems": "center",
|
|
"marginBottom": "16px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Title2",
|
|
"options": {
|
|
"text": "大模型 API 文档"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VScrollPanel",
|
|
"options": {
|
|
"css": "filler"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "MarkdownViewer",
|
|
"options": {
|
|
"md_url": "{{entire_url('/dashboard_for_sage/api_doc.md')}}",
|
|
"width": "100%"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|