Skip to content

Commit

Permalink
use static lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiwen-Zhu committed Jul 13, 2024
1 parent 1b9cd20 commit acaf09f
Show file tree
Hide file tree
Showing 6 changed files with 16,821 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/compilation/compile_index.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from sys import stdout
from shutil import copytree
from jinja2 import Environment
from .utils import *

Expand All @@ -7,6 +8,7 @@ def compile_index(env: Environment, output_path: Path):
print("编译索引...", end=' ')
stdout.flush()

copytree(Path("src", "static"), output_path / 'static')
render_page(env, 'index.html', output_path, '{}史.html'.format(env.globals['name']))

print("完成")
Expand Down
22 changes: 22 additions & 0 deletions src/static/echarts4.7.0.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/static/element-plus2.7.7.index.css

Large diffs are not rendered by default.

72 changes: 72 additions & 0 deletions src/static/element-plus2.7.7.index.full.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit acaf09f

Please sign in to comment.