0

Is there a way to easily output html documentation based on python docstrings?

If there are, how to do this? I am familiar with HTML/CSS so theming the output is not important, but if there are existing themes, they would help.

I am hoping for a process that can be repeated everytime the code is updated.

Capuchin
  • 3,465
  • 6
  • 28
  • 40

2 Answers2

0

Epydoc that seems to do what you need

pbeedgen
  • 47
  • 1
  • 2
  • Thanks a lot! What I did (virtualenv was) pip install epydoc & generated html output like this: "epydoc --html app.py -o app" (html putput for app.py to a folder called 'app') – Capuchin Dec 27 '14 at 18:40
  • with --css parameter you can select the styling from "blue, default, grayscale, black, green, white" – Capuchin Dec 27 '14 at 18:50
0

Sphinx is another tool that can be used to create documentation for python, it also supports C and C++.

JamesD
  • 2,466
  • 24
  • 40