Skip to content

Commit 1f49550

Browse files
committed
feat:update docs
1 parent b08a354 commit 1f49550

File tree

5 files changed

+41
-42
lines changed

5 files changed

+41
-42
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ jobs:
5353
repo: https://github.com/Umajs/umajs.github.io
5454
target_branch: main
5555
build_dir: dist
56-
# env:
57-
# GH_PAT: ${{ secrets.GH_PAGES_TOKEN }}
56+
env:
57+
GH_PAT: ${{ secrets.GH_PAGES_TOKEN }}

docs/.vuepress/config.ts

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -253,49 +253,48 @@ module.exports = defineUserConfig<DefaultThemeOptions, WebpackBundlerOptions>({
253253
/**
254254
* @todo
255255
*/
256-
[
257-
'seo2',
258-
{
259-
author: 'JiaZeng',
260-
twitterID: 'UMajs',
261-
restrictions: '3+',
262-
// seo: () => {
263-
// return {
264-
// 'twitter:card': 'summary',
265-
// }
266-
// },
267-
// customMeta: (
268-
// meta: [Record<'content' | 'name' | 'charset' | 'http-equiv', string>]
269-
// ) => {
270-
// },
271-
},
272-
],
256+
// [
257+
// 'seo2',
258+
// {
259+
// author: 'JiaZeng',
260+
// twitterID: 'UMajs',
261+
// restrictions: '3+',
262+
// // seo: () => {
263+
// // return {
264+
// // 'twitter:card': 'summary',
265+
// // }
266+
// // },
267+
// // customMeta: (
268+
// // meta: [Record<'content' | 'name' | 'charset' | 'http-equiv', string>]
269+
// // ) => {
270+
// // },
271+
// },
272+
// ],
273273

274274
/**
275275
* @description use more syntax in your Markdown files.
276276
* @link https://vuepress-theme-hope.github.io/md-enhance/guide/
277277
*/
278278
[
279279
'md-enhance',
280-
false,
281-
// {
282-
// enableAll: true,
283-
// tex: {
284-
// strict: 'ignore',
285-
// },
286-
// presentation: {
287-
// plugins: [
288-
// 'highlight',
289-
// 'math',
290-
// 'search',
291-
// 'notes',
292-
// 'zoom',
293-
// 'anything',
294-
// 'audio',
295-
// 'chalkboard',
296-
// ],
297-
// },
298-
// },
280+
{
281+
enableAll: true,
282+
tex: {
283+
strict: 'ignore',
284+
},
285+
presentation: {
286+
plugins: [
287+
'highlight',
288+
'math',
289+
'search',
290+
'notes',
291+
'zoom',
292+
'anything',
293+
'audio',
294+
'chalkboard',
295+
],
296+
},
297+
},
299298
],
300299

301300
/**

docs/.vuepress/layout/layout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<footer class="docs-footer page-meta">
55
<div :class="$style.footerContainer" role="presentation">
66
<div :class="$style.docsInfo">
7-
MIT Licensed | Copyright © 2021
7+
MIT Licensed | Copyright © 2005-present 58.com
88
</div>
99
</div>
1010
</footer>

docs/.vuepress/locales/zh-CN.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@
4848
- text: 框架介绍
4949
link: /新手指南/框架介绍.md
5050

51-
- text: Uma
51+
- text: Uma与Koa
5252
link: /新手指南/Uma.md
5353
- text: 快速开始
5454
link: /新手指南/快速开始.md
5555

5656
- text: 基础功能
5757
children:
58-
- text: Uma 对象
59-
link: /基础功能/Uma 对象.md
58+
- text: Uma
59+
link: /基础功能/Uma.md
6060

6161
- text: Router
6262
link: /基础功能/Router.md
File renamed without changes.

0 commit comments

Comments
 (0)