浏览代码

update docs

tags/3.1.0
Caven Chen 2 年前
父节点
当前提交
09fde02d29
共有 3 个文件被更改,包括 9 次插入3 次删除
  1. 2
    2
      docs/.vitepress/config.js
  2. 6
    0
      docs/public/assets/logo.svg
  3. 1
    1
      examples/index.html

+ 2
- 2
docs/.vitepress/config.js 查看文件

@@ -4,13 +4,13 @@ import enConfig from './locales/en.config.js'
export default defineConfig({
base: '/dc-docs/',
cleanUrls: 'without-subfolders',
head: [['link', { rel: 'icon', href: '/assets/favicon.png' }]],
head: [['link', { rel: 'icon', href: '/dc-docs/assets/favicon.png' }]],
locales: {
root: zhConfig,
// en: enConfig,
},
themeConfig: {
logo: '/assets/favicon.png',
logo: '/assets/logo.svg',
search: {
provider: 'local',
},

+ 6
- 0
docs/public/assets/logo.svg 查看文件

@@ -0,0 +1,6 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg t="1581684917302" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5538" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32">
<defs><style type="text/css"></style></defs>
<path d="M487.282759 896.882759c-181.848276 0-330.151724-148.303448-330.151725-330.151725 0-181.848276 148.303448-330.151724 330.151725-330.151724 181.848276 0 330.151724 148.303448 330.151724 330.151724 0 181.848276-148.303448 330.151724-330.151724 330.151725z m0-624.993104c-162.427586 0-294.841379 132.413793-294.84138 294.841379s132.413793 294.841379 294.84138 294.84138 294.841379-132.413793 294.841379-294.84138-132.413793-294.841379-294.841379-294.841379zM803.310345 268.358621c-38.841379 0-70.62069-31.77931-70.62069-70.62069s31.77931-70.62069 70.62069-70.62069 70.62069 31.77931 70.620689 70.62069-31.77931 70.62069-70.620689 70.62069z m0-123.586207c-30.013793 0-52.965517 22.951724-52.965517 52.965517s22.951724 52.965517 52.965517 52.965517 52.965517-22.951724 52.965517-52.965517-24.717241-52.965517-52.965517-52.965517z" p-id="5539" fill="#10B981"></path>
<path d="M252.468966 563.2H247.172414c-8.827586-1.765517-14.124138-12.358621-12.358621-21.186207 1.765517-5.296552 38.841379-135.944828 174.786207-190.675862 8.827586-3.531034 19.42069 0 22.951724 8.827586 3.531034 8.827586 0 19.42069-8.827586 22.951724-120.055172 49.434483-153.6 167.724138-153.6 167.724138-3.531034 7.062069-10.593103 12.358621-17.655172 12.358621zM476.689655 330.151724c-10.593103 0-17.655172 8.827586-17.655172 17.655173s8.827586 17.655172 17.655172 17.655172 17.655172-8.827586 17.655173-17.655172-8.827586-17.655172-17.655173-17.655173zM229.517241 835.089655c-67.089655 0-107.696552-15.889655-118.289655-47.668965-12.358621-33.544828 10.593103-75.917241 68.855173-121.82069 7.062069-5.296552 19.42069-5.296552 24.717241 1.765517 5.296552 7.062069 5.296552 19.42069-1.765517 24.717242-51.2 40.606897-63.558621 68.855172-58.262069 82.97931 5.296552 14.124138 40.606897 30.013793 123.586207 22.951724 79.448276-7.062069 178.317241-30.013793 278.951724-68.855172 100.634483-37.075862 192.441379-84.744828 256-130.648276 67.089655-47.668966 82.97931-82.97931 77.682758-98.868966-5.296552-12.358621-30.013793-26.482759-88.275862-24.717241-10.593103 0-17.655172-7.062069-17.655172-17.655172s7.062069-17.655172 17.655172-17.655173h3.531035c67.089655 0 107.696552 15.889655 118.289655 47.668966 14.124138 37.075862-17.655172 84.744828-90.041379 139.475862-67.089655 47.668966-160.662069 97.103448-264.827586 134.17931-104.165517 38.841379-206.565517 63.558621-289.544828 70.62069-15.889655 1.765517-28.248276 3.531034-40.606897 3.531034z" p-id="5540" fill="#10B981"></path>
</svg>

+ 1
- 1
examples/index.html 查看文件

@@ -149,7 +149,7 @@

<div class="container">
<div class="nav">
<div class="banner"> DC-SDK v3.0.1 </div>
<div class="banner"> DC-SDK v3.1.0 </div>
<div class="example-list-wrapper">
<div id="example-list" class="example-list" data-accordion-group> </div>
<div class="desc"></div>

正在加载...
取消
保存