Is there a Ruby Yard equivalent in Python?

I use both Python and Ruby, and I really like the Ruby Yard documentation server:

http://yardoc.org/ ,

I would like to know if there is an equivalent in the Python world? "Pydoc -p" is really old, ugly and not usable at all, and it doesn't look like Sphinx and Epydoc support server mode.

Do you know any equivalent?

thank

+3
source share
2 answers

Python , . , , . , pydoc -p, - docstrings, . , , Sphinx . sphinx-server, script :

#!/bin/sh
sphinx-apidoc -F -o "$2" "$1"
cd "$2"
make html
cd _build/html
python -mSimpleHTTPServer 2345

, , , . http://localhost:2345/

(. , - script. . , Python 2.x.)

+3
+1

All Articles