首页 > 系统服务 > 详细

mac下sphinx写rst文档

时间:2016-02-26 12:29:54      阅读:276      评论:0      收藏:0      [点我收藏+]
# 安装pip
sudo easy_install pip  

# 安装sphinx 
pip install sphinx 

# 初始化sphinx环境
sphinx-quickstart   # 可以一路默认

#  编辑index.rst,只写入以下内容
用Sphinx编写技术文档
===================

使用场景
--------

# 生成html,本地9527端口查看
make html # make html -I test/  # 可以使用-I指定目录
python -m SimpleHTTPServer 9527


参考链接

http://pm.readthedocs.org/zh_CN/latest/doc/sphinx.html

本文出自 “the-way-to-cloud” 博客,请务必保留此出处http://iceyao.blog.51cto.com/9426658/1745216

mac下sphinx写rst文档

原文:http://iceyao.blog.51cto.com/9426658/1745216

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!