Browse Source

make sure mermaid flowchart is displayed correctly (#3269)

Xingyao Wang 1 năm trước cách đây
mục cha
commit
c941d028b9
4 tập tin đã thay đổi với 873 bổ sung332 xóa
  1. 4 0
      docs/docusaurus.config.ts
  2. 1 1
      docs/modules/usage/runtime.md
  3. 867 331
      docs/package-lock.json
  4. 1 0
      docs/package.json

+ 4 - 0
docs/docusaurus.config.ts

@@ -32,6 +32,10 @@ const config: Config = {
     },
   },
 
+  markdown: {
+    mermaid: true,
+  },
+  themes: ['@docusaurus/theme-mermaid'],
   presets: [
     [
       "classic",

+ 1 - 1
docs/modules/usage/runtime.md

@@ -2,7 +2,7 @@
 sidebar_position: 4
 ---
 
-# OpenDevin EventStream Runtime
+# 📦 EventStream Runtime
 
 The OpenDevin EventStream Runtime is the core component that enables secure and flexible execution of AI agent's action.
 It creates a sandboxed environment using Docker, where arbitrary code can be run safely without risking the host system.

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 867 - 331
docs/package-lock.json


+ 1 - 0
docs/package.json

@@ -18,6 +18,7 @@
     "@docusaurus/core": "^3.4.0",
     "@docusaurus/plugin-content-pages": "^3.4.0",
     "@docusaurus/preset-classic": "^3.4.0",
+    "@docusaurus/theme-mermaid": "^3.4.0",
     "@mdx-js/react": "^3.0.0",
     "clsx": "^2.0.0",
     "prism-react-renderer": "^2.3.0",

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác