From 62d9802f468c0d22d16996a0bdc126aa5b5e779a Mon Sep 17 00:00:00 2001 From: andycall Date: Mon, 30 Oct 2023 01:17:00 +0800 Subject: [PATCH] doc: move design document into resources. --- .../adding-flutter-widgets-to-html.md | 0 .../dart_js_intercommunication.md | 2 +- website/docs/tutorials/resources/_category_.json | 6 ++++++ .../{ => tutorials}/resources/design_documents.md | 0 .../resources/imgs/api_organized.png | Bin .../resources/imgs/architecture_overview.png | Bin .../{ => tutorials}/resources/imgs/binding_code.png | Bin .../resources/imgs/command_buffer.png | Bin .../resources/imgs/dart_js_thread.png | Bin .../{ => tutorials}/resources/imgs/gen_bindings.png | Bin .../resources/imgs/rendering_process.png | Bin .../resources/imgs/single_thread.png | Bin website/sidebars.js | 12 ++++++------ 13 files changed, 13 insertions(+), 7 deletions(-) delete mode 100644 website/docs/tutorials/guides-for-flutter-developer/adding-flutter-widgets-to-html.md create mode 100644 website/docs/tutorials/resources/_category_.json rename website/docs/{ => tutorials}/resources/design_documents.md (100%) rename website/docs/{ => tutorials}/resources/imgs/api_organized.png (100%) rename website/docs/{ => tutorials}/resources/imgs/architecture_overview.png (100%) rename website/docs/{ => tutorials}/resources/imgs/binding_code.png (100%) rename website/docs/{ => tutorials}/resources/imgs/command_buffer.png (100%) rename website/docs/{ => tutorials}/resources/imgs/dart_js_thread.png (100%) rename website/docs/{ => tutorials}/resources/imgs/gen_bindings.png (100%) rename website/docs/{ => tutorials}/resources/imgs/rendering_process.png (100%) rename website/docs/{ => tutorials}/resources/imgs/single_thread.png (100%) diff --git a/website/docs/tutorials/guides-for-flutter-developer/adding-flutter-widgets-to-html.md b/website/docs/tutorials/guides-for-flutter-developer/adding-flutter-widgets-to-html.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/website/docs/tutorials/guides-for-flutter-developer/dart_js_intercommunication.md b/website/docs/tutorials/guides-for-flutter-developer/dart_js_intercommunication.md index 9f6caae931..6b5c745723 100644 --- a/website/docs/tutorials/guides-for-flutter-developer/dart_js_intercommunication.md +++ b/website/docs/tutorials/guides-for-flutter-developer/dart_js_intercommunication.md @@ -1,6 +1,6 @@ --- sidebar_position: 3 -title: Dart and JavaScript Intercommunication +title: Dart and JS Intercommunication --- WebF offers a streamlined and optimized method for facilitating communication between Dart and JavaScript. diff --git a/website/docs/tutorials/resources/_category_.json b/website/docs/tutorials/resources/_category_.json new file mode 100644 index 0000000000..20988cf30e --- /dev/null +++ b/website/docs/tutorials/resources/_category_.json @@ -0,0 +1,6 @@ +{ + "position": 5, + "label": "Resources", + "collapsible": true, + "collapsed": false +} \ No newline at end of file diff --git a/website/docs/resources/design_documents.md b/website/docs/tutorials/resources/design_documents.md similarity index 100% rename from website/docs/resources/design_documents.md rename to website/docs/tutorials/resources/design_documents.md diff --git a/website/docs/resources/imgs/api_organized.png b/website/docs/tutorials/resources/imgs/api_organized.png similarity index 100% rename from website/docs/resources/imgs/api_organized.png rename to website/docs/tutorials/resources/imgs/api_organized.png diff --git a/website/docs/resources/imgs/architecture_overview.png b/website/docs/tutorials/resources/imgs/architecture_overview.png similarity index 100% rename from website/docs/resources/imgs/architecture_overview.png rename to website/docs/tutorials/resources/imgs/architecture_overview.png diff --git a/website/docs/resources/imgs/binding_code.png b/website/docs/tutorials/resources/imgs/binding_code.png similarity index 100% rename from website/docs/resources/imgs/binding_code.png rename to website/docs/tutorials/resources/imgs/binding_code.png diff --git a/website/docs/resources/imgs/command_buffer.png b/website/docs/tutorials/resources/imgs/command_buffer.png similarity index 100% rename from website/docs/resources/imgs/command_buffer.png rename to website/docs/tutorials/resources/imgs/command_buffer.png diff --git a/website/docs/resources/imgs/dart_js_thread.png b/website/docs/tutorials/resources/imgs/dart_js_thread.png similarity index 100% rename from website/docs/resources/imgs/dart_js_thread.png rename to website/docs/tutorials/resources/imgs/dart_js_thread.png diff --git a/website/docs/resources/imgs/gen_bindings.png b/website/docs/tutorials/resources/imgs/gen_bindings.png similarity index 100% rename from website/docs/resources/imgs/gen_bindings.png rename to website/docs/tutorials/resources/imgs/gen_bindings.png diff --git a/website/docs/resources/imgs/rendering_process.png b/website/docs/tutorials/resources/imgs/rendering_process.png similarity index 100% rename from website/docs/resources/imgs/rendering_process.png rename to website/docs/tutorials/resources/imgs/rendering_process.png diff --git a/website/docs/resources/imgs/single_thread.png b/website/docs/tutorials/resources/imgs/single_thread.png similarity index 100% rename from website/docs/resources/imgs/single_thread.png rename to website/docs/tutorials/resources/imgs/single_thread.png diff --git a/website/sidebars.js b/website/sidebars.js index df95e47bbe..9c512aaa48 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -19,12 +19,12 @@ const sidebars = { dirName: 'tutorials', // Generate sidebar slice from docs/api } ], - resources: [ - { - type: 'autogenerated', - dirName: 'resources', // Generate sidebar slice from docs/api - } - ], + // resources: [ + // { + // type: 'autogenerated', + // dirName: 'resources', // Generate sidebar slice from docs/api + // } + // ], apiSidebar: [ { type: 'autogenerated',