Browse Source

something

master
tomdang 3 years ago
parent
commit
6bd94bd5e2
Signed by untrusted user: tomdang
GPG Key ID: 794FF55A0B3D0992
  1. 4
      .vuepress/config.ts
  2. 46
      .vuepress/navbar/zh.ts
  3. 10
      .vuepress/themeConfig.ts
  4. 2
      README.md
  5. 3
      guide/README.md
  6. 41
      guide/disable.md
  7. 15
      guide/encrypt.md
  8. 1
      guide/markdown.md
  9. 10
      guide/page.md
  10. 1
      home.md
  11. 19
      posts/article/article1.md
  12. 20
      posts/article/article2.md
  13. 20
      posts/article/article3.md
  14. 20
      posts/article/article4.md
  15. 20
      posts/article/article5.md
  16. 21
      posts/article/article6.md
  17. 20
      posts/article/article7.md
  18. 20
      posts/article/article8.md
  19. 20
      posts/article10.md
  20. 20
      posts/article11.md
  21. 21
      posts/article12.md
  22. 20
      posts/article9.md
  23. 23
      posts/blog_of_stei.md
  24. 2
      slide.md

4
.vuepress/config.ts

@ -24,8 +24,8 @@ export default defineHopeConfig({
// }, // },
"/": { "/": {
lang: "zh-CN", lang: "zh-CN",
title: "西安交通大学电信科协-博客", title: "西安交通大学电信科协",
description: "Blog of XJTU STEI", description: "Site of XJTU STEI",
}, },
}, },

46
.vuepress/navbar/zh.ts

@ -4,49 +4,5 @@ export const zh = defineNavbarConfig([
"/", "/",
"/home", "/home",
{ text: "使用指南", icon: "creative", link: "/guide/" }, { text: "使用指南", icon: "creative", link: "/guide/" },
{ { text: "Git服务器", icon: "git", link: "http://git.xjtustei.nteren.net" },
text: "博文",
icon: "edit",
prefix: "/posts/",
children: [
{
text: "文章 1-4",
icon: "edit",
prefix: "article/",
children: [
{ text: "文章 1", icon: "edit", link: "article1" },
{ text: "文章 2", icon: "edit", link: "article2" },
"article3",
"article4",
],
},
{
text: "文章 5-12",
icon: "edit",
children: [
{
text: "文章 5",
icon: "edit",
link: "article/article5",
},
{
text: "文章 6",
icon: "edit",
link: "article/article6",
},
"article/article7",
"article/article8",
],
},
{ text: "文章 9", icon: "edit", link: "article9" },
{ text: "文章 10", icon: "edit", link: "article10" },
"article11",
"article12",
],
},
{
text: "主题文档",
icon: "note",
link: "https://vuepress-theme-hope.github.io/v2/zh/",
},
]); ]);

10
.vuepress/themeConfig.ts

