diff --git a/docs/assets/js/custom.js b/docs/assets/js/custom.js
index e2301455..9a1ccfb0 100644
--- a/docs/assets/js/custom.js
+++ b/docs/assets/js/custom.js
@@ -11,7 +11,7 @@ const icon_list = {
"BASE":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/BASE_ICON.png",
"UNIT":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/UNIT_ICON.png",
"HAT":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/HAT_ICON.png",
- "ATOM-BASE":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ATOM_BASE_ICON.png",
+ "ATOM":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ATOM_BASE_ICON.png",
"APPLICATION":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/APPLICATION_ICON.png",
"ACCESSORY":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ACCESSORY_ICON.png",
"ALUMINIUM":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ALUMINIUM_ICON.png"
diff --git a/docs/assets/js/custom.min.js b/docs/assets/js/custom.min.js
index fe8fe676..60c4815c 100644
--- a/docs/assets/js/custom.min.js
+++ b/docs/assets/js/custom.min.js
@@ -1 +1 @@
-const description_icon='',purchase_icon='',example_icon='',video_icon='',quickstart_icon='',schematic_icon='',icon_list={EASYLOADER:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/EASYLOADER_ICON.png",CORE:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/CORE_ICON.png",MODULE:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/MODULE_ICON.png",BASE:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/BASE_ICON.png",UNIT:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/UNIT_ICON.png",HAT:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/HAT_ICON.png","ATOM-BASE":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ATOM_BASE_ICON.png",APPLICATION:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/APPLICATION_ICON.png",ACCESSORY:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ACCESSORY_ICON.png",ALUMINIUM:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ALUMINIUM_ICON.png"};var Label1="",Label2='here is the anchor_name';function anchor_create(e,c){var t=window.location.href,n=Label1.replace(/here is the anchor_id/,c),o=Label2.replace(/here is the anchor_name/,e.toUpperCase());"DESCRIPTION"==e||"描述"==e?$(".anchor-box").append(n+description_icon+o):"EXAMPLE"==e||"案例程序"==e?$(".anchor-box").append(n+example_icon+o):"SCHEMATIC"==e||"原理图"==e?$(".anchor-box").append(n+schematic_icon+o):"VIDEO"==e||"相关视频"==e?$(".anchor-box").append(n+video_icon+o):icon_list.hasOwnProperty(e)?($(".anchor-box").append(n+"
"+o),"EASYLOADER"==e&&("#example_video".length>0&&$("#play-btn").on("click",function(e){e.stopPropagation(),$(".easyloader-mask").toggleClass("video_play"),$("#example_video")[0].play()}),$("#example_video").on("click",function(e){e.preventDefault(),$(".easyloader-mask").toggleClass("video_play"),$("#example_video")[0].pause()}))):-1==t.indexOf(/uiflow/)&&-1==t.indexOf(/arduino/)&&-1==t.indexOf(/quick_start/)&&-1==t.indexOf(/related_documents/)||$(".anchor-box").append(n+quickstart_icon+'"+e+"")}function anchor_search(e="none",c="none"){var t=window.location.href;if("/en/"==t.slice(-4)||"/zh_CN/"==t.slice(-7)||"/#/"==t.slice(-3)){$("#search_note").eq(0).after("
");var n=$(".product_page > div:gt(1)")}else{$("h2").eq(0).before("");n=$("#main h2")}for(var o=0;o'+purchase_icon+''+a+""),"none"!=c&&$(".anchor-box").append("'+quickstart_icon+''+s+"")}function anchor_scroll(e,c,t){var n=window.location.href,o=$("#"+c).offset().top+$("#"+c).height()-$(window).scrollTop();if(o>100&&o<$("#"+c).height()+700)for(var a=0;a div:gt(1)");else t=$("#main h2");for(var n=0;n0;)l.addImage(i,"JPEG",0,a,595.28,s),a-=841.89,(o-=n)>0&&l.addPage();var r=window.location.href,h=r.indexOf("#"),p=r.slice(h+2);l.save(p+".pdf")}}),$(".anchor-box").removeAttr("style"),$(".related_links").removeAttr("style"),$(".easyloader-box").removeAttr("style")}Input.focusin(function(){Input.animate({width:300})}),Input.focusout(function(){Input.animate({width:240})}),$(document).ready(function(){$(".btn-toggle").on("click",function(){$(".btn-toggle").toggleClass("open"),$(".d-flex").toggleClass("open")})}),window.onhashchange=page_loading,page_loading();
\ No newline at end of file
+const description_icon='',purchase_icon='',example_icon='',video_icon='',quickstart_icon='',schematic_icon='',icon_list={EASYLOADER:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/EASYLOADER_ICON.png",CORE:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/CORE_ICON.png",MODULE:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/MODULE_ICON.png",BASE:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/BASE_ICON.png",UNIT:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/UNIT_ICON.png",HAT:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/HAT_ICON.png","ATOM":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ATOM_BASE_ICON.png",APPLICATION:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/APPLICATION_ICON.png",ACCESSORY:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ACCESSORY_ICON.png",ALUMINIUM:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ALUMINIUM_ICON.png"};var Label1="",Label2='here is the anchor_name';function anchor_create(e,c){var t=window.location.href,n=Label1.replace(/here is the anchor_id/,c),o=Label2.replace(/here is the anchor_name/,e.toUpperCase());"DESCRIPTION"==e||"描述"==e?$(".anchor-box").append(n+description_icon+o):"EXAMPLE"==e||"案例程序"==e?$(".anchor-box").append(n+example_icon+o):"SCHEMATIC"==e||"原理图"==e?$(".anchor-box").append(n+schematic_icon+o):"VIDEO"==e||"相关视频"==e?$(".anchor-box").append(n+video_icon+o):icon_list.hasOwnProperty(e)?($(".anchor-box").append(n+"
"+o),"EASYLOADER"==e&&("#example_video".length>0&&$("#play-btn").on("click",function(e){e.stopPropagation(),$(".easyloader-mask").toggleClass("video_play"),$("#example_video")[0].play()}),$("#example_video").on("click",function(e){e.preventDefault(),$(".easyloader-mask").toggleClass("video_play"),$("#example_video")[0].pause()}))):-1==t.indexOf(/uiflow/)&&-1==t.indexOf(/arduino/)&&-1==t.indexOf(/quick_start/)&&-1==t.indexOf(/related_documents/)||$(".anchor-box").append(n+quickstart_icon+'"+e+"")}function anchor_search(e="none",c="none"){var t=window.location.href;if("/en/"==t.slice(-4)||"/zh_CN/"==t.slice(-7)||"/#/"==t.slice(-3)){$("#search_note").eq(0).after("");var n=$(".product_page > div:gt(1)")}else{$("h2").eq(0).before("");n=$("#main h2")}for(var o=0;o'+purchase_icon+''+a+""),"none"!=c&&$(".anchor-box").append("'+quickstart_icon+''+s+"")}function anchor_scroll(e,c,t){var n=window.location.href,o=$("#"+c).offset().top+$("#"+c).height()-$(window).scrollTop();if(o>100&&o<$("#"+c).height()+700)for(var a=0;a div:gt(1)");else t=$("#main h2");for(var n=0;n0;)l.addImage(i,"JPEG",0,a,595.28,s),a-=841.89,(o-=n)>0&&l.addPage();var r=window.location.href,h=r.indexOf("#"),p=r.slice(h+2);l.save(p+".pdf")}}),$(".anchor-box").removeAttr("style"),$(".related_links").removeAttr("style"),$(".easyloader-box").removeAttr("style")}Input.focusin(function(){Input.animate({width:300})}),Input.focusout(function(){Input.animate({width:240})}),$(document).ready(function(){$(".btn-toggle").on("click",function(){$(".btn-toggle").toggleClass("open"),$(".d-flex").toggleClass("open")})}),window.onhashchange=page_loading,page_loading();
\ No newline at end of file
diff --git a/docs/en/atom_base/Tail485.md b/docs/en/atom/Tail485.md
similarity index 100%
rename from docs/en/atom_base/Tail485.md
rename to docs/en/atom/Tail485.md
diff --git a/docs/en/atom_base/TailBat.md b/docs/en/atom/TailBat.md
similarity index 100%
rename from docs/en/atom_base/TailBat.md
rename to docs/en/atom/TailBat.md
diff --git a/docs/en/atom_base/atomic.md b/docs/en/atom/atomic.md
similarity index 100%
rename from docs/en/atom_base/atomic.md
rename to docs/en/atom/atomic.md
diff --git a/docs/en/quick_start/atom/atom_quick_start.md b/docs/en/quick_start/atom/atom_quick_start.md
index c2c2f6ce..2e6c6b4e 100644
--- a/docs/en/quick_start/atom/atom_quick_start.md
+++ b/docs/en/quick_start/atom/atom_quick_start.md
@@ -81,3 +81,9 @@ Press and hold the middle key to turn on the power will enter the menu. In this
+
\ No newline at end of file
diff --git a/docs/index.md b/docs/index.md
index b0f2fbd2..896cfa0d 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -18,11 +18,16 @@
{a:"/#/en/core/m5stickc", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/core_m5stickc_01.webp", p:"M5StickC", sku:"K016-C"},
{a:"/#/en/core/m5stickv", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/m5stickv_01.webp", p:"M5StickV", sku:"K027"},
{a:"/#/en/core/m5stickt", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/m5stickt_01.webp", p:"M5StickT", sku:"K016-T"},
+ ];
+ const atom_list = [
//ATOM
{a:"/#/en/core/atom_lite", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/atom_lite_01.webp", p:"ATOM Lite", sku:"C008"},
{a:"/#/en/core/atom_matrix", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/atom_matrix_01.webp", p:"ATOM Matrix", sku:"C008-B"},
-
- ];
+ //ATOM BASE
+ {a:"/#/en/atom/atomic", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomic_01.webp", p:"ATOMIC", sku:"A077"},
+ // {a:"/#/en/atom_base/tail485", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/tail485_01.webp", p:"Tail485", sku:"A077"},
+ // {a:"/#/en/atom_base/tailbat", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/tailbat_01.webp", p:"TailBat", sku:"A077"},
+ ]
const module_list = [
//Communication Modules
@@ -73,13 +78,6 @@
{a:"/#/en/base/basex", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/base/base_basex_01.webp", p:"BaseX", sku:"K037"},
];
- const atom_base_list = [
- //ATOM BASE
- {a:"/#/en/atom_base/atomic", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomic_01.webp", p:"ATOMIC", sku:"A077"},
- {a:"/#/en/atom_base/tail485", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/tail485_01.webp", p:"Tail485", sku:"A077"},
- {a:"/#/en/atom_base/tailbat", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/tailbat_01.webp", p:"TailBat", sku:"A077"},
- ];
-
const unit_list = [
//Camera class
{a:"/#/en/unit/esp32cam", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_esp32cam_01.webp", p:"ESP32CAM", sku:"U007"},
@@ -215,8 +213,8 @@
];
- const product_class = [core_list,module_list,base_list,atom_base_list,unit_list,hat_list,application_list,accessory_list,aluminium_list];
- const product_class_name = ["core","module","base","atom-base","unit","hat","application","accessory","aluminium"];
+ const product_class = [core_list,atom_list,module_list,base_list,unit_list,hat_list,application_list,accessory_list,aluminium_list];
+ const product_class_name = ["core","atom","module","base","unit","hat","application","accessory","aluminium"];
for (var i=0; i");
@@ -232,7 +230,7 @@
"STEPMOTOR":"Drive Modules",
"ENCODER":"FACES Series",
"LAN":"Base",
- "ATOMIC":"ATOM-BASE",
+ // "ATOMIC":"ATOM-BASE",
"ESP32CAM":"Camera class",
"EARTH":"Sensor class",
"EXT.IO":"I / 0 class",
@@ -259,25 +257,24 @@
$(document).ready(function(){
- var mask_btn = ``
+ var mask_btn = ``
var mask_item = ``
var search_logo = ``
$("div.item a").append(mask_item);
$("#core div.item a .mask:lt(9)").append(mask_btn);
$("#core div.item a .mask").eq(9).append(search_logo);
- $("#core div.item a .mask:gt(9)").append(mask_btn);
+ $("#atom div.item a .mask:lt(2)").append(mask_btn);
+ $("#atom div.item a .mask:gt(1)").append(search_logo);
$("#unit div.item a .mask:lt(5)").append(mask_btn);
$("#unit div.item a .mask:gt(4)").append(search_logo);
$("#module div.item a .mask").append(search_logo);
$("#base div.item a .mask").append(search_logo);
- $("#atom-base div.item a .mask").append(search_logo);
$(".product_page>div:gt(5) div.item a .mask").append(search_logo);
$("#core .mask a").attr("href", "#en/quick_start/m5core/m5stack_core_quick_start");
$("#core .mask a").eq(6).attr("href", "#en/quick_start/m5stick/m5stick_quick_start");
$("#core .mask a").eq(7).attr("href", "#en/quick_start/m5stickc/m5stickc_quick_start");
$("#core .mask a").eq(8).attr("href", "#en/quick_start/m5stickv/m5stickv_quick_start");
- $("#core .mask a").eq(9).attr("href", "#en/quick_start/atom/atom_quick_start");
- $("#core .mask a").eq(10).attr("href", "#en/quick_start/atom/atom_quick_start");
+ $("#atom .mask:lt(2) a").attr("href", "#en/quick_start/atom/atom_quick_start");
$("#unit .mask a").attr("href", "#en/quick_start/m5camera/m5camera_quick_start");
$("#unit .mask a").eq(4).attr("href", "#en/quick_start/unitv/unitv_quick_start");
$(".product_page strong").parent('p').css("margin-bottom","0px");
diff --git a/docs/zh_CN/README.md b/docs/zh_CN/README.md
index d1f67186..01fafecd 100644
--- a/docs/zh_CN/README.md
+++ b/docs/zh_CN/README.md
@@ -18,11 +18,17 @@
{a:"/#/zh_CN/core/m5stickc", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/core_m5stickc_01.webp", p:"M5StickC", sku:"K016-C"},
{a:"/#/zh_CN/core/m5stickv", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/m5stickv_01.webp", p:"M5StickV", sku:"K027"},
{a:"/#/zh_CN/core/m5stickt", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/m5stickt_01.webp", p:"M5StickT", sku:"K016-T"},
+ ];
+
+ const atom_list = [
//ATOM
{a:"/#/zh_CN/core/atom_lite", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/atom_lite_01.webp", p:"ATOM Lite", sku:"C008"},
{a:"/#/zh_CN/core/atom_matrix", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/atom_matrix_01.webp", p:"ATOM Matrix", sku:"C008-B"},
-
- ];
+ //ATOM BASE
+ {a:"/#/zh_CN/atom/atomic", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomic_01.webp", p:"ATOMIC", sku:"A077"},
+ // {a:"/#/zh_CN/atom_base/tail485", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/tail485_01.webp", p:"Tail485", sku:"A077"},
+ // {a:"/#/zh_CN/atom_base/tailbat", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/tailbat_01.webp", p:"TailBat", sku:"A077"},
+ ]
const module_list = [
//Communication Modules
@@ -74,13 +80,6 @@
{a:"/#/zh_CN/base/basex", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/base/base_basex_01.webp", p:"BaseX", sku:"K037"},
];
- const atom_base_list = [
- //ATOM BASE
- {a:"/#/zh_CN/atom_base/atomic", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/atomic_01.webp", p:"ATOMIC", sku:"A077"},
- {a:"/#/zh_CN/atom_base/tail485", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/tail485_01.webp", p:"Tail485", sku:"A077"},
- {a:"/#/zh_CN/atom_base/tailbat", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/atom_base/tailbat_01.webp", p:"TailBat", sku:"A077"},
- ];
-
const unit_list = [
//Camera class
{a:"/#/zh_CN/unit/esp32cam", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_esp32cam_01.webp", p:"ESP32CAM", sku:"U007"},
@@ -211,8 +210,8 @@
{a:"/#/zh_CN/1515/ap", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/1515/ap_ap_01.webp", p:"AluminiumProfile", sku:"A061"}
];
- const product_class = [core_list,module_list,base_list,atom_base_list,unit_list,hat_list,application_list,accessory_list,aluminium_list];
- const product_class_name = ["core","module","base","atom-base","unit","hat","application","accessory","aluminium"];
+ const product_class = [core_list,atom_list,module_list,unit_list,hat_list,application_list,accessory_list,aluminium_list];
+ const product_class_name = ["core","atom","module","base","unit","hat","application","accessory","aluminium"];
for (var i=0; i");
@@ -228,7 +227,7 @@
"STEPMOTOR":"Drive Modules",
"ENCODER":"FACES Series",
"LAN":"Base",
- "ATOMIC":"ATOM-BASE",
+ // "ATOMIC":"ATOM-BASE",
"ESP32CAM":"Camera class",
"EARTH":"Sensor class",
"EXT.IO":"I / 0 class",
@@ -254,13 +253,14 @@
}
$(document).ready(function(){
- var mask_btn = ``
+ var mask_btn = ``
var mask_item = ``
var search_logo = ``
$("div.item a").append(mask_item);
$("#core div.item a .mask:lt(9)").append(mask_btn);
$("#core div.item a .mask").eq(9).append(search_logo);
- $("#core div.item a .mask:gt(9)").append(mask_btn);
+ $("#atom div.item a .mask:lt(2)").append(mask_btn);
+ $("#atom div.item a .mask:gt(1)").append(search_logo);
$("#unit div.item a .mask:lt(5)").append(mask_btn);
$("#unit div.item a .mask:gt(4)").append(search_logo);
$("#module div.item a .mask").append(search_logo);
@@ -271,8 +271,7 @@
$("#core .mask a").eq(6).attr("href", "#zh_CN/quick_start/m5stick/m5stick_quick_start");
$("#core .mask a").eq(7).attr("href", "#zh_CN/quick_start/m5stickc/m5stickc_quick_start");
$("#core .mask a").eq(8).attr("href", "#zh_CN/quick_start/m5stickv/m5stickv_quick_start");
- $("#core .mask a").eq(9).attr("href", "#zh_CN/quick_start/atom/atom_quick_start");
- $("#core .mask a").eq(10).attr("href", "#zh_CN/quick_start/atom/atom_quick_start");
+ $("#atom .mask:lt(2) a").attr("href", "#zh_CN/quick_start/atom/atom_quick_start");
$("#unit .mask a").attr("href", "#zh_CN/quick_start/m5camera/m5camera_quick_start");
$("#unit .mask a").eq(4).attr("href", "#zh_CN/quick_start/unitv/unitv_quick_start");
$(".product_page strong").parent('p').css("margin-bottom","0px");
diff --git a/docs/zh_CN/atom_base/Tail485.md b/docs/zh_CN/atom/Tail485.md
similarity index 100%
rename from docs/zh_CN/atom_base/Tail485.md
rename to docs/zh_CN/atom/Tail485.md
diff --git a/docs/zh_CN/atom_base/TailBat.md b/docs/zh_CN/atom/TailBat.md
similarity index 100%
rename from docs/zh_CN/atom_base/TailBat.md
rename to docs/zh_CN/atom/TailBat.md
diff --git a/docs/zh_CN/atom_base/atomic.md b/docs/zh_CN/atom/atomic.md
similarity index 100%
rename from docs/zh_CN/atom_base/atomic.md
rename to docs/zh_CN/atom/atomic.md