Skip to content

Commit 3c1de03

Browse files
committed
优化文档构建
1 parent ba818cb commit 3c1de03

File tree

7 files changed

+587
-418
lines changed

7 files changed

+587
-418
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
docker pull dpokidov/imagemagick
3939
40-
cd docs/assets
40+
cd docs
4141
wget https://github.com/diguage/open-fonts/releases/download/latest/SourceCodePro-Semibold.otf
4242
BASEDIR=$( pwd )/
4343
@@ -166,7 +166,7 @@ jobs:
166166
# https://stackoverflow.com/a/1103159
167167

168168
- name: Build 🏗
169-
run: mvn clean package
169+
run: mvn clean package -Pasciidoc
170170

171171
- name: Add Reward Qrcode 💰
172172
run: |

cfg/fonts/.gitkeep

Whitespace-only changes.

cfg/fonts/Symbola.ttf

-2.33 MB
Binary file not shown.

docs/assets/diagrams/fonts.puml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@startuml
2+
listfonts
3+
@enduml

docs/assets/tags/docinfo.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<style>
2+
a {
3+
text-decoration: none;
4+
}
5+
6+
p > code, strong > code, div.admonitionblock tr > td.content > code {
7+
color: #d14 !important;
8+
background-color: #f5f5f5 !important;
9+
border: 1px solid #e1e1e8;
10+
white-space: nowrap;
11+
border-radius: 3px;
12+
}
13+
</style>

docs/diagram/ack.puml

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

0 commit comments

Comments
 (0)