diff --git a/wwwroot/api_doc.html b/wwwroot/api_doc.html new file mode 100644 index 0000000..b644d70 --- /dev/null +++ b/wwwroot/api_doc.html @@ -0,0 +1,932 @@ + + + + + +元境 API 文档 + + + + + +
+ + + + +
+
+ + + + diff --git a/wwwroot/api_doc.ui b/wwwroot/api_doc.ui index 66c9fa9..7c498d4 100644 --- a/wwwroot/api_doc.ui +++ b/wwwroot/api_doc.ui @@ -7,35 +7,12 @@ }, "subwidgets": [ { - "widgettype": "HBox", + "widgettype": "urlwidget", "options": { + "url": "{{entire_url('/dashboard_for_sage/api_doc.html')}}", "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%" - } - } - ] + "height": "100%" + } } ] }