Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
hantang committed Oct 23, 2024
1 parent 0a46af2 commit d573cc7
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
python-version: "3.x"
# - run: pip install -r requirements.txt
- name: Build Data
run: bash deploy.sh ${{ env.OUT }}
run: bash deploy2.sh ${{ env.OUT }}
- name: Setup pages
uses: actions/configure-pages@v4
- name: Upload artifact
Expand Down
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [[ -d $TARGET ]]; then
fi

echo "Create data"
python scripts/parse.py --input data --out $SOURCE >/dev/null 2>&1
python src/parse.py --input data --out $SOURCE # >/dev/null 2>&1
cp -r $SOURCE $TARGET

echo "Copy assets"
Expand Down
2 changes: 1 addition & 1 deletion deploy2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [[ -d $TARGET ]]; then
fi

echo "Create data"
python scripts/parse.py --input data --out $SOURCE --version v2 # >/dev/null 2>&1
python src/parse.py --input data --out $SOURCE --version v2 # >/dev/null 2>&1

echo "Copy assets"
cp -r data/assets $SOURCE/data/
Expand Down
15 changes: 14 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,17 @@ plugins:
nav:
- 主页: index.md
- 字表:
- list.md
- lists/index.md
- 反查:
- code.md
- 文档:
- wiki/index.md
- wiki/roots.md
- wiki/tutorial.md
- wiki/advanced.md
- wiki/shortcodes.md
- wiki/example.md
- wiki/radical.md
- wiki/strokes.md
- 打字:
- type/index.md
6 changes: 6 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
pandas
mkdocs-material
mkdocs-minify-plugin
mkdocs-table-reader-plugin
# mkdocs-static-i18n
# mkdocs-awesome-pages-plugin
mdx_truly_sane_lists

0 comments on commit d573cc7

Please sign in to comment.