一个项目模板基于cookiecutter
pip install cookiecutter
cookiecutter https://github.com/yishenggudou/cookiecutter-sphinx-doc.git(python3) ➜ /tmp cookiecutter https://github.com/yishenggudou/cookiecutter-sphinx-doc.git
You've downloaded /Users/timgerk/.cookiecutters/cookiecutter-sphinx-doc before. Is it okay to delete and re-download it? [yes]: yes
project []: simple doc project
project_slug []: sdp
book_title []: 项实例项目
author []: 作者
version [0.0.1]:
release [0.0.1]:
description []: 长的简介
src []: docs然后进入docs 看到
(python3) ➜ docs tree
.
├── Makefile
├── conf.py
├── index.rst
├── intro.md
├── make.bat
├── plantuml.jar
├── releasenotes.py
├── test.rst
└── topdf.sh
0 directories, 9 filesmake htmlpip install -r requirements.txt
./topdf.sh文件实例 pdf实例文件
- 支持markdown
- 支持planuml
- pdf中文支持
测试仅在mac环境下验证了python3 建议2的用户 virtualenv 到 3