@ -3,18 +3,18 @@ import * as navbar from "./navbar";
import * as sidebar from "./sidebar"; import * as sidebar from "./sidebar";
export default defineThemeConfig({ export default defineThemeConfig({
hostname: "https://vuepress-theme-hope-v2-demo.mrhope.site", hostname: "http://blog.xjtustei.nteren.net",
author: { author: {
name: "Mr.Hope", name: "XJTU-STEI",
url: "https://mrhope.site", url: "http://blog.xjtustei.nteren.net",
}, },
iconPrefix: "iconfont icon-", iconPrefix: "iconfont icon-",
logo: "/logo.svg", logo: "/logo.svg",
repo: "https://github.com/vuepress-theme-hope/vuepress-theme-hope", repo: "http://git.xjtustei.nteren.net/XJTUSTEI/stei-blog",
docsDir: "demo/src", docsDir: "demo/src",
@ -89,7 +89,7 @@ export default defineThemeConfig({
displayFooter: true, displayFooter: true,
blog: { blog: {
description: "一个前端开发者", description: "西安交通大学电信科协",
intro: "/intro.html", intro: "/intro.html",
}, },

2
README.md

@ -37,7 +37,5 @@ projects:
name: 自定义项目 name: 自定义项目
desc: 自定义详细介绍 desc: 自定义详细介绍
link: https://你的自定义链接 link: https://你的自定义链接
footer: 自定义你的页脚文字
--- ---

3
guide/README.md

@ -10,6 +10,3 @@ category:
- [Markdown 展示](markdown.md) - [Markdown 展示](markdown.md)
- [禁用展示](disable.md)
- [加密展示](encrypt.md)

41
guide/disable.md

@ -1,41 +0,0 @@
---
title: 组件禁用
icon: config
category:
- 使用指南
tag:
- 禁用
navbar: false
sidebar: false
breadcrumb: false
pageInfo: false
contributors: false
editLink: false
lastUpdated: false
prev: false
next: false
comment: false
footer: false
backtotop: false
---
你可以通过设置页面的 Frontmatter,在页面禁用一些功能。
<!-- more -->
本页面应当禁用了:
- 导航栏
- 侧边栏
- 路径导航
- 页面信息
- 贡献者
- 编辑此页链接
- 更新时间
- 上一篇/下一篇 链接
- 评论
- 页脚
- 返回顶部按钮

15
guide/encrypt.md

@ -1,15 +0,0 @@
---
icon: lock
category:
- 使用指南
tag:
- 文章加密
---
# 密码加密的文章
实际的文章内容。
段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字。
段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字。

1
guide/markdown.md

@ -5,6 +5,7 @@ category:
- 使用指南 - 使用指南
tag: tag:
- markdown - markdown
author: Mr.Hope
--- ---
VuePress 的每个文档页面都是由 Markdown 渲染而成。所以你需要通过在相应路径创建编写 Markdown 建立你的文档或博客页面。 VuePress 的每个文档页面都是由 Markdown 渲染而成。所以你需要通过在相应路径创建编写 Markdown 建立你的文档或博客页面。

10
guide/page.md

@ -4,7 +4,7 @@ icon: page
# 这是文章的标题 # 这是文章的标题
title: 页面配置 title: 页面配置
# 设置作者 # 设置作者
author: Ms.Hope author: John Smith
# 设置写作时间 # 设置写作时间
date: 2020-01-01 date: 2020-01-01
# 一个页面可以有多个分类 # 一个页面可以有多个分类
@ -14,10 +14,10 @@ category:
tag: tag:
- 页面配置 - 页面配置
- 使用指南 - 使用指南
# 此页面会在文章列表置顶 # 此页面会在文章列表置顶(为整体观感取消)
sticky: true sticky: false
# 此页面会出现在首页的文章板块 # 此页面会出现在首页的文章板块(为观感取消)
star: true star: false
# 你可以自定义页脚 # 你可以自定义页脚
footer: 这是测试显示的页脚 footer: 这是测试显示的页脚
--- ---

1
home.md

@ -99,5 +99,4 @@ features:
details: 包括图标支持、全屏按钮、返回顶部按钮等 details: 包括图标支持、全屏按钮、返回顶部按钮等
link: https://vuepress-theme-hope.github.io/v2/zh/guide/feature/ link: https://vuepress-theme-hope.github.io/v2/zh/guide/feature/
copyright: false copyright: false
footer: MIT Licensed | Copyright © 2022 XJTU-STEI
--- ---

19
posts/article/article1.md

@ -1,19 +0,0 @@
---
icon: edit
date: 2022-01-01
category:
- CategoryA
tag:
- tag A
- tag B
---
# 文章 1
## 标题 2
这里是内容。
### 标题 3
这里是内容。

20
posts/article/article2.md

@ -1,20 +0,0 @@
---
icon: edit
date: 2022-01-02
category:
- CategoryA
tag:
- tag A
- tag B
star: true
---
# 文章 2
## 标题 2
这里是内容。
### 标题 3
这里是内容。

20
posts/article/article3.md

@ -1,20 +0,0 @@
---
icon: edit
date: 2022-01-03
category:
- CategoryA
- CategoryB
tag:
- tag A
- tag B
---
# 文章 3
## 标题 2
这里是内容。
### 标题 3
这里是内容。

20
posts/article/article4.md

@ -1,20 +0,0 @@
---
icon: edit
date: 2022-01-04
category:
- CategoryA
- CategoryB
tag:
- tag A
- tag B
---
# 文章 4
## 标题 2
这里是内容。
### 标题 3
这里是内容。

20
posts/article/article5.md

@ -1,20 +0,0 @@
---
icon: edit
date: 2022-01-05
category:
- CategoryA
- CategoryB
tag:
- tag A
- tag B
---
# 文章 5
## 标题 2
这里是内容。
### 标题 3
这里是内容。

21
posts/article/article6.md

@ -1,21 +0,0 @@
---
icon: edit
date: 2022-01-06
category:
- CategoryA
- CategoryB
tag:
- tag A
- tag B
star: 10
---
# 文章 6
## 标题 2
这里是内容。
### 标题 3
这里是内容。

20
posts/article/article7.md

@ -1,20 +0,0 @@
---
icon: edit
date: 2022-01-07
category:
- CategoryA
- CategoryB
tag:
- tag A
- tag B
---
# 文章 7
## 标题 2
这里是内容。
### 标题 3
这里是内容。

20
posts/article/article8.md

@ -1,20 +0,0 @@
---
icon: edit
date: 2022-01-08
category:
- CategoryA
- CategoryB
tag:
- tag A
- tag B
---
# 文章 8
## 标题 2
这里是内容。
### 标题 3
这里是内容。

20
posts/article10.md

@ -1,20 +0,0 @@
---
icon: edit
date: 2022-01-10
category:
- CategoryA
- CategoryB
tag:
- tag A
- tag B
---
# 文章 10
## 标题 2
这里是内容。
### 标题 3
这里是内容。

20
posts/article11.md

@ -1,20 +0,0 @@
---
icon: edit
date: 2022-01-11
category:
- CategoryA
- CategoryB
tag:
- tag A
- tag B
---
# 文章 11
## 标题 2
这里是内容。
### 标题 3
这里是内容。

21
posts/article12.md

@ -1,21 +0,0 @@
---
icon: edit
date: 2022-01-12
category:
- CategoryA
- CategoryB
tag:
- tag A
- tag B
star: true
---
# 文章 12
## 标题 2
这里是内容。
### 标题 3
这里是内容。

20
posts/article9.md

@ -1,20 +0,0 @@
---
icon: edit
date: 2022-01-09
category:
- CategoryA
- CategoryB
tag:
- tag A
- tag B
---
# 文章 9
## 标题 2
这里是内容。
### 标题 3
这里是内容。

23
posts/blog_of_stei.md

@ -0,0 +1,23 @@
---
icon: edit
date: 2022-03-03
author: 党一桐
isOriginal: true
category:
- 杂谈
- 计算机
tag:
- 杂谈
star: true
---
# 西安交通大学电信科协官方站点
今天是2022年3月3日,在购买服务器并搭建好`gitea`和`jenkins`之后,终于完成并测试成功了本站的版本控制及自动部署。本站采用`vuepress`框架,由`vuepress-theme-hope`驱动,采用`gitea`进行版本控制,集成`jenkins`CI/CD进行自动化构建部署。如有部署相关问题请咨询[NaiveTomcat](mailto:tomdang@naivetomcat.cn)。
本站将主要发布西安交通大学电信科协的相关博文以及教程性文本。
请文章撰写者参考[撰写指南](/guide/)进行文章编辑。如有疑惑可进一步参考[vuepress-theme-hope文档](https://vuepress-theme-hope.github.io/v2/zh/guide/)及[vuepress文档](https://vuepress.vuejs.org/zh/guide/)。
建议在本地使用带有`Markdown`语法高亮或预览的编辑器进行编辑,如有条件建议先在本地预览项目。对项目仓库的推送将会触发CI部署至生产服务器。

2
slide.md

@ -18,7 +18,7 @@ layout: Slide
<!-- .element: class="r-fit-text" --> <!-- .element: class="r-fit-text" -->
> 作者 Mr.Hope. 请滚动鼠标滚轮进入下一页 > 请滚动鼠标滚轮进入下一页
--- ---

Loading…
Cancel
Save