python3xiaobaike_2020/build_book.bat
2025-04-20 23:22:14 +08:00

33 lines
678 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
rem 作者:雪山凌狐
rem 网址http://fox-9.com
rem 修订时间2022-09-14
rem 写书好伴侣一键生成编译好的gitbook
rem 启动utf-8编码页输出中文不乱码
chcp 65001
echo 删除旧的编译目录...
rd/s/q python3xiaobaike
echo ====================
echo 自动生成目录中...
python auto_catalog.py
echo ====================
echo 编译生成book中...
call gitbook build
echo ====================
echo 删除多余的markdown文件中...
python delete_extra_md.py
echo ====================
echo 修改book目录名中...
ren _book python3xiaobaike
echo ====================
echo 运行完成!感谢您的使用!
pause