Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Producing documentation for Python classes [closed]

I'm about to start a project where I will be the only one doing actual code and two less experienced programmers (scary to think of myself as experienced!) will be watching and making suggestions on the program in general.

Is there a good (free) system that I can use to provide documentation for classes and functions based on the code I've written? It'd likely help them a lot in getting to grips with the structure of the data.

like image 558
Teifion Avatar asked Dec 23 '08 18:12

Teifion


People also ask

Can Doxygen be used for Python?

Doxygen: It is not the tool of choice for most Python projects. But if you have to deal with other related projects written in C or C++ it could make sense. For this you can improve the integration between Doxygen and Python using doxypypy. Sphinx: The defacto tool for documenting a Python project.

How do you contribute to Python documentation?

If you would like to be more involved with documentation, consider subscribing to the [email protected] mailing list. The issue tracker sends new documentation issues to this mailing list, and, less frequently, the list receives some directly mailed bug reports.


1 Answers

I have used epydoc to generate documentation for Python modules from embedded docstrings. It's pretty easy to use and generates nice looking output in multiple formats.

like image 140
Greg Hewgill Avatar answered Nov 11 '22 17:11

Greg Hewgill