Skip to content

Commit

Permalink
换主题。
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenxuan Chen committed Feb 2, 2024
1 parent afe2ea3 commit b1eafe6
Show file tree
Hide file tree
Showing 44 changed files with 39 additions and 31 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy-docs.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ jobs:
# 如果你文档需要 Git 子模块,取消注释下一行
# submodules: true

- name: 降级 Yarn
- name: 降级 Yarn 以确保可以成功更新 Yarn
run:
npm install -g yarn@1.22.19

- name: 更新Yarn
- name: 更新 Yarn
run:
yarn set version berry



- name: 设置 Node.js
uses: actions/setup-node@v3
with:
Expand Down
4 changes: 1 addition & 3 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
node_modules
.temp
.cache


node_modules/
docs/.vuepress/.cache/
Expand Down
Binary file modified .yarn/install-state.gz
100644 → 100755
Binary file not shown.
Empty file modified .yarnrc.yml
100644 → 100755
Empty file.
7 changes: 7 additions & 0 deletions ReADme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# xuanxuan1231.github.io
Vuepress文档源码,自动部署到GitHub Pages上
[源站](https://xuanxuan1231.github.io)[经过Cloudflare CDN加/减速的站](https://docs.xuanxuan1231.tk)

Powered by Vuepress
Powered by GitHub Pages
Powered by Cloudflare
5 changes: 3 additions & 2 deletions docs/.vuepress/config.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ export default defineUserConfig({
base: "/",

lang: "zh-CN",
title: "文档演示",
description: "vuepress-theme-hope 的文档演示",
title: "网站说明",
description: "初一三班网站说明",

theme,


// 和 PWA 一起启用
// shouldPrefetch: false,
Expand Down
Empty file modified docs/.vuepress/navbar.ts
100644 → 100755
Empty file.
Empty file modified docs/.vuepress/public/assets/icon/apple-icon-152.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/icon/chrome-192.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/icon/chrome-512.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/icon/chrome-mask-192.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/icon/chrome-mask-512.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/icon/guide-maskable.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/icon/ms-icon-144.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/image/advanced.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/image/blog.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/image/box.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/image/features.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/image/github-dark.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/image/github-light.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/image/layout.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/assets/image/markdown.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/favicon.ico
100644 → 100755
Empty file.
Empty file modified docs/.vuepress/public/logo.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/public/logo.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/.vuepress/sidebar.ts
100644 → 100755
Empty file.
Empty file modified docs/.vuepress/styles/config.scss
100644 → 100755
Empty file.
Empty file modified docs/.vuepress/styles/index.scss
100644 → 100755
Empty file.
Empty file modified docs/.vuepress/styles/palette.scss
100644 → 100755
Empty file.
40 changes: 20 additions & 20 deletions docs/.vuepress/theme.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ import navbar from "./navbar.js";
import sidebar from "./sidebar.js";

export default hopeTheme({
hostname: "https://vuepress-theme-hope-docs-demo.netlify.app",
hostname: "https://xuanxuan1231.github.io",

author: {
name: "Mr.Hope",
url: "https://mister-hope.com",
name: "Wenxuan Chen",
url: "https://github.com/xuanxuan1231",
},

iconAssets: "fontawesome-with-brands",

logo: "https://theme-hope-assets.vuejs.press/logo.svg",

repo: "vuepress-theme-hope/vuepress-theme-hope",
repo: "xuanxuan1231/xuanxuan1231.github.io",

docsDir: "src",

Expand All @@ -25,7 +25,7 @@ export default hopeTheme({
sidebar,

// 页脚
footer: "默认页脚",
footer: "北大附中新馨学校",
displayFooter: true,

// 加密配置
Expand All @@ -48,29 +48,29 @@ export default hopeTheme({
// 你应该自行生成自己的评论服务
comment: {
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
repo: "xuanxuan1231/xuanxuan1231.github.io",
repoId: "R_kgDOLCJkwQ",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
categoryId: "DIC_kwDOLCJkwc4CcZXL",
},

components: {
components: ["Badge", "VPCard"],
components: ["Badge", "VPCard","PDF"],
},

// 此处开启了很多功能用于演示,你应仅保留用到的功能。
mdEnhance: {
align: true,
attrs: true,
codetabs: true,
attrs: true,//可以避免中文的#
//codetabs: true,
component: true,
demo: true,
figure: true,
imgLazyload: true,
imgSize: true,
include: true,
mark: true,
stylize: [
//demo: true,
//figure: true,
//imgLazyload: true,
//imgSize: true,
//include: true,
//mark: true,
/*stylize: [
{
matcher: "Recommended",
replacer: ({ tag }) => {
Expand All @@ -82,11 +82,11 @@ export default hopeTheme({
};
},
},
],
],*/
sub: true,
sup: true,
tabs: true,
vPre: true,
//vPre: true,

// 在启用之前安装 chart.js
// chart: true,
Expand Down
Empty file modified docs/README.md
100644 → 100755
Empty file.
Empty file modified docs/demo/README.md
100644 → 100755
Empty file.
Empty file modified docs/demo/disable.md
100644 → 100755
Empty file.
Empty file modified docs/demo/encrypt.md
100644 → 100755
Empty file.
Empty file modified docs/demo/layout.md
100644 → 100755
Empty file.
Empty file modified docs/demo/markdown.md
100644 → 100755
Empty file.
Empty file modified docs/demo/page.md
100644 → 100755
Empty file.
Empty file modified docs/guide/README.md
100644 → 100755
Empty file.
Empty file modified docs/guide/bar/README.md
100644 → 100755
Empty file.
Empty file modified docs/guide/bar/baz.md
100644 → 100755
Empty file.
Empty file modified docs/guide/foo/README.md
100644 → 100755
Empty file.
Empty file modified docs/guide/foo/ray.md
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions package.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"@vuepress/client": "2.0.0-rc.0",
"vue": "^3.4.3",
"vuepress": "2.0.0-rc.0",
"vuepress-plugin-components": "^2.0.0-rc.11",
"vuepress-plugin-md-enhance": "^2.0.0-rc.11",
"vuepress-theme-hope": "2.0.0-rc.11"
},
"scripts": {
Expand Down
6 changes: 4 additions & 2 deletions yarn.lock
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3786,7 +3786,7 @@ __metadata:
languageName: node
linkType: hard

"vuepress-plugin-components@npm:2.0.0-rc.11":
"vuepress-plugin-components@npm:2.0.0-rc.11, vuepress-plugin-components@npm:^2.0.0-rc.11":
version: 2.0.0-rc.11
resolution: "vuepress-plugin-components@npm:2.0.0-rc.11"
dependencies:
Expand Down Expand Up @@ -3896,7 +3896,7 @@ __metadata:
languageName: node
linkType: hard

"vuepress-plugin-md-enhance@npm:2.0.0-rc.11":
"vuepress-plugin-md-enhance@npm:2.0.0-rc.11, vuepress-plugin-md-enhance@npm:^2.0.0-rc.11":
version: 2.0.0-rc.11
resolution: "vuepress-plugin-md-enhance@npm:2.0.0-rc.11"
dependencies:
Expand Down Expand Up @@ -4286,6 +4286,8 @@ __metadata:
"@vuepress/client": "npm:2.0.0-rc.0"
vue: "npm:^3.4.3"
vuepress: "npm:2.0.0-rc.0"
vuepress-plugin-components: "npm:^2.0.0-rc.11"
vuepress-plugin-md-enhance: "npm:^2.0.0-rc.11"
vuepress-theme-hope: "npm:2.0.0-rc.11"
languageName: unknown
linkType: soft
Expand Down

0 comments on commit b1eafe6

Please sign in to comment.