首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
pydoc生成的網頁着實難看, 有没有功能類似但更加美觀的替代品?
013231
·
2012 年 10 月 20 日
· 3910 次点击
这是一个创建于 4831 天前的主题,其中的信息可能已经有所发展或是发生改变。
類似
美觀
網頁
6 条回复
•
1970-01-01 08:00:00 +08:00
1
dingstyle
2012 年 10 月 20 日
sphinx
2
ratazzi
2012 年 10 月 20 日
1
sphinx 然后找个好看的 theme,比如:
https://github.com/lepture/flask-sphinx-themes
3
013231
OP
2012 年 10 月 20 日
@
dingstyle
@
ratazzi
剛剛看了下教程, 雖說sphinx也可以自動生成文档, 但比起pydoc還是麻煩的多呀.
`pydoc -p port`就可以看文档了(我只是爲了看文档), sphinx生成文档前還要各種配置. 有更簡單的方案嗎?
4
lowstz
2012 年 10 月 20 日
直接pydoc module_name 像man手册一样看不行吗?
5
013231
OP
2012 年 10 月 20 日
@
lowstz
跳轉没有在網頁裏點鏈接方便.
6
dingstyle
2012 年 10 月 20 日
1
@
013231
自动生成的话可以看一下sphinx-apidoc:
http://sphinx.pocoo.org/man/sphinx-apidoc.html?highlight=apidoc
关于
·
帮助文档
·
自助推广系统
·
博客
·
API
·
FAQ
·
Solana
·
2646 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms ·
UTC 07:02
·
PVG 15:02
·
LAX 23:02
·
JFK 02:02
♥ Do have faith in what you're doing.
❯