Skip to content

Commit facf50f

Browse files
committed
Fixed the font loading in mkdocs
Signed-off-by: Toomore Chiang <[email protected]>
1 parent 2cbea73 commit facf50f

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/build_docs.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ name: BuildDocs
33
on:
44
push:
55
branches:
6-
- 'main'
7-
- 'dev_docs'
6+
- "main"
7+
- "dev_docs"
88
paths:
9-
- '.github/workflows/build_docs.yml'
10-
- 'celery_task/**'
11-
- 'docs_dev/**'
12-
- 'main.py'
13-
- 'models/**'
14-
- 'module/**'
15-
- 'structs/**'
16-
- 'view/**'
9+
- ".github/workflows/build_docs.yml"
10+
- "celery_task/**"
11+
- "docs_dev/**"
12+
- "main.py"
13+
- "models/**"
14+
- "module/**"
15+
- "structs/**"
16+
- "view/**"
1717
workflow_dispatch:
1818

1919
jobs:
2020
build:
2121
strategy:
2222
matrix:
23-
os: ['ubuntu-20.04']
24-
python-version: ['3.11']
23+
os: ["ubuntu-20.04"]
24+
python-version: ["3.11"]
2525
runs-on: ${{ matrix.os }}
2626
steps:
2727
- name: Checkout
@@ -67,10 +67,10 @@ jobs:
6767
- name: Load Noto Sans TC font
6868
run: cd docs_dev/.cache/plugin/social; wget https://volunteer.coscup.org/doc/NotoSansTC-Bold.otf;
6969
- name: Load Iansui094 font
70-
run: cd docs_dev/.cache/plugin/social; wget https://volunteer.coscup.org/doc/Iansui094-Regular.ttf;
70+
run: cd docs_dev/.cache/plugin/social; wget https://volunteer.coscup.org/doc/Iansui094-Regular.ttf -O NotoSansTC-Regular.ttf;
7171
- name: Build Docs
7272
env:
73-
PYTHONPATH: '../'
73+
PYTHONPATH: "../"
7474
run: cd docs_dev; poetry run mkdocs -v build;
7575
- name: Upload to S3
7676
env:

0 commit comments

Comments
 (0)