Skip to content

Commit eacec1a

Browse files
committed
BREAKING CHANGE: 更新网站架构
1 parent 9a23b01 commit eacec1a

39 files changed

Lines changed: 1810 additions & 1103 deletions

.github/workflows/deploy.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
name: deploy
2-
on:
3-
push:
4-
branches:
5-
- master
6-
permissions:
7-
contents: write # 允许写入 GitHub Pages
8-
jobs:
9-
deploy:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: Checkout repository
13-
uses: actions/checkout@v4
14-
15-
- name: Set up Python
16-
uses: actions/setup-python@v5
17-
with:
18-
python-version: '3.x'
19-
20-
- name: Install MkDocs and dependencies
21-
run: pip install mkdocs-material
22-
23-
- name: Install MkDocs plugins
24-
run: |
25-
pip install mkdocs-minify-plugin
26-
pip install mkdocs-statistics-plugin
27-
28-
- name: Deploy to GitHub Pages
29-
run: mkdocs gh-deploy --force
1+
name: deploy
2+
on:
3+
push:
4+
branches:
5+
- master
6+
permissions:
7+
contents: write # 允许写入 GitHub Pages
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: '3.x'
19+
20+
- name: Install MkDocs and dependencies
21+
run: pip install mkdocs-material
22+
23+
- name: Install MkDocs plugins
24+
run: |
25+
pip install mkdocs-minify-plugin
26+
pip install mkdocs-statistics-plugin
27+
28+
- name: Deploy to GitHub Pages
29+
run: mkdocs gh-deploy --force

README.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
# jayi0908-trigonometry
2-
3-
这是jayi0908的第一个~~不成熟~~网站,用 MkDocs-material 搭建,汇总了本人的一点学习体会,是心得,更是情怀。
4-
5-
部署网站链接为 [https://jayi0908.github.io/jayi0908-trigonometry](https://jayi0908.github.io/jayi0908-trigonometry)
6-
7-
在仓库根目录下的```replace.mk```为 makefile 文件,负责将 CDN 内容转为本地链接,请在克隆本仓库之后运行此 makefile,不然更新自定义 CSS 等文件后在本地无法预览
8-
9-
(<del>当然如果你愿意一个一个手动换链接的话我没意见</del>)
10-
11-
如果想对本仓库进行贡献并在本地渲染,推荐采取如下步骤:(以Linux环境为例)
12-
13-
(<del>当然如果你很巨请忽略以下菜鸟教程</del>)
14-
15-
- 本地有```Python 3.12.3```及以上版本,在克隆到本地的仓库下创建 Python 虚拟环境
16-
- 分别运行```python3 -m venv <yourvenvname>``````source <yourvenvname>/bin/activate```
17-
- 运行```pip install -r requirements.txt```
18-
- 安装完成后运行```mkdocs serve```
19-
20-
本仓库欢迎有技术更有情怀的 contributors
21-
22-
代码和素材为私人财产,侵权必究
1+
# jayi0908-note
2+
3+
这是jayi0908的第一个~~不成熟~~网站,用 MkDocs-material 搭建,汇总了本人的一点学习体会,是心得,更是情怀。
4+
5+
部署网站链接为 [https://jayi0908.github.io/jayi0908-note](https://jayi0908.github.io/jayi0908-note)
6+
7+
如果想对本仓库进行贡献并在本地渲染,推荐采取如下步骤:(以 Linux 环境为例)
8+
9+
(<del>当然如果你很巨请忽略以下菜鸟教程</del>)
10+
11+
- 本地有```Python 3.12.10```及以上版本,在克隆到本地的仓库下创建 Python 虚拟环境
12+
- 分别运行```python3 -m venv <yourvenvname>``````source <yourvenvname>/bin/activate```
13+
- 运行```pip install -r requirements.txt```
14+
- 安装完成后运行```mkdocs serve```
15+
16+
本仓库欢迎有技术更有情怀的 contributors ~
17+
18+
代码和素材为私人财产,侵权必究

docs/Basic_Cons/tangentcirc.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

docs/Others/others.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/Sine_Law/more_sine.md

Lines changed: 0 additions & 150 deletions
This file was deleted.

docs/Sine_Law/sine.md

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)