From 4658ea11d039c33dfe31d098644d85fe8f396b16 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Wed, 17 Jul 2024 17:11:42 +0800 Subject: [PATCH] feat: update theme to 1.4.21 --- README.md | 55 ++++++++++++++++++++++++++++++++++++---------------- package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 43 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 4e9ce6c0..5eba014d 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,12 @@ hello uni-app x的源码见:[https://gitcode.net/dcloud/hello-uni-app-x](https uni-app x 是一个庞大的工程,它包括uts语言、uvue渲染引擎、uni的组件和API、以及扩展机制。 +## 如何在本地运行查看文档 + +1. 使用命令行工具打开文档根目录 +2. 在命令行中执行 `yarn` 安装依赖,如果没有 `yarn`,则先执行 `npm i -g yarn` +3. 在命令行中执行 `yarn dev --no-cache`,命令运行完毕后,会显示本地可查看链接,点击或复制到浏览器查看即可 + ## 文档编写注意事项 1. 右侧导航仅支持二级、三级、四级 @@ -100,23 +106,38 @@ uni-app x 是一个庞大的工程,它包括uts语言、uvue渲染引擎、uni 13. md 表格支持行、列合并 - 行列合并 - ```md - |资源分类 |资源细项 |售价(元) | - |:-: |:-: |:-: | - |云函数 #{rowspan=3}|资源使用量(GBs) |0.000110592| - |调用次数(万次) |0.0133 | - |出网流量(GB) |0.8 | - |云数据库 #{rowspan=3}|容量(GB/天) |0.07 | - |读操作使用量(万RU) |0.015 | - |写操作使用量(万RU) |0.05 | - |云存储 #{rowspan=4}|容量(GB/天) |0.0043 | - |下载操作次数(万次) |0.01 | - |上传操作次数(万次) |0.01 | - |CDN 流量(GB) |0.18 | - |前端网站托管 #{rowspan=2}|容量(GB/天) |0.0043 | - |流量(GB)|0.18 | - |售价(元/月)#{colspan=2} |5 | - ``` + ```md + |资源分类 |资源细项 |售价(元) | + |:-: |:-: |:-: | + |云函数 #{rowspan=3}|资源使用量(GBs) |0.000110592| + |调用次数(万次) |0.0133 | + |出网流量(GB) |0.8 | + |云数据库 #{rowspan=3}|容量(GB/天) |0.07 | + |读操作使用量(万RU) |0.015 | + |写操作使用量(万RU) |0.05 | + |云存储 #{rowspan=4}|容量(GB/天) |0.0043 | + |下载操作次数(万次) |0.01 | + |上传操作次数(万次) |0.01 | + |CDN 流量(GB) |0.18 | + |前端网站托管 #{rowspan=2}|容量(GB/天) |0.0043 | + |流量(GB)|0.18 | + |售价(元/月)#{colspan=2} |5 | + ``` + - 无限嵌套表格行折叠 + ```md + |父Table第一列|父Table第二列 |父Table第三列| + |:------ |:------- |:--------| + |A |**B**|[C](https://www.dcloud.io/hbuilderx.html)| + |@|第一列|第二列 |第三列 | + |@|:------ |:-------: |-------: | + |@|第一行 |**居中**|~~markdown~~| + |@@| 名称 | 类型 | 必备 | 默认值 | 描述 | + |@@| :- | :- | :- | :- | :- | + |@@| D | E \\| F | H | - | I | + |@|第二行 |[HBuilderX](https://www.dcloud.io/hbuilderx.html)|右对齐| + ``` + ![](https://web-ext-storage.dcloud.net.cn/doc/table-expandable-row.png) + ## 文档 Algolia 使用限额 Included Quota: - Records: 1,000,000 diff --git a/package.json b/package.json index d7683a29..deac1dbc 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ }, "dependencies": { "vuepress": "1.9.9", - "vuepress-theme-uniapp-official": "1.4.20" + "vuepress-theme-uniapp-official": "1.4.21" }, "resolutions": { "markdown-it": "< 14" diff --git a/yarn.lock b/yarn.lock index ea99c15d..d82377bf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9566,10 +9566,10 @@ vuepress-plugin-zooming@^1.1.8: dependencies: zooming "^2.1.1" -vuepress-theme-uniapp-official@1.4.20: - version "1.4.20" - resolved "https://registry.npmmirror.com/vuepress-theme-uniapp-official/-/vuepress-theme-uniapp-official-1.4.20.tgz#ebfff935ce830f06f9062c5ff69c28969e363ed2" - integrity sha512-nEXiZXe6bZcVosnlrGl0441eZ2SJavK9R/f8RdHElXo0/rXAbSDjClnZnmiYqm7SVQIY2Ilvnnd62AXUELBjyg== +vuepress-theme-uniapp-official@1.4.21: + version "1.4.21" + resolved "https://registry.npmmirror.com/vuepress-theme-uniapp-official/-/vuepress-theme-uniapp-official-1.4.21.tgz#dbda3bb1984ae591446e8fa53361ee996896b068" + integrity sha512-BSy8e0pFjJErGINMlZpBlejOmZv9BXcCc3QPtbO6DmydX8wN+LMpWgQkewPSNl0ePLYU3ZF++Qfx9dLR5UzLZw== dependencies: "@docsearch/css" "^3.6.0" "@vuepress/plugin-back-to-top" "^1.9.5" -- GitLab