Compare commits
28 Commits
b0056d4d80
...
0703
Author | SHA1 | Date | |
---|---|---|---|
3cf19ed077 | |||
8d453fc3b4 | |||
171dba2d05 | |||
a244e53814 | |||
6e9502614c | |||
dc96fca00d | |||
fb9ed941d0 | |||
18f99870e3 | |||
5da984b9df | |||
ff8ba6bbc7 | |||
f05c95260b | |||
c6ab232e17 | |||
fa6ca66985 | |||
e94dc1b933 | |||
dcacc1feaa | |||
ba7e31022a | |||
ff74063961 | |||
670e061545 | |||
ab2afef68a | |||
ae28e4d3e3 | |||
962a129a21 | |||
a644faadd4 | |||
5bea607bb7 | |||
32d5845b83 | |||
4f3ec01d6e | |||
7c2e9bf671 | |||
f45d1d2a0b | |||
59fed99248 |
@@ -43,4 +43,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
command: pages deploy ./src/.vuepress/dist --project-name=jingji-spbook-vue --branch=main
|
command: pages deploy ./src/.vuepress/dist --project-name=jingji-spbook --branch=main
|
61
.gitea/workflows/dev.yaml
Normal file
61
.gitea/workflows/dev.yaml
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
name: Checking-doc
|
||||||
|
run-name: Checking doc — ${{ gitea.run_id }}
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
pull_request:
|
||||||
|
types: [opened,synchronize]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-and-deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
deployments: write
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- name: 🚚 Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v4
|
||||||
|
name: 🔧Install pnpm
|
||||||
|
with:
|
||||||
|
run_install: false
|
||||||
|
|
||||||
|
- name: 🔧Install Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
cache: 'pnpm'
|
||||||
|
|
||||||
|
- name: 🔧Install dependencies
|
||||||
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: 🔴Build doc
|
||||||
|
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
|
||||||
|
|
||||||
|
- 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 }}
|
18
README.md
18
README.md
@@ -4,19 +4,29 @@
|
|||||||
1. 依赖环境
|
1. 依赖环境
|
||||||
- Node.js v20.11.0
|
- Node.js v20.11.0
|
||||||
- volta
|
- volta
|
||||||
1. 建议使用 [volta](https://volta.sh/) 安装 [Node.js](https://nodejs.org/)
|
|
||||||
|
2. 建议使用 [volta](https://volta.sh/) 安装 [Node.js](https://nodejs.org/)
|
||||||
```sh
|
```sh
|
||||||
volta install node@20
|
volta install node@20
|
||||||
```
|
```
|
||||||
2. 安装依赖
|
```sh
|
||||||
|
volta install pnpm
|
||||||
|
```
|
||||||
|
|
||||||
|
3. 安装依赖
|
||||||
```sh
|
```sh
|
||||||
pnpm i
|
pnpm i
|
||||||
```
|
```
|
||||||
3. 本地预览
|
4. 本地预览
|
||||||
```sh
|
```sh
|
||||||
pnpm run docs:dev
|
pnpm run docs:dev
|
||||||
```
|
```
|
||||||
4. 构建静态页面。构建完成的网页会保存在 ``src\.vuepress\dist``
|
5. 构建静态页面。构建完成的网页会保存在 ``src\.vuepress\dist``
|
||||||
```sh
|
```sh
|
||||||
pnpm run docs:build
|
pnpm run docs:build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
6. 更新依赖
|
||||||
|
```sh
|
||||||
|
pnpm dlx vp-update
|
||||||
|
```
|
@@ -3,11 +3,11 @@ import { defineUserConfig } from "vuepress"
|
|||||||
import theme from "./theme.js"
|
import theme from "./theme.js"
|
||||||
|
|
||||||
export default defineUserConfig({
|
export default defineUserConfig({
|
||||||
|
base: "/",
|
||||||
bundler: viteBundler({
|
bundler: viteBundler({
|
||||||
viteOptions: {},
|
viteOptions: {},
|
||||||
vuePluginOptions: {},
|
vuePluginOptions: {},
|
||||||
}),
|
}),
|
||||||
base: "/jingji/sp/",
|
|
||||||
|
|
||||||
lang: "zh-CN",
|
lang: "zh-CN",
|
||||||
title: "荆棘鸟文学社",
|
title: "荆棘鸟文学社",
|
||||||
|
@@ -4,10 +4,11 @@ export default navbar([
|
|||||||
"/",
|
"/",
|
||||||
{
|
{
|
||||||
text: '高三特刊',
|
text: '高三特刊',
|
||||||
|
icon: "book",
|
||||||
children: [
|
children: [
|
||||||
{ text: "2022级特刊", link: '/2022/' },
|
{ text: "2022 级特刊", link: '/2022/' },
|
||||||
{ text: '2021级特刊', link: '/2021/' },
|
{ text: '2021 级特刊', link: '/2021/' },
|
||||||
{ text: '2020级特刊', link: '/2020/' },
|
{ text: '2020 级特刊', link: '/2020/' },
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
@@ -8,21 +8,21 @@ export default sidebar({
|
|||||||
link: "introduce.md"
|
link: "introduce.md"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "2022级特刊",
|
text: "2022 级特刊",
|
||||||
prefix: "2022/",
|
prefix: "2022/",
|
||||||
link: "2022/",
|
link: "2022/",
|
||||||
children: "structure",
|
children: "structure",
|
||||||
collapsible: true
|
collapsible: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "2021级特刊",
|
text: "2021 级特刊",
|
||||||
prefix: "2021/",
|
prefix: "2021/",
|
||||||
link: "2021/",
|
link: "2021/",
|
||||||
children: "structure",
|
children: "structure",
|
||||||
collapsible: true
|
collapsible: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "2020级特刊",
|
text: "2020 级特刊",
|
||||||
prefix: "2020/",
|
prefix: "2020/",
|
||||||
link: "2020/",
|
link: "2020/",
|
||||||
children: "structure",
|
children: "structure",
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
// you can change config here
|
// you can change config here
|
||||||
$theme-color: #096dd9 !default;
|
$theme-color: #096dd9;
|
||||||
|
@@ -28,15 +28,17 @@ export default hopeTheme({
|
|||||||
footer: "高三特刊",
|
footer: "高三特刊",
|
||||||
|
|
||||||
displayFooter: true,
|
displayFooter: true,
|
||||||
|
pageInfo: ["Category", "Tag"],
|
||||||
// page meta
|
|
||||||
metaLocales: {
|
|
||||||
editLink: "在 Gitee 上查看此页",
|
|
||||||
},
|
|
||||||
|
|
||||||
plugins: {
|
plugins: {
|
||||||
icon: { assets: "fontawesome" },
|
icon: { assets: "fontawesome" },
|
||||||
|
git: {
|
||||||
|
contributors: false,
|
||||||
|
changelog: {
|
||||||
|
maxCount: 5,
|
||||||
|
repoUrl: "https://gitea.lionhao.top/jjnwxs/jingji_spbook",
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
markdown: {
|
markdown: {
|
||||||
include: true,
|
include: true,
|
||||||
|
@@ -18,26 +18,36 @@ index: false
|
|||||||
|
|
||||||
## 2021 级特刊制作人员名单
|
## 2021 级特刊制作人员名单
|
||||||
22级社长:唐宁谦(编辑部)
|
22级社长:唐宁谦(编辑部)
|
||||||
|
|
||||||
22级副社:韦文慧(美编部)、张奕慧(外交部)
|
22级副社:韦文慧(美编部)、张奕慧(外交部)
|
||||||
|
|
||||||
### 编辑部
|
### 编辑部
|
||||||
22级:纪晓凡
|
22级:纪晓凡
|
||||||
|
|
||||||
23级:邓杰升、龙俊燕、陈亚诺、范佳鑫、周思哲、贲黄然、秦艺宁、唐文萱、蒋安雅
|
23级:邓杰升、龙俊燕、陈亚诺、范佳鑫、周思哲、贲黄然、秦艺宁、唐文萱、蒋安雅
|
||||||
|
|
||||||
### 美编部
|
### 美编部
|
||||||
21级:王浩
|
21级:王浩
|
||||||
|
|
||||||
22级:陶盈妍、古蕙宁、刘云镕、张宁静、陆志澎、欧阳月雪
|
22级:陶盈妍、古蕙宁、刘云镕、张宁静、陆志澎、欧阳月雪
|
||||||
|
|
||||||
23级:王诗语、伍扬翼、黄翔敏、黄韵涵、蒋丽琴
|
23级:王诗语、伍扬翼、黄翔敏、黄韵涵、蒋丽琴
|
||||||
|
|
||||||
### 外交部
|
### 外交部
|
||||||
22级:黄睿颖、刘婧蕾、刘宇佟、何静瑶、姚乐伊
|
22级:黄睿颖、刘婧蕾、刘宇佟、何静瑶、姚乐伊
|
||||||
|
|
||||||
23级:秦语馨、唐智东
|
23级:秦语馨、唐智东
|
||||||
|
|
||||||
封面绘制:欧阳月雪
|
封面绘制:欧阳月雪
|
||||||
|
|
||||||
封面排版:韦文慧
|
封面排版:韦文慧
|
||||||
|
|
||||||
策划编辑:唐宁谦
|
策划编辑:唐宁谦
|
||||||
|
|
||||||
文本编辑:王浩、纪晓凡
|
文本编辑:王浩、纪晓凡
|
||||||
|
|
||||||
排版编辑:韦文慧、陶盈妍
|
排版编辑:韦文慧、陶盈妍
|
||||||
|
|
||||||
采访编辑:黄睿颖
|
采访编辑:黄睿颖
|
||||||
|
|
||||||
初审:唐宁谦 复审:彭宇嘉 终审:白法琳
|
初审:唐宁谦 复审:彭宇嘉 终审:白法琳
|
@@ -6,3 +6,33 @@ index: false
|
|||||||
因篇幅受限未能编入特刊的部分可以在此查看。
|
因篇幅受限未能编入特刊的部分可以在此查看。
|
||||||
|
|
||||||
如有发现本班内容存在错误/缺漏,请邮件联系 szhhlionhao@qq.com
|
如有发现本班内容存在错误/缺漏,请邮件联系 szhhlionhao@qq.com
|
||||||
|
|
||||||
|
## 修订日志
|
||||||
|
### 2025-5-1
|
||||||
|
- 添加 2022 级高三特刊 staffs
|
||||||
|
|
||||||
|
## 2022级特刊制作人员名单
|
||||||
|
23级社长:陈亚诺(编辑部)
|
||||||
|
|
||||||
|
23级副社:王诗语(美编部)、秦语馨(外交部)
|
||||||
|
|
||||||
|
### 编辑部
|
||||||
|
23级:周思哲、蒋安雅、秦艺宁、邓雅欣、唐文萱、范佳鑫、贲黄然
|
||||||
|
|
||||||
|
24级:黄子涵、胡雅茹、周梦琪、蒋宜含、陶霭帆
|
||||||
|
|
||||||
|
### 美编部
|
||||||
|
21级:王浩、文淇乐、龚湘媛、侯李李
|
||||||
|
|
||||||
|
22级:陶盈妍、刘云镕
|
||||||
|
|
||||||
|
23级:伍扬翼、黄韵涵、蒋丽琴、李沛宸、黄翔敏、李文芳(临桂)
|
||||||
|
|
||||||
|
### 外交部
|
||||||
|
23级:胡奥婷、林晖扬、李科儒
|
||||||
|
|
||||||
|
24级:李欣雨、郑颖
|
||||||
|
|
||||||
|
封面:伍扬翼
|
||||||
|
|
||||||
|
分隔页排版:伍扬翼
|
@@ -5,6 +5,8 @@ index: false
|
|||||||
因篇幅受限未能编入特刊的部分可以在此查看。
|
因篇幅受限未能编入特刊的部分可以在此查看。
|
||||||
|
|
||||||
## 近期更新
|
## 近期更新
|
||||||
|
### 2025-5-1
|
||||||
|
- 添加 2022 级高三特刊 staffs
|
||||||
|
|
||||||
### 2025.4.25
|
### 2025.4.25
|
||||||
|
|
||||||
@@ -17,6 +19,6 @@ index: false
|
|||||||
### 2024.2.12
|
### 2024.2.12
|
||||||
|
|
||||||
- 迁移 [VuePress Theme Hope](https://theme-hope.vuejs.press/zh/) 至 V2
|
- 迁移 [VuePress Theme Hope](https://theme-hope.vuejs.press/zh/) 至 V2
|
||||||
- 关闭打印按钮/Github 相关信息显示
|
- 关闭打印按钮以及 Github 相关信息显示
|
||||||
- 更新主页版权信息
|
- 更新首页版权信息
|
||||||
- 修复导航栏图标不显示
|
- 修复浏览器导航栏图标不显示的问题
|
||||||
|
Reference in New Issue
Block a user