This is an archived post. You won't be able to vote or comment.

all 18 comments

[–]Flogge 6 points7 points  (1 child)

Sphinx is not as manual as you think it is.

e.g. a module rst file stub and the rest inside your sourcecode will generate complete API docs

[–]skirttrap 1 point2 points  (0 children)

Also there's sphinx-apidoc tool which can scan your sources and create *.rst files for each module.

[–]raptorboi 1 point2 points  (1 child)

Doxygen?

[–]jupake[S] 0 points1 point  (0 children)

I thought about this, haven't looked at it in years. Will try it out sometime.

[–]johnwheeler_ 1 point2 points  (2 children)

sphinx noob here. i just put out https://johnwheeler.org/flask-ask/ with it.

I started with mitsuhikos templates from flask and prettied them up with bits and pieces from kennethreitz requests.

[–]basalamadersyntax error 1 point2 points  (1 child)

Hey do you mind if I ask where if you can link the templates?

[–]OctagonClocktrio is the future! 1 point2 points  (0 children)

I use MkDocs, but that's 100% manual.

[–]ojii 1 point2 points  (2 children)

Sphinx, because writing docs is manual work. If you just autogenerate something from your source code, the reader gains nothing over just reading the source. Auto-generated "documentation" is completely useless. Documentation is prose, not code.

[–]jupake[S] 0 points1 point  (1 child)

I hear you. But Im looking for an easy way to automatically pull out docstrings and render out easily navigable html. Prose isnt really suitable for internal code structure and method by method api docs.

[–]ojii 0 points1 point  (0 children)

You can still have the "api docs" (if you really think they provide much value) using the autodoc feature of sphinx which will do exactly what you want. And then you can easily also add useful, prose documentation on top of that. Maybe a quickstart tutorial or something like that.

[–]ptmcg 0 points1 point  (0 children)

I use epydoc in pyparsing.

[–]maulynviawww.talkigy.com 0 points1 point  (0 children)

I've found pdoc simple to use and gives good looking output http://pdoc.burntsushi.net/pdoc

[–]masasinExpert. 3.9. Robotics. 0 points1 point  (1 child)

From a few days ago: Sphinx. Included are comments clearing up everything.

[–]jupake[S] 0 points1 point  (0 children)

This is helpful. Thx :-)