Compare commits

..

21 Commits

Author SHA1 Message Date
171dba2d05 Merge pull request '添加 2022 级特刊工作人员名单' (#8) from doc/add-2022-staffs into main
Reviewed-on: #8
2025-05-02 00:52:24 +00:00
a244e53814 添加 2022 级特刊工作人员名单
All checks were successful
Checking-doc / build-and-deploy (pull_request) Successful in 2m16s
deploying-doc / build-and-deploy (pull_request) Successful in 2m5s
2025-05-02 00:48:40 +00:00
6e9502614c Merge pull request 'Revert "添加文件变更检查步骤以决定是否执行构建和部署"' (#7) from config/remove-if-workflow into main
Reviewed-on: #7
2025-04-29 09:17:53 +00:00
dc96fca00d Revert "添加文件变更检查步骤以决定是否执行构建和部署"
All checks were successful
Checking-doc / build-and-deploy (pull_request) Successful in 2m12s
deploying-doc / build-and-deploy (pull_request) Successful in 3m17s
This reverts commit 670e061545.
2025-04-29 17:08:13 +08:00
fb9ed941d0 Merge pull request 'improve/modified-config' (#6) from improve/modified-config into main
All checks were successful
deploying-doc / build-and-deploy (push) Successful in 2m8s
Reviewed-on: #6
2025-04-27 02:43:12 +00:00
18f99870e3 在部署后自动将预览链接评论到拉取请求中
All checks were successful
Checking-doc / check-file-changes (pull_request) Successful in 9s
Checking-doc / build-and-deploy (pull_request) Successful in 2m16s
deploying-doc / build-and-deploy (pull_request) Successful in 2m6s
2025-04-27 10:38:07 +08:00
5da984b9df 页脚添加更改日志显示
All checks were successful
Checking-doc / check-file-changes (pull_request) Successful in 9s
Checking-doc / build-and-deploy (pull_request) Successful in 2m4s
2025-04-27 10:23:59 +08:00
ff8ba6bbc7 页面信息仅显示分类、标签 2025-04-27 10:23:27 +08:00
f05c95260b 调整 README.md 中的步骤编号和格式
All checks were successful
Checking-doc / check-file-changes (pull_request) Successful in 9s
Checking-doc / build-and-deploy (pull_request) Successful in 2m3s
2025-04-27 10:04:38 +08:00
c6ab232e17 移除 $theme-color 的默认值设置
All checks were successful
Checking-doc / check-file-changes (pull_request) Successful in 9s
Checking-doc / build-and-deploy (pull_request) Successful in 2m3s
2025-04-27 10:02:04 +08:00
fa6ca66985 关闭 Git 贡献者信息
All checks were successful
Checking-doc / check-file-changes (pull_request) Successful in 19s
Checking-doc / build-and-deploy (pull_request) Successful in 3m18s
2025-04-27 07:51:17 +08:00
e94dc1b933 顶栏和侧栏格式化 2025-04-27 07:50:55 +08:00
dcacc1feaa 优化旧更新日志 2025-04-27 07:50:17 +08:00
ba7e31022a Merge pull request '优化CI流程' (#5) from dev into main
Reviewed-on: jjnwxs/jingji_spbook_vue#5
2025-04-26 13:27:37 +00:00
ff74063961 更新文件变更检查逻辑
All checks were successful
Checking-doc / check-file-changes (pull_request) Successful in 10s
Checking-doc / build-and-deploy (pull_request) Successful in 2m2s
deploying-doc / build-and-deploy (pull_request) Successful in 2m2s
2025-04-26 21:25:10 +08:00
670e061545 添加文件变更检查步骤以决定是否执行构建和部署
All checks were successful
Checking-doc / check-file-changes (pull_request) Successful in 9s
Checking-doc / build-and-deploy (pull_request) Successful in 1m57s
2025-04-26 21:16:32 +08:00
ab2afef68a 更改dev action触发器
All checks were successful
Checking-doc / build-and-deploy (pull_request) Successful in 2m3s
2025-04-26 20:43:23 +08:00
ae28e4d3e3 在测试脚本中忽略主分支
All checks were successful
test-doc / build-and-deploy (push) Successful in 2m3s
test-doc / build-and-deploy (pull_request) Successful in 2m2s
2025-04-26 19:46:53 +08:00
962a129a21 Merge pull request '修复静态资源路径错误' (#4) from dev into main
All checks were successful
test-doc / build-and-deploy (push) Successful in 2m3s
Reviewed-on: jjnwxs/jingji_spbook_vue#4
2025-04-26 11:42:47 +00:00
a644faadd4 dev Action添加push触发器
All checks were successful
test-doc / build-and-deploy (push) Successful in 2m9s
deploying-doc / build-and-deploy (pull_request) Successful in 2m4s
2025-04-26 19:33:24 +08:00
5bea607bb7 修复“The bundler or theme option is missing” 2025-04-26 19:30:43 +08:00
10 changed files with 103 additions and 24 deletions

View File

@@ -1,9 +1,9 @@
name: test-doc
run-name: Testing doc — ${{ gitea.run_id }}
name: Checking-doc
run-name: Checking doc — ${{ gitea.run_id }}
on:
workflow_dispatch:
pull_request:
types: [opened]
types: [opened,synchronize]
jobs:
build-and-deploy:
@@ -11,6 +11,7 @@ jobs:
permissions:
contents: read
deployments: write
pull-requests: write
steps:
- name: 🚚 Checkout
uses: actions/checkout@v4
@@ -35,8 +36,26 @@ jobs:
run: pnpm run docs:build
- name: 🚀 Deploy to Cloudflare Pages
id: deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy ./src/.vuepress/dist --project-name=jingji-spbook
command: pages deploy ./src/.vuepress/dist --project-name=jingji-spbook
- name: 💬 Comment on PR
if: github.event_name == 'pull_request'
uses: actions/github-script@v7
with:
script: |
const deployUrl = process.env.DEPLOY_URL;
const commentBody = `🚀 Documentation preview deployed to: [${deployUrl}](${deployUrl})`;
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: commentBody
});
env:
DEPLOY_URL: ${{ steps.deploy.outputs.deployment-url }}

View File

@@ -4,19 +4,29 @@
1. 依赖环境
- Node.js v20.11.0
- volta
1. 建议使用 [volta](https://volta.sh/) 安装 [Node.js](https://nodejs.org/)
2. 建议使用 [volta](https://volta.sh/) 安装 [Node.js](https://nodejs.org/)
```sh
volta install node@20
```
2. 安装依赖
```sh
volta install pnpm
```
3. 安装依赖
```sh
pnpm i
```
3. 本地预览
4. 本地预览
```sh
pnpm run docs:dev
```
4. 构建静态页面。构建完成的网页会保存在 ``src\.vuepress\dist``
5. 构建静态页面。构建完成的网页会保存在 ``src\.vuepress\dist``
```sh
pnpm run docs:build
```
6. 更新依赖
```sh
pnpm dlx vp-update
```

View File

@@ -1,8 +1,13 @@
import { viteBundler } from '@vuepress/bundler-vite'
import { defineUserConfig } from "vuepress"
import theme from "./theme.js"
export default defineUserConfig({
base: "/",
bundler: viteBundler({
viteOptions: {},
vuePluginOptions: {},
}),
lang: "zh-CN",
title: "荆棘鸟文学社",

View File

@@ -4,10 +4,11 @@ export default navbar([
"/",
{
text: '高三特刊',
icon: "book",
children: [
{ text: "2022级特刊", link: '/2022/' },
{ text: '2021级特刊', link: '/2021/' },
{ text: '2020级特刊', link: '/2020/' },
{ text: "2022 级特刊", link: '/2022/' },
{ text: '2021 级特刊', link: '/2021/' },
{ text: '2020 级特刊', link: '/2020/' },
]
}
]);

View File

@@ -8,21 +8,21 @@ export default sidebar({
link: "introduce.md"
},
{
text: "2022级特刊",
text: "2022 级特刊",
prefix: "2022/",
link: "2022/",
children: "structure",
collapsible: true
},
{
text: "2021级特刊",
text: "2021 级特刊",
prefix: "2021/",
link: "2021/",
children: "structure",
collapsible: true
},
{
text: "2020级特刊",
text: "2020 级特刊",
prefix: "2020/",
link: "2020/",
children: "structure",

View File

@@ -1,2 +1,2 @@
// you can change config here
$theme-color: #096dd9 !default;
$theme-color: #096dd9;

View File

@@ -28,15 +28,17 @@ export default hopeTheme({
footer: "高三特刊",
displayFooter: true,
// page meta
metaLocales: {
editLink: "在 Gitee 上查看此页",
},
pageInfo: ["Category", "Tag"],
plugins: {
icon: { assets: "fontawesome" },
git: {
contributors: false,
changelog: {
maxCount: 5,
repoUrl: "https://gitea.lionhao.top/jjnwxs/jingji_spbook",
}
}
},
markdown: {
include: true,

View File

@@ -18,26 +18,36 @@ index: false
## 2021 级特刊制作人员名单
22级社长唐宁谦编辑部
22级副社韦文慧美编部、张奕慧外交部
### 编辑部
22级纪晓凡
23级邓杰升、龙俊燕、陈亚诺、范佳鑫、周思哲、贲黄然、秦艺宁、唐文萱、蒋安雅
### 美编部
21级王浩
22级陶盈妍、古蕙宁、刘云镕、张宁静、陆志澎、欧阳月雪
23级王诗语、伍扬翼、黄翔敏、黄韵涵、蒋丽琴
### 外交部
22级黄睿颖、刘婧蕾、刘宇佟、何静瑶、姚乐伊
23级秦语馨、唐智东
封面绘制:欧阳月雪
封面排版:韦文慧
策划编辑:唐宁谦
文本编辑:王浩、纪晓凡
排版编辑:韦文慧、陶盈妍
采访编辑:黄睿颖
初审:唐宁谦 复审:彭宇嘉 终审:白法琳

View File

@@ -6,3 +6,33 @@ index: false
因篇幅受限未能编入特刊的部分可以在此查看。
如有发现本班内容存在错误/缺漏,请邮件联系 szhhlionhao@qq.com
## 修订日志
### 2025-5-1
- 添加 2022 级高三特刊 staffs
## 2022级特刊制作人员名单
23级社长陈亚诺编辑部
23级副社王诗语美编部、秦语馨外交部
### 编辑部
23级周思哲、蒋安雅、秦艺宁、邓雅欣、唐文萱、范佳鑫、贲黄然
24级黄子涵、胡雅茹、周梦琪、蒋宜含、陶霭帆
### 美编部
21级王浩、文淇乐、龚湘媛、侯李李
22级陶盈妍、刘云镕
23级伍扬翼、黄韵涵、蒋丽琴、李沛宸、黄翔敏、李文芳临桂
### 外交部
23级胡奥婷、林晖扬、李科儒
24级李欣雨、郑颖
封面:伍扬翼
分隔页排版:伍扬翼

View File

@@ -5,6 +5,8 @@ index: false
因篇幅受限未能编入特刊的部分可以在此查看。
## 近期更新
### 2025-5-1
- 添加 2022 级高三特刊 staffs
### 2025.4.25
@@ -17,6 +19,6 @@ index: false
### 2024.2.12
- 迁移 [VuePress Theme Hope](https://theme-hope.vuejs.press/zh/) 至 V2
- 关闭打印按钮/Github 相关信息显示
- 更新页版权信息
- 修复导航栏图标不显示
- 关闭打印按钮以及 Github 相关信息显示
- 更新页版权信息
- 修复浏览器导航栏图标不显示的问题