diff --git a/docs/en/core/m5stickc.md b/docs/en/core/m5stickc.md
index b75445ce..e0d32816 100644
--- a/docs/en/core/m5stickc.md
+++ b/docs/en/core/m5stickc.md
@@ -160,6 +160,11 @@ Resolution:80 * 160
- [SPM1423](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/SPM1423HM4H-B_datasheet_en.pdf)
+## structural-design-file
+
+>[lick here for open source architecture design files](https://github.com/m5stack/m5-structural-design-file/tree/master/M5StickC)
+
+
## Version Change
diff --git a/docs/index.html b/docs/index.html
index 70eefaa9..936e7623 100755
--- a/docs/index.html
+++ b/docs/index.html
@@ -138,11 +138,6 @@
ga: 'UA-131246469-2'
};
-
@@ -498,14 +490,9 @@ function creat_pdf() {
onrendered:function(canvas) {
var contentWidth = canvas.width;
var contentHeight = canvas.height;
-
- //一页pdf显示html页面生成的canvas高度;
var pageHeight = contentWidth / 592.28 * 841.89;
- //未生成pdf的html页面高度
var leftHeight = contentHeight;
- //页面偏移
var position = 0;
- //a4纸的尺寸[595.28,841.89],html页面生成的canvas在pdf中图片的宽高
var imgWidth = 595.28;
var imgHeight = 592.28/contentWidth * contentHeight;
@@ -513,8 +500,6 @@ function creat_pdf() {
var pdf = new jsPDF('', 'pt', 'a4');
- //有两个高度需要区分,一个是html页面的实际高度,和生成pdf的页面高度(841.89)
- //当内容未超过pdf一页显示的范围,无需分页
if (leftHeight < pageHeight) {
pdf.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight );
} else {
@@ -522,7 +507,6 @@ function creat_pdf() {
pdf.addImage(pageData, 'JPEG', 0, position, imgWidth, imgHeight)
leftHeight -= pageHeight;
position -= 841.89;
- //避免添加空白页
if(leftHeight > 0) {
pdf.addPage();
}
diff --git a/docs/index_source.html b/docs/index_source.html
index a312ed42..cbc7dfaf 100644
--- a/docs/index_source.html
+++ b/docs/index_source.html
@@ -25,7 +25,7 @@
//加载状态为complete时隐藏loading效果
function completeLoading() {
if (document.readyState == "complete") {
- var loadingMask = document.getElementById('loading');
+ var loadingMask = document.getElementById('loading');
loadingMask.style.display = 'none';
// loadingMask.parentNode.removeChild(loadingMask);
}
@@ -76,7 +76,7 @@
UIFlow
Arduino
MicroPython
-
AWS-FreeRTOS
+
FreeRTOS