zhibaixiao.github.io

teedoc 网站模板

**中文 README English README**

此模板使用于 teedoc: teedoc.neucrack.comteedoc.github.io learn more

快速开始

WindowsmacOS, 从 python.org 下载安装包安装

Linux, 如 Ubuntu:

sudo apt install python3 python3-pip

这条命令会 安装 teedoc 主程序

pip3 install teedoc
mkdir my_site
cd my_site
teedoc init

或者

teedoc -d my_site init

这条命令会 安装文档需要的插件(在site_config.json里设置)

cd my_site
teedoc install
teedoc serve

然后浏览器访问 http://127.0.0.1:2333

如果只需要构建生成网页:

teedoc build

几分钟内在 github pages 服务上创建你的网站

基于模板创建仓库

github use template

之后使用git clone 你的仓库地址就可以克隆到本地了

设置 pages 服务

action status

如果有错误, 可以按照下图点进去查看错误日志: error0 error